Skip to content

Commit

Permalink
mynewt: Igore swap_scratch.c for single application slot
Browse files Browse the repository at this point in the history
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 <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed Apr 23, 2024
1 parent d2e69bf commit eb85c3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boot/mynewt/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit eb85c3c

Please sign in to comment.