Skip to content

Commit

Permalink
boards: nrf91x: adjust some default values for sysbuild
Browse files Browse the repository at this point in the history
Add more boards to use secure boot for asset tracker v2 and use
external flash on the boards that we support.

Also adjusts use of external flash in nrf_cloud_rest_fota sample to
the previously configured boards.

Signed-off-by: Gregers Gram Rygg <[email protected]>
  • Loading branch information
gregersrygg committed May 27, 2024
1 parent 4233477 commit ed0bd01
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 6 additions & 2 deletions applications/asset_tracker_v2/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ choice BOOTLOADER
endchoice

config SECURE_BOOT
default y if BOARD_NRF9160DK_NRF9160_NS
default y if BOARD_NRF9160DK_NRF9160_NS \
|| BOARD_NRF9151DK_NRF9151_NS \
|| BOARD_NRF9161DK_NRF9161_NS \
|| BOARD_THINGY91X_NRF9151_NS

config SECURE_BOOT_APPCORE
default y if BOARD_NRF9160DK_NRF9160_NS
default y if SECURE_BOOT

config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY
default y if BOARD_THINGY91X_NRF9151_NS
default y if BOARD_NRF9151DK_NRF9151_NS || BOARD_NRF9161DK_NRF9161_NS
default y if BOARD_NRF9160DK_NRF9160_NS \
&& "${BOARD_REVISION}" != "0.1.0" \
Expand Down
10 changes: 9 additions & 1 deletion samples/cellular/nrf_cloud_rest_fota/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@

config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY
default y if BOARD_NRF9151DK_NRF9151_NS || BOARD_NRF9161DK_NRF9161_NS
default y if BOARD_NRF9160DK_NRF9160_NS && "${BOARD_REVISION}" = "0.14.0"
default y if BOARD_NRF9160DK_NRF9160_NS \
&& "${BOARD_REVISION}" != "0.1.0" \
&& "${BOARD_REVISION}" != "0.7.0" \
&& "${BOARD_REVISION}" != "0.7.1" \
&& "${BOARD_REVISION}" != "0.8.0" \
&& "${BOARD_REVISION}" != "0.8.2" \
&& "${BOARD_REVISION}" != "0.8.3" \
&& "${BOARD_REVISION}" != "0.8.5" \
&& "${BOARD_REVISION}" != "0.9.0"

source "${ZEPHYR_BASE}/share/sysbuild/Kconfig"

0 comments on commit ed0bd01

Please sign in to comment.