File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
boot/zephyr/include/sysflash Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
#include <zephyr/storage/flash_map.h>
13
13
#include <zephyr/sys/util_macro.h>
14
14
15
- #ifndef CONFIG_SINGLE_APPLICATION_SLOT
15
+ #if !defined( CONFIG_SINGLE_APPLICATION_SLOT ) && !defined( CONFIG_MCUBOOT_BOOTLOADER_MODE_SINGLE_APP )
16
16
17
17
/* Each pair of slots is separated by , and there is no terminating character */
18
18
#define FLASH_AREA_IMAGE_0_SLOTS slot0_partition, slot1_partition
@@ -50,7 +50,7 @@ static inline uint32_t __flash_area_ids_for_slot(int img, int slot)
50
50
#define FLASH_AREA_IMAGE_SCRATCH FIXED_PARTITION_ID(scratch_partition)
51
51
#endif
52
52
53
- #else /* CONFIG_SINGLE_APPLICATION_SLOT */
53
+ #else /* ! CONFIG_SINGLE_APPLICATION_SLOT && !CONFIG_MCUBOOT_BOOTLOADER_MODE_SINGLE_APP */
54
54
55
55
#define FLASH_AREA_IMAGE_PRIMARY (x ) FIXED_PARTITION_ID(slot0_partition)
56
56
#define FLASH_AREA_IMAGE_SECONDARY (x ) FIXED_PARTITION_ID(slot0_partition)
You can’t perform that action at this time.
0 commit comments