From eb85c3cb7f6e0417e87581d44cf28cbf8015b9a2 Mon Sep 17 00:00:00 2001 From: Jerzy Kasenberg Date: Tue, 23 Apr 2024 11:24:31 +0200 Subject: [PATCH] mynewt: Igore swap_scratch.c for single application slot swap_scratch.c requires definition of SLOT1, in single application slot build it's not needed and file would not be used anyway so now it is removed from mynewt build Signed-off-by: Jerzy Kasenberg --- boot/mynewt/pkg.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/mynewt/pkg.yml b/boot/mynewt/pkg.yml index 7e91c66b0..e0b313275 100644 --- a/boot/mynewt/pkg.yml +++ b/boot/mynewt/pkg.yml @@ -37,6 +37,8 @@ pkg.deps: pkg.ign_files.!BOOTUTIL_SINGLE_APPLICATION_SLOT: - "single_loader.c" +pkg.ign_files.BOOTUTIL_SINGLE_APPLICATION_SLOT: + - "swap_scratch.c" pkg.deps.BOOTUTIL_NO_LOGGING: - "@apache-mynewt-core/sys/console/stub"