nrf5x_bsim: Add helper kconfig symbols for simulated nrf5340
Just like for the nrf52_bsim let's add helper kconfig symbols which can be used to identify we are running in a target that is compatible with the real HW but is not the real HW. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
1de4e73e6d
commit
0e8f97df49
2 changed files with 16 additions and 2 deletions
|
@ -26,3 +26,9 @@ config SOC_SERIES_BSIM_NRF52X
|
||||||
depends on SOC_SERIES_BSIM_NRFXX
|
depends on SOC_SERIES_BSIM_NRFXX
|
||||||
help
|
help
|
||||||
Any NRF52 simulated SOC with BabbleSim, based on the POSIX arch
|
Any NRF52 simulated SOC with BabbleSim, based on the POSIX arch
|
||||||
|
|
||||||
|
config SOC_SERIES_BSIM_NRF53X
|
||||||
|
bool
|
||||||
|
depends on SOC_SERIES_BSIM_NRFXX
|
||||||
|
help
|
||||||
|
Any NRF53 simulated SOC with BabbleSim, based on the POSIX arch
|
||||||
|
|
12
soc/Kconfig
12
soc/Kconfig
|
@ -24,8 +24,7 @@ source "subsys/logging/Kconfig.template.log_config"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
# The helper symbols below are put here due to an unusual setup: The simulated
|
# 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
|
# nrf5x_bsim boards use the POSIX arch, but are compatible with Nordic ARM boards
|
||||||
# boards
|
|
||||||
|
|
||||||
config SOC_COMPATIBLE_NRF
|
config SOC_COMPATIBLE_NRF
|
||||||
bool
|
bool
|
||||||
|
@ -33,9 +32,18 @@ config SOC_COMPATIBLE_NRF
|
||||||
config SOC_COMPATIBLE_NRF52X
|
config SOC_COMPATIBLE_NRF52X
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config SOC_COMPATIBLE_NRF53X
|
||||||
|
bool
|
||||||
|
|
||||||
config SOC_COMPATIBLE_NRF52833
|
config SOC_COMPATIBLE_NRF52833
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config SOC_COMPATIBLE_NRF5340_CPUNET
|
||||||
|
bool
|
||||||
|
|
||||||
|
config SOC_COMPATIBLE_NRF5340_CPUAPP
|
||||||
|
bool
|
||||||
|
|
||||||
#
|
#
|
||||||
# SOC_*_LD: SoC specific Linker script additions
|
# SOC_*_LD: SoC specific Linker script additions
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue