mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
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:
@@ -42,8 +42,8 @@
|
|||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
flash (rx) : ORIGIN = 0x08000000, LENGTH = 256K
|
flash (rx) : ORIGIN = 0x08000000, LENGTH = 128K
|
||||||
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 24K
|
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K
|
||||||
}
|
}
|
||||||
|
|
||||||
OUTPUT_ARCH(arm)
|
OUTPUT_ARCH(arm)
|
||||||
|
|||||||
Reference in New Issue
Block a user