...
PR-5712 has refactored board common logic. BOARD_SAMV7_COMMON and asd asdsdBOARD_STM32_COMMON options are removed and a new ARCH_BOARD_COMMON is introduced.
All in-tree boards have been updated.
NuttX users developing their own out-of-tree boards need to replace "CONFIG_BOARD_SAMV7_COMMON=y" and "CONFIG_BOARD_STM32_COMMON=y" to "CONFIG_ARCH_BOARD_COMMON=y" in defconfig files. Also for some out-of-tree boards the compilation may fail with next error messages:
Code Block | ||
---|---|---|
| ||
make[2]: *** No rule to make target 'libboard.a'. Stop.
Makefile:139: recipe for target 'board/libboard.a' failed
make[1]: *** [board/libboard.a] Error 2
tools/Unix.mk:509: recipe for target 'nuttx' failed |
In this case the out-of-tree board actually relies on in-tree boards common folder structure. To overcome the build error there are two possible options:
- Add "CONFIG_ARCH_BOARD_COMMON=y" to defconfig file (this will restore parity with previous NuttX release)
- Rename "src/Make.defs" → "src/Makefile" in out-of-tree board directory and append "include $(TOPDIR)/boards/Board.mk" to "src/Makefile".
Refactored Arch Headers
PR-5720 has refactored architectural headers affecting all ARM platforms: arm_arch.h
has been removed and its contents merged into arm_internal.h
. Previously, most low-level modules in arch/arm/*
and boards/arm/*
needed to include both headers. Following the refactor, only arm_internal.h
is needed.
...