Fix memory sizes for Black F407VE

This commit is contained in:
Daniel Fekete 2017-04-15 06:28:43 +02:00
parent 5bc8c46d11
commit 71a2fd2add
2 changed files with 5 additions and 5 deletions

View File

@ -117,8 +117,8 @@ BLACK_F407VE.name=BLACK F407VE (upload: STLink)
BLACK_F407VE.vid.0=0x0483 BLACK_F407VE.vid.0=0x0483
BLACK_F407VE.pid.0=0x5711 BLACK_F407VE.pid.0=0x5711
BLACK_F407VE.upload.maximum_size=1048576 BLACK_F407VE.upload.maximum_size=524288
BLACK_F407VE.upload.maximum_data_size=196608 BLACK_F407VE.upload.maximum_data_size=131072
BLACK_F407VE.build.mcu=cortex-m4 BLACK_F407VE.build.mcu=cortex-m4
BLACK_F407VE.build.core=arduino BLACK_F407VE.build.core=arduino

View File

@ -2,13 +2,13 @@
ENTRY(Reset_Handler) ENTRY(Reset_Handler)
/* Highest address of the user mode stack */ /* Highest address of the user mode stack */
_estack = 0x20010000; /* end of RAM */ _estack = 0x20000000 + 131072; /* end of RAM */
/* Specify the memory areas */ /* Specify the memory areas */
MEMORY MEMORY
{ {
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 512K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
} }
/* Define output sections */ /* Define output sections */