mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-12 03:36:38 +00:00
In dts.cmake, build shield list. For each shield, check if associate KCONFIG is enabled and if it is, add matching files to following new cmake variables: -DTC_SHIELD_OVERLAY_FILE -DTC_SHIELD_FIXUP Then, consume these variables when needed. Shield overlay is conceived as the very first overlay applied to the board dts. It intends to build a new board that should then behave as any other board versus common or user's overlay. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
36 lines
786 B
Plaintext
36 lines
786 B
Plaintext
|
|
config BOARD_DEPRECATED
|
|
string
|
|
help
|
|
This hidden option is set in the board configuration and indicates
|
|
the Zephyr release that the board configuration will be removed.
|
|
When set, any build for that board will generate a clearly visible
|
|
deprecation warning.
|
|
|
|
config QEMU_TARGET
|
|
bool
|
|
help
|
|
Mark all QEMU targets with this variable for checking whether we are
|
|
running in an emulated environment.
|
|
|
|
# Note: $BOARD_DIR might be a glob pattern
|
|
|
|
choice
|
|
prompt "Board Selection"
|
|
source "$(BOARD_DIR)/Kconfig.board"
|
|
endchoice
|
|
|
|
|
|
menu "Board Options"
|
|
# There might not be any board options, hence the optional source
|
|
osource "$(BOARD_DIR)/Kconfig"
|
|
endmenu
|
|
|
|
menu "Shields"
|
|
source "boards/shields/Kconfig"
|
|
endmenu
|
|
|
|
menu "Shields"
|
|
source "boards/shields/*/Kconfig.shield"
|
|
endmenu
|