From 0e99b70bcb259379b2faa87f9e2abcaf5de1e7a0 Mon Sep 17 00:00:00 2001 From: Maximilian Deubel Date: Wed, 29 May 2024 14:48:54 +0200 Subject: [PATCH] applications: asset_tracker_v2: sysbuild config This patch adds config for the Thingy: 91 X to atv2 to make it compatible with sysbuild. Signed-off-by: Maximilian Deubel --- applications/asset_tracker_v2/Kconfig.sysbuild | 3 +++ .../asset_tracker_v2/boards/thingy91x_nrf9151_ns.conf | 4 ++++ .../asset_tracker_v2/boards/thingy91x_nrf9151_ns.overlay | 1 + .../sysbuild/mcuboot/boards/thingy91x_nrf9151.conf | 3 +++ 4 files changed, 11 insertions(+) diff --git a/applications/asset_tracker_v2/Kconfig.sysbuild b/applications/asset_tracker_v2/Kconfig.sysbuild index 1dd94979b4f2..d0243825093a 100644 --- a/applications/asset_tracker_v2/Kconfig.sysbuild +++ b/applications/asset_tracker_v2/Kconfig.sysbuild @@ -14,6 +14,9 @@ config SECURE_BOOT config SECURE_BOOT_APPCORE default y if BOARD_NRF9160DK_NRF9160_NS +config WIFI_NRF700X + default y if BOARD_THINGY91X_NRF9151_NS + config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY default y if BOARD_NRF9151DK_NRF9151_NS || BOARD_NRF9161DK_NRF9161_NS default y if BOARD_NRF9160DK_NRF9160_NS \ diff --git a/applications/asset_tracker_v2/boards/thingy91x_nrf9151_ns.conf b/applications/asset_tracker_v2/boards/thingy91x_nrf9151_ns.conf index c4b9e54f0e79..3096f5ef7848 100644 --- a/applications/asset_tracker_v2/boards/thingy91x_nrf9151_ns.conf +++ b/applications/asset_tracker_v2/boards/thingy91x_nrf9151_ns.conf @@ -77,3 +77,7 @@ CONFIG_NET_RX_STACK_SIZE=4096 CONFIG_NET_TC_TX_COUNT=1 CONFIG_NET_MAX_CONTEXTS=5 CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024 + +# Enable external flash +CONFIG_SPI_NOR_SFDP_DEVICETREE=y +CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y diff --git a/applications/asset_tracker_v2/boards/thingy91x_nrf9151_ns.overlay b/applications/asset_tracker_v2/boards/thingy91x_nrf9151_ns.overlay index e46ea2e715ed..56d1de20723c 100644 --- a/applications/asset_tracker_v2/boards/thingy91x_nrf9151_ns.overlay +++ b/applications/asset_tracker_v2/boards/thingy91x_nrf9151_ns.overlay @@ -13,6 +13,7 @@ pressure-sensor = &bme680; iaq-sensor = &bme680; accelerometer = &accelerometer_lp; + ext-flash = &flash_ext; }; }; diff --git a/applications/asset_tracker_v2/sysbuild/mcuboot/boards/thingy91x_nrf9151.conf b/applications/asset_tracker_v2/sysbuild/mcuboot/boards/thingy91x_nrf9151.conf index d8ebd794fa15..5558a0e48d46 100644 --- a/applications/asset_tracker_v2/sysbuild/mcuboot/boards/thingy91x_nrf9151.conf +++ b/applications/asset_tracker_v2/sysbuild/mcuboot/boards/thingy91x_nrf9151.conf @@ -14,3 +14,6 @@ CONFIG_UART_CONSOLE=n CONFIG_MCUBOOT_SERIAL=y CONFIG_MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD=y CONFIG_BOOT_SERIAL_IMG_GRP_IMAGE_STATE=y + +CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y +CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y