soc: Kconfig: Add options for compatible NRF SOCs
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
This commit is contained in:
parent
553d43002f
commit
eea73e13bd
4 changed files with 16 additions and 0 deletions
13
soc/Kconfig
13
soc/Kconfig
|
@ -16,3 +16,16 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue