Skip to content

Commit bf3ca3b

Browse files
committed
Do not enable mcuboot.read-granularity on DISCO_L475VG_IOT01A
The majority of flash devices support reading single bytes without alignment concerns. The config `mcuboot.read-granularity` enables additional code to handle read alignment, and it comes with a slight code size and performance overhead.
1 parent e1c34c6 commit bf3ca3b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mbed_app.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@
5050
"mcuboot.slot-size": "0xC0000",
5151
"mcuboot.scratch-address": "0x80E0000",
5252
"mcuboot.scratch-size": "0x20000",
53-
"mcuboot.max-img-sectors": "0x180",
54-
"mcuboot.read-granularity": 4,
55-
"qspif.QSPI_MIN_PROG_SIZE": 4
53+
"mcuboot.max-img-sectors": "0x180"
5654
}
5755
}
5856
}

0 commit comments

Comments
 (0)