tests/subsys/dfu/*: Switch to native_sim

Switch from native_posix to native_sim as default test platform
And switch overlays to native_sim.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-11-20 14:46:22 +01:00 committed by Carles Cufí
parent b7fa935a0d
commit 3d702e6ffa
6 changed files with 20 additions and 51 deletions

View File

@ -1,18 +1,15 @@
common:
platform_allow:
- nrf52840dk_nrf52840
- native_posix
- native_posix_64
- native_sim
- native_sim_64
integration_platforms:
- nrf52840dk_nrf52840
tests:
dfu.image_util:
platform_allow:
- nrf52840dk_nrf52840
- native_posix
- native_posix_64
tags: dfu_image_util
integration_platforms:
- nrf52840dk_nrf52840
dfu.image_util.progressive:
extra_args: OVERLAY_CONFIG=progressively_overlay.conf
platform_allow:
- nrf52840dk_nrf52840
- native_posix
- native_posix_64
tags: dfu_image_util
integration_platforms:
- nrf52840dk_nrf52840

View File

@ -4,6 +4,8 @@ tests:
- nrf52840dk_nrf52840
- native_posix
- native_posix_64
- native_sim
- native_sim_64
tags: dfu_mcuboot
integration_platforms:
- nrf52840dk_nrf52840

View File

@ -1,37 +0,0 @@
/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
/delete-node/ &scratch_partition;
/delete-node/ &storage_partition;
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0x0000C000>;
};
slot0_partition: partition@c000 {
label = "image-0";
reg = <0x0000C000 0x00069000>;
};
slot1_partition: partition@75000 {
label = "image-1";
reg = <0x00075000 0x00069000>;
};
slot2_partition: partition@DE000 {
label = "image-2";
reg = <0x000DE000 0x00069000>;
};
slot3_partition: partition@146000 {
label = "image-3";
reg = <0x00146000 0x00069000>;
};
};
};

View File

@ -0,0 +1,7 @@
/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "native_sim.overlay"

View File

@ -2,8 +2,8 @@ tests:
dfu.mcuboot.multiimage:
platform_allow:
- nrf52840dk_nrf52840
- native_posix
- native_posix_64
- native_sim
- native_sim_64
tags: dfu_mcuboot
integration_platforms:
- nrf52840dk_nrf52840