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:
Alberto Escolar Piedras 2023-09-12 09:43:08 +02:00 committed by Carles Cufí
parent 1de4e73e6d
commit 0e8f97df49
2 changed files with 16 additions and 2 deletions

View file

@ -26,3 +26,9 @@ config SOC_SERIES_BSIM_NRF52X
depends on SOC_SERIES_BSIM_NRFXX
help
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

View file

@ -24,8 +24,7 @@ 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
# nrf5x_bsim boards use the POSIX arch, but are compatible with Nordic ARM boards
config SOC_COMPATIBLE_NRF
bool
@ -33,9 +32,18 @@ config SOC_COMPATIBLE_NRF
config SOC_COMPATIBLE_NRF52X
bool
config SOC_COMPATIBLE_NRF53X
bool
config SOC_COMPATIBLE_NRF52833
bool
config SOC_COMPATIBLE_NRF5340_CPUNET
bool
config SOC_COMPATIBLE_NRF5340_CPUAPP
bool
#
# SOC_*_LD: SoC specific Linker script additions
#