Skip to content

Commit

Permalink
kconfig: Use SOC_NRF54H20_ENGB
Browse files Browse the repository at this point in the history
Certain Kconfigs were only enabled for or in relation to nRF54H20 EngC,
which is the default chip revision. Ensure that the same settings are
available on EngB.

Signed-off-by: Grzegorz Swiderski <[email protected]>
  • Loading branch information
57300 committed Oct 23, 2024
1 parent 4d6b85d commit 918e612
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion applications/machine_learning/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY

config ML_APP_INCLUDE_REMOTE_IMAGE
bool "Include remote image build"
depends on SOC_NRF54H20_CPUAPP
depends on SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP

config ML_APP_REMOTE_BOARD
string "The name of the board to be used by remote image"
Expand Down
2 changes: 1 addition & 1 deletion applications/nrf_desktop/src/modules/Kconfig.dvfs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

menuconfig DESKTOP_DVFS
bool "DVFS module"
depends on SOC_NRF54H20_CPUAPP
depends on SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP
default y
help
This option enable DVFS module which switches frequency and voltage according
Expand Down
4 changes: 2 additions & 2 deletions samples/benchmarks/coremark/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
menu "CoreMark sample"

config APP_MODE_FLASH_AND_RUN
bool "Run CoreMark benchmark on start up" if !SOC_NRF54H20_CPUPPR
default y if SOC_NRF54H20_CPUPPR
bool "Run CoreMark benchmark on start up" if !(SOC_NRF54H20_CPUPPR || SOC_NRF54H20_ENGB_CPUPPR)
default y if SOC_NRF54H20_CPUPPR || SOC_NRF54H20_ENGB_CPUPPR
help
If enabled, CoreMark will start execution immediately after the CPU starts up.
It also disables LEDs and buttons.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

config APP_RPC
bool "Enables application module features requiring interaction between cores"
depends on SOC_NRF5340_CPUNET || SOC_NRF5340_CPUAPP || SOC_NRF54H20_CPUAPP || SOC_NRF54H20_CPURAD
depends on SOC_NRF5340_CPUNET || SOC_NRF5340_CPUAPP || SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP || SOC_NRF54H20_CPURAD || SOC_NRF54H20_ENGB_CPURAD
select NRF_RPC
select NRF_RPC_CBOR
3 changes: 2 additions & 1 deletion subsys/bluetooth/controller/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ config BT_LL_SOFTDEVICE
select BT_CTLR_SUBRATING_SUPPORT
select BT_LL_SOFTDEVICE_HEADERS_INCLUDE
depends on (SOC_SERIES_BSIM_NRFXX || SOC_SERIES_NRF52X || SOC_COMPATIBLE_NRF5340_CPUNET ||\
SOC_NRF54H20_CPURAD || SOC_SERIES_NRF54LX)
SOC_NRF54H20_CPURAD || SOC_NRF54H20_ENGB_CPURAD || SOC_SERIES_NRF54LX)
depends on DT_HAS_NORDIC_BT_HCI_SDC_ENABLED
help
Use SoftDevice Link Layer implementation.
Expand Down Expand Up @@ -318,6 +318,7 @@ choice BT_LL_SOFTDEVICE_VARIANT
BT_ISO || \
SOC_COMPATIBLE_NRF5340_CPUNET || \
SOC_NRF54H20_CPURAD || \
SOC_NRF54H20_ENGB_CPURAD || \
SOC_SERIES_NRF54LX)
default BT_LL_SOFTDEVICE_CENTRAL if BT_OBSERVER
default BT_LL_SOFTDEVICE_PERIPHERAL if BT_BROADCASTER
Expand Down
4 changes: 2 additions & 2 deletions subsys/esb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ config ESB_NEVER_DISABLE_TX

config ESB_FAST_SWITCHING
select EXPERIMENTAL
depends on !ESB_NEVER_DISABLE_TX && SOC_NRF54H20_CPURAD
depends on !ESB_NEVER_DISABLE_TX && (SOC_NRF54H20_CPURAD || SOC_NRF54H20_ENGB_CPURAD)
bool "Fast radio TX/RX and RX/TX switching [EXPERIMENTAL]"
help
This option enables fast switching between transmit (TX) and receive (RX) modes
Expand All @@ -164,7 +164,7 @@ config ESB_FAST_SWITCHING

config ESB_FAST_CHANNEL_SWITCHING
select EXPERIMENTAL
depends on SOC_NRF54H20_CPURAD
depends on SOC_NRF54H20_CPURAD || SOC_NRF54H20_ENGB_CPURAD
bool "Fast radio channel switching [EXPERIMENTAL]"
help
This option enables fast radio channel switching.
Expand Down
8 changes: 4 additions & 4 deletions subsys/sdfw_services/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ menu "SDFW Service Framework"

config SSF_CLIENT_DOMAIN_ID
int
default 2 if SOC_NRF54H20_CPUAPP || SOC_NRF9280_CPUAPP
default 3 if SOC_NRF54H20_CPURAD || SOC_NRF9280_CPURAD
default 2 if SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP || SOC_NRF9280_CPUAPP
default 3 if SOC_NRF54H20_CPURAD || SOC_NRF54H20_ENGB_CPURAD || SOC_NRF9280_CPURAD
default 0

config SSF_CLIENT_NRF_RPC_GROUP_NAME
string
default "app" if SOC_NRF54H20_CPUAPP || SOC_NRF9280_CPUAPP
default "rad" if SOC_NRF54H20_CPURAD || SOC_NRF9280_CPURAD
default "app" if SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP || SOC_NRF9280_CPUAPP
default "rad" if SOC_NRF54H20_CPURAD || SOC_NRF54H20_ENGB_CPURAD || SOC_NRF9280_CPURAD
default ""

config SSF_CLIENT_SYS_INIT
Expand Down
2 changes: 1 addition & 1 deletion sysbuild/Kconfig.appcore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

config SUPPORT_APPCORE
bool
default y if (SOC_NRF5340_CPUNET || SOC_NRF54H20_CPURAD)
default y if (SOC_NRF5340_CPUNET || SOC_NRF54H20_CPURAD || SOC_NRF54H20_ENGB_CPURAD)

config APPCORE_REMOTE_BOARD_TARGET_CPUCLUSTER
string
Expand Down
4 changes: 2 additions & 2 deletions sysbuild/Kconfig.netcore
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ config EXTERNAL_CONFIGURED_NETCORE

config SUPPORT_NETCORE
bool
default y if (SOC_NRF5340_CPUAPP || SOC_NRF54H20_CPUAPP)
default y if (SOC_NRF5340_CPUAPP || SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP)

config NETCORE_REMOTE_BOARD_TARGET_CPUCLUSTER
string
default "cpunet" if SOC_NRF5340_CPUAPP
default "cpurad" if SOC_NRF54H20_CPUAPP
default "cpurad" if SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP

config NETCORE_REMOTE_DOMAIN
string
Expand Down
4 changes: 2 additions & 2 deletions sysbuild/Kconfig.pprcore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

config SUPPORT_PPRCORE
bool
default y if SOC_NRF54H20_CPUAPP
default y if SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP

config PPRCORE_REMOTE_BOARD_TARGET_CPUCLUSTER
string
default "cpuppr" if SOC_NRF54H20_CPUAPP
default "cpuppr" if SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP

0 comments on commit 918e612

Please sign in to comment.