Skip to content

Commit e201fb1

Browse files
committed
nrf5x_bsim: Add and choose SOC_COMPATIBLE_BSIM
Add to the SOC_COMPATIBLE options a common option to choose compatibility with a simulated BabbleSim target. Also choose this option for the simulated targets nrf52_bsim and nrf53_cpunet_bsim. Signed-off-by: Aurora Sletnes Bjørlo <[email protected]>
1 parent aa8347a commit e201fb1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

boards/posix/nrf5x_bsim/Kconfig.board

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config BOARD_NRF52_BSIM
77
select SOC_COMPATIBLE_NRF
88
select SOC_COMPATIBLE_NRF52X
99
select SOC_COMPATIBLE_NRF52832
10+
select SOC_COMPATIBLE_BSIM
1011
select CONSOLE_HAS_DRIVER
1112
select NRF_RTC_TIMER
1213
select CLOCK_CONTROL
@@ -35,6 +36,7 @@ config BOARD_NRF53_CPUNET_BSIM
3536
select SOC_COMPATIBLE_NRF
3637
select SOC_COMPATIBLE_NRF53X_CPUNET
3738
select SOC_COMPATIBLE_NRF5340_CPUNET
39+
select SOC_COMPATIBLE_BSIM
3840
select CONSOLE_HAS_DRIVER
3941
select NRF_RTC_TIMER
4042
select CLOCK_CONTROL

soc/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ config SOC_COMPATIBLE_NRF53X_CPUNET
3636
config SOC_COMPATIBLE_NRF5340_CPUNET
3737
bool
3838

39+
config SOC_COMPATIBLE_BSIM
40+
bool
41+
3942
#
4043
# SOC_*_LD: SoC specific Linker script additions
4144
#

0 commit comments

Comments
 (0)