stmhal: Fix typo in stm32f401.ld file, regarding flash size.

This commit is contained in:
Dave Hylands 2016-03-05 20:04:18 -08:00 committed by Damien George
parent 0edfb7a115
commit 367c084c4b

View File

@ -8,7 +8,8 @@ MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 0x080000 /* entire flash, 512 KiB */
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 0x004000 /* sector 0, 16 KiB */
FLASH_TEXT (rx) : ORIGIN = 0x08020000, LENGTH = 0x080000 /* sectors 5,6,7,8, 4*128KiB = 512 KiB */
/* sectors 1,2,3 are 16K, 4 is 64K (for filesystem) */
FLASH_TEXT (rx) : ORIGIN = 0x08020000, LENGTH = 0x080000 /* sectors 5,6,7 3*128KiB = 384 KiB */
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 0x018000 /* 96 KiB */
}