mirror of https://github.com/ARMmbed/mbed-os.git
Update FLASH_SIZE backup value
By default, FLASH_SIZE should be read from HW. In case this is not the case, we define it here, as the size of FLASH that is available to the application running on M4.pull/10479/head
parent
89eef1b490
commit
fcc375f5c9
|
@ -37,8 +37,8 @@
|
|||
#undef FLASH_SIZE
|
||||
#endif
|
||||
|
||||
// Only the first 128 pages are accessible when security is enabled
|
||||
#define FLASH_SIZE ((uint32_t)0x80000) // 128 pages x 4 Kbytes = 512 Kbytes
|
||||
// Only the first the application side is accessible.
|
||||
#define FLASH_SIZE ((uint32_t)0xC0000) // 768 Kbytes
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue