eea73e13bd
Simulated NRF boards based on the POSIX ARCH cannot directly use the current SOC_*NRF options as these pull options from the ARM CPU and other peripherals. This commit adds a new set of hidden SOC_COMPATIBLE_* options to be selected both by the real SOCs and the simulated ones. In this manner we can have the common code depend on the SOC_COMPATIBLE* options instead of the current ones where neccessary. Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com> (f) arm kconfig
32 lines
574 B
Plaintext
32 lines
574 B
Plaintext
|
|
choice
|
|
prompt "SoC/CPU/Configuration Selection"
|
|
|
|
source "$(SOC_DIR)/$(ARCH)/*/Kconfig.soc"
|
|
|
|
endchoice
|
|
|
|
menu "Hardware Configuration"
|
|
osource "$(SOC_DIR)/$(ARCH)/Kconfig"
|
|
osource "$(SOC_DIR)/$(ARCH)/*/Kconfig"
|
|
|
|
|
|
module = SOC
|
|
module-str = SOC
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endmenu
|
|
|
|
# The helper symbols below are put here due to an unusual setup: The simulated
|
|
# nrf52_bsim board uses the POSIX arch, but is compatible with Nordic ARM
|
|
# boards
|
|
|
|
config SOC_COMPATIBLE_NRF
|
|
bool
|
|
|
|
config SOC_COMPATIBLE_NRF52X
|
|
bool
|
|
|
|
config SOC_COMPATIBLE_NRF52832
|
|
bool
|