Merged in ehiker/nuttx/fix_stm32vldiscovery_ld (pull request #765)
configs/stm32vldiscovery/scripts/stm32vldiscovery.ld: Fix SRAM and FLASH size in the linker script. There is STM32F100RB with 8KB RAM and 128KB FLASH on the STM32VL Discovery kit. Invalid memory size could cause a hard fault. Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
7a4fb66192
commit
357deb41f4
@ -42,8 +42,8 @@
|
||||
|
||||
MEMORY
|
||||
{
|
||||
flash (rx) : ORIGIN = 0x08000000, LENGTH = 256K
|
||||
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 24K
|
||||
flash (rx) : ORIGIN = 0x08000000, LENGTH = 128K
|
||||
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K
|
||||
}
|
||||
|
||||
OUTPUT_ARCH(arm)
|
||||
|
Loading…
Reference in New Issue
Block a user