We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc571f0 commit 2fcfba1Copy full SHA for 2fcfba1
boot/bootutil/src/bootutil_priv.h
@@ -54,7 +54,11 @@ struct flash_area;
54
#define NO_ACTIVE_SLOT UINT32_MAX
55
56
/** Number of image slots in flash; currently limited to two. */
57
+#if defined(MCUBOOT_SINGLE_APPLICATION_SLOT) || defined(MCUBOOT_SINGLE_APPLICATION_SLOT_RAM_LOAD)
58
+#define BOOT_NUM_SLOTS 1
59
+#else
60
#define BOOT_NUM_SLOTS 2
61
+#endif
62
63
#if (defined(MCUBOOT_OVERWRITE_ONLY) + \
64
defined(MCUBOOT_SWAP_USING_MOVE) + \
0 commit comments