Commit 0aa0bc9a authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Carles Cufi
Browse files

boards nrf*bsim: Move common kconfig selection to common place



Reduce a bit the amount of boilerplate by placing common
Kconfig selections in common options.

Signed-off-by: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent 6fee105b
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -17,19 +17,25 @@ endif # SOC_SERIES_BSIM_NRFXX

config SOC_SERIES_BSIM_NRFXX
	bool
	depends on SOC_POSIX
	select NATIVE_LIBRARY
	select SOC_COMPATIBLE_NRF
	select HAS_NRFX
	select HAS_NORDIC_DRIVERS
	select PINCTRL_DYNAMIC if PINCTRL
	help
	  Any NRF simulated SOC with BabbleSim, based on the POSIX arch

config SOC_SERIES_BSIM_NRF52X
	bool
	depends on SOC_SERIES_BSIM_NRFXX
	select SOC_SERIES_BSIM_NRFXX
	select SOC_COMPATIBLE_NRF52X
	help
	  Any NRF52 simulated SOC with BabbleSim, based on the POSIX arch

config SOC_SERIES_BSIM_NRF53X
	bool
	depends on SOC_SERIES_BSIM_NRFXX
	select SOC_SERIES_BSIM_NRFXX
	select SOC_COMPATIBLE_NRF53X
	help
	  Any NRF53 simulated SOC with BabbleSim, based on the POSIX arch

+0 −19
Original line number Diff line number Diff line
@@ -2,49 +2,30 @@

config BOARD_NRF52_BSIM
	bool "NRF52 simulation model"
	select SOC_SERIES_BSIM_NRFXX
	select SOC_SERIES_BSIM_NRF52X
	select SOC_COMPATIBLE_NRF
	select SOC_COMPATIBLE_NRF52X
	select SOC_COMPATIBLE_NRF52833
	select NRF_RTC_TIMER
	select CLOCK_CONTROL
	select HAS_NRFX
	select HAS_NORDIC_DRIVERS
	select NATIVE_LIBRARY
	select PINCTRL_DYNAMIC if PINCTRL
	help
	  Will produce a console Linux process which can be executed natively.
	  It needs the BabbleSim simulator both in compile time and to execute

config BOARD_NRF5340BSIM_NRF5340_CPUNET
	bool "Simulated NRF53 Network core"
	select SOC_SERIES_BSIM_NRFXX
	select SOC_SERIES_BSIM_NRF53X
	select SOC_COMPATIBLE_NRF
	select SOC_COMPATIBLE_NRF53X
	select SOC_COMPATIBLE_NRF5340_CPUNET
	select NRF_RTC_TIMER
	select CLOCK_CONTROL
	select HAS_NRFX
	select HAS_NORDIC_DRIVERS
	select NATIVE_LIBRARY
	help
	  Will produce a console Linux process which can be executed natively.
	  It needs the BabbleSim simulator both in compile time and to execute

config BOARD_NRF5340BSIM_NRF5340_CPUAPP
	bool "Simulated NRF53 Application core"
	select SOC_SERIES_BSIM_NRFXX
	select SOC_SERIES_BSIM_NRF53X
	select SOC_COMPATIBLE_NRF
	select SOC_COMPATIBLE_NRF53X
	select SOC_COMPATIBLE_NRF5340_CPUAPP
	select NRF_RTC_TIMER
	select CLOCK_CONTROL
	select HAS_NRFX
	select HAS_NORDIC_DRIVERS
	select NATIVE_LIBRARY
	help
	  Will produce a console Linux process which can be executed natively.
	  It needs the BabbleSim simulator both in compile time and to execute