Commit 03d96ad1 authored by Andrzej Puzdrowski's avatar Andrzej Puzdrowski
Browse files

boot/zephyr: Added single-slot Zephyr-RTOS test build

Added configuration for build in Zephyr-RTOS CI MCUBoot
in CONFIG_SINGLE_APPLICATION_SLOT=y mode.

Signed-off-by: default avatarAndrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
parent fdff3e1e
Loading
Loading
Loading
Loading
+26 −0
Changes for boot/zephyr/boards/nrf52840_single_slot.overlay: 26 added lines, 0 removed lines.
Original line number Diff line number Diff line
/*
 * Copyright (c) 2020 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/delete-node/ &boot_partition;
/delete-node/ &slot0_partition;
/delete-node/ &slot1_partition;

&flash0 {
	partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			boot_partition: partition@0 {
				label = "mcuboot";
				reg = <0x000000000 0x00010000>;
			};
			slot0_partition: partition@10000 {
				label = "image-0";
				reg = <0x000010000 0x0000E8000>;
			};
	};
};
+5 −0
Changes for boot/zephyr/sample.yaml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -18,3 +18,8 @@ tests:
      DTC_OVERLAY_FILE=./boards/nrf52840_big.overlay
    platform_allow:  nrf52840dk_nrf52840
    tags: bootloader_mcuboot
  sample.bootloader.mcuboot.single_slot:
    extra_args: OVERLAY_CONFIG=./single_slot.conf
      DTC_OVERLAY_FILE=./boards/nrf52840_single_slot.overlay
    platform_allow:  nrf52840dk_nrf52840
    tags: bootloader_mcuboot
+1 −0
Changes for boot/zephyr/single_slot.conf: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
CONFIG_SINGLE_APPLICATION_SLOT=y