Skip to content

Commit 367c084

Browse files
dhylandsdpgeorge
authored andcommitted
stmhal: Fix typo in stm32f401.ld file, regarding flash size.
1 parent 0edfb7a commit 367c084

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎stmhal/boards/stm32f401.ld‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ MEMORY
88
{
99
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 0x080000 /* entire flash, 512 KiB */
1010
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 0x004000 /* sector 0, 16 KiB */
11-
FLASH_TEXT (rx) : ORIGIN = 0x08020000, LENGTH = 0x080000 /* sectors 5,6,7,8, 4*128KiB = 512 KiB */
11+
/* sectors 1,2,3 are 16K, 4 is 64K (for filesystem) */
12+
FLASH_TEXT (rx) : ORIGIN = 0x08020000, LENGTH = 0x080000 /* sectors 5,6,7 3*128KiB = 384 KiB */
1213
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 0x018000 /* 96 KiB */
1314
}
1415

0 commit comments

Comments
 (0)