mirror of https://github.com/ARMmbed/mbed-os.git
make use of symbol BLOCK1_SIZE to replace a naked constant
parent
0c5a7beb20
commit
7b110f077e
|
|
@ -228,7 +228,7 @@ static const ARM_STORAGE_CAPABILITIES caps = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ARM_STORAGE_INFO info = {
|
static const ARM_STORAGE_INFO info = {
|
||||||
.total_storage = 512 * 1024, /**< Total available storage, in units of octets. */
|
.total_storage = BLOCK1_SIZE, /**< Total available storage, in units of octets. By default, BLOCK0 is reserved to hold program code. */
|
||||||
|
|
||||||
.program_unit = PROGRAM_UNIT,
|
.program_unit = PROGRAM_UNIT,
|
||||||
.optimal_program_unit = OPTIMAL_PROGRAM_UNIT,
|
.optimal_program_unit = OPTIMAL_PROGRAM_UNIT,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue