NUCLEO_L476RG: FLASH size of 1MB, not 2MB

MBED_APP_SIZE was erroneously defined to 2MB for this target,
while it's only 1MB.
pull/4554/head
Laurent MEUNIER 2017-06-14 16:52:08 +02:00
parent 1d802028cf
commit 73eebaad19
4 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@
#endif
#if !defined(MBED_APP_SIZE)
#define MBED_APP_SIZE 0x200000
#define MBED_APP_SIZE 0x100000
#endif
; 1MB FLASH (0x100000) + 128KB SRAM (0x20000)

View File

@ -33,7 +33,7 @@
#endif
#if !defined(MBED_APP_SIZE)
#define MBED_APP_SIZE 0x200000
#define MBED_APP_SIZE 0x100000
#endif
; 1MB FLASH (0x100000) + 128KB SRAM (0x20000)

View File

@ -3,7 +3,7 @@
#endif
#if !defined(MBED_APP_SIZE)
#define MBED_APP_SIZE 2048k
#define MBED_APP_SIZE 1024k
#endif
/* Linker script to configure memory regions. */

View File

@ -1,5 +1,5 @@
if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x08000000; }
if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x200000; }
if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x100000; }
/* [ROM = 1024kb = 0x100000] */
define symbol __intvec_start__ = MBED_APP_START;