File tree Expand file tree Collapse file tree 4 files changed +37
-2
lines changed
tests/boot/mcuboot_recovery_retention Expand file tree Collapse file tree 4 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 1
1
set (mcuboot_EXTRA_ZEPHYR_MODULES "${CMAKE_CURRENT_LIST_DIR} /test_module" CACHE INTERNAL "test_module directory" )
2
+
3
+ if (DEFINED mcuboot_TARGET_OVERLAY_CONFIG )
4
+ list (APPEND mcuboot_OVERLAY_CONFIG "${CMAKE_CURRENT_LIST_DIR} /sysbuild/mcuboot/${mcuboot_TARGET_OVERLAY_CONFIG} " )
5
+ list (REMOVE_DUPLICATES mcuboot_OVERLAY_CONFIG )
6
+ set (mcuboot_OVERLAY_CONFIG "${mcuboot_OVERLAY_CONFIG} " CACHE INTERNAL "" )
7
+ endif ()
8
+
9
+ if (DEFINED mcuboot_TARGET_DTC_OVERLAY_FILE )
10
+ list (APPEND mcuboot_DTC_OVERLAY_FILE "${CMAKE_CURRENT_LIST_DIR} /sysbuild/mcuboot/${mcuboot_TARGET_DTC_OVERLAY_FILE} " )
11
+ list (REMOVE_DUPLICATES mcuboot_DTC_OVERLAY_FILE )
12
+ set (mcuboot_DTC_OVERLAY_FILE "${mcuboot_DTC_OVERLAY_FILE} " CACHE INTERNAL "" )
13
+ endif ()
Original file line number Diff line number Diff line change
1
+ #
2
+ # Copyright (c) 2023 Nordic Semiconductor ASA
3
+ #
4
+ # SPDX-License-Identifier: Apache-2.0
5
+ #
6
+ CONFIG_RETAINED_MEM_NRF_GPREGRET=n
7
+ CONFIG_RETAINED_MEM_ZEPHYR_RAM=y
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: Apache-2.0 */
2
+ #include "../../../boards/nrf52840dk_nrf52840_mem.overlay"
3
+
4
+ / {
5
+ chosen {
6
+ zephyr,code-partition = &boot_partition;
7
+ };
8
+ };
9
+
10
+ &zephyr_udc0 {
11
+ cdc_acm_uart0 {
12
+ compatible = "zephyr,cdc-acm-uart";
13
+ };
14
+ };
Original file line number Diff line number Diff line change @@ -30,8 +30,10 @@ tests:
30
30
mcuboot.recovery.retention.mem :
31
31
platform_allow : nrf52840dk_nrf52840
32
32
extra_args :
33
- - " 'OVERLAY_CONFIG=\" nrf52840dk_nrf52840_mem.conf\" '"
34
- - " 'DTC_OVERLAY_FILE=\" boards/nrf52840dk_nrf52840_mem.overlay\" '"
33
+ - OVERLAY_CONFIG="boards/nrf52840dk_nrf52840_mem.conf"
34
+ - DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840_mem.overlay"
35
+ - mcuboot_TARGET_OVERLAY_CONFIG="boards/nrf52840dk_nrf52840_mem.conf"
36
+ - mcuboot_TARGET_DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840_mem.overlay"
35
37
tags :
36
38
- mcuboot
37
39
- sysbuild
You can’t perform that action at this time.
0 commit comments