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 07fdbf3 commit afea614Copy full SHA for afea614
subsys/storage/flash_map/flash_map_mcumgr.c
@@ -15,6 +15,12 @@ const struct flash_area default_flash_map[] = {
15
.fa_size = FIXED_PARTITION_SIZE(slot0_partition),
16
.fa_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_flash_controller)),
17
},
18
+ {
19
+ .fa_id = 2,
20
+ .fa_off = FIXED_PARTITION_OFFSET(slot1_partition),
21
+ .fa_size = FIXED_PARTITION_SIZE(slot1_partition),
22
+ .fa_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_flash_controller)),
23
+ },
24
};
25
26
const int flash_map_entries = ARRAY_SIZE(default_flash_map);
0 commit comments