You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "aviralgarg05 (via GitHub)" <gi...@apache.org> on 2026/04/30 06:49:50 UTC
[PR] boards/arm/stm32: add nucleo-f412zg ostest and coremark configs. [nuttx]
aviralgarg05 opened a new pull request, #18823:
URL: https://github.com/apache/nuttx/pull/18823
## Summary
This change addresses issue `#18775` by adding two dedicated application-focused defconfigs for `boards/arm/stm32/nucleo-f412zg`:
- `ostest`
- `coremark`
The goal is to give `nucleo-f412zg` the same kind of focused test and benchmark entry points that several other boards already provide, without disturbing the existing `nsh` configuration.
The new `ostest` defconfig keeps the board’s current NSH-oriented setup intact and enables the runtime self-test application through `CONFIG_TESTING_OSTEST=y`. This makes it easier to build a validation image for scheduler, synchronization, and general OS regression testing on this board.
The new `coremark` defconfig provides a dedicated benchmark build that starts directly in `coremark_main` instead of booting into NSH. It also uses a benchmark-oriented `-O3` build profile so the configuration behaves like other dedicated CoreMark board targets already present in the tree.
The change is intentionally scoped to board configuration only. No board logic, drivers, application sources, or common STM32 code paths were modified.
References:
- Issue: #18775
## Impact
This change affects only the `nucleo-f412zg` board configuration set.
- Adds `boards/arm/stm32/nucleo-f412zg/configs/ostest/defconfig`
- Adds `boards/arm/stm32/nucleo-f412zg/configs/coremark/defconfig`
User impact:
- Users now have a direct way to build `ostest` for `nucleo-f412zg` without manually reworking the existing `nsh` config.
- Users now have a dedicated `coremark` benchmark config for this board that boots straight into the benchmark.
Build impact:
- No existing defconfig is changed.
- No default behavior is changed for current `nucleo-f412zg` users.
- The change only extends the set of available board configurations.
Hardware/runtime impact:
- `ostest` preserves the current board-oriented baseline used by the existing NSH configuration and layers the self-test application on top of it.
- `coremark` uses the same board family setup but trims the configuration down to a direct benchmark-oriented image.
Documentation impact:
- No documentation update is required because this change does not introduce new board support or new runtime functionality. It adds board defconfigs only.
Compatibility/security impact:
- No API or ABI impact.
- No compatibility break for existing configurations.
- No security-sensitive behavior added or changed.
## Testing
Host environment:
- Host OS: macOS arm64
- Toolchain: Arm GNU Toolchain `15.2.Rel1`
Board/configurations verified:
- `nucleo-f412zg:ostest`
- `nucleo-f412zg:coremark`
Verification performed with GNU Make:
```bash
make distclean
./tools/configure.sh nucleo-f412zg:ostest
make olddefconfig
make -j8
```
```bash
make distclean
./tools/configure.sh nucleo-f412zg:coremark
make olddefconfig
make -j8
```
Verification performed with CMake/Ninja:
```bash
cmake -S . -B build-ostest-cmake -DBOARD_CONFIG=nucleo-f412zg:ostest -GNinja
cmake --build build-ostest-cmake -j8
```
```bash
cmake -S . -B build-coremark-cmake -DBOARD_CONFIG=nucleo-f412zg:coremark -GNinja
cmake --build build-coremark-cmake -j8
```
Additional validation:
```bash
git diff --check
```
Build results:
- `nucleo-f412zg:ostest` built successfully with GNU Make
- `nucleo-f412zg:coremark` built successfully with GNU Make
- `nucleo-f412zg:ostest` built successfully with CMake/Ninja
- `nucleo-f412zg:coremark` built successfully with CMake/Ninja
Notes:
- The verification in this change is build validation on the target board configurations.
- No unrelated files were modified as part of the change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] boards/arm/stm32: add nucleo-f412zg ostest and coremark configs. [nuttx]
Posted by "cederom (via GitHub)" <gi...@apache.org>.
cederom commented on PR #18823:
URL: https://github.com/apache/nuttx/pull/18823#issuecomment-4366465587
Big thank you @aviralgarg05 :-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] boards/arm/stm32: add nucleo-f412zg ostest and coremark configs. [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #18823:
URL: https://github.com/apache/nuttx/pull/18823
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org