Skip to content

Commit 41b5f73

Browse files
committed
revert mixed up linkers
1 parent aee26b1 commit 41b5f73

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

ports/stm32f4/boards/STM32F401xd_fs.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
/* Specify the memory areas */
66
MEMORY
77
{
8-
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K /* entire flash */
8+
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 384K /* entire flash */
99
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 16K /* sector 0 */
1010
FLASH_FS (rx) : ORIGIN = 0x08004000, LENGTH = 48K /* sectors 1,2,3 are 16K */
11-
FLASH_TEXT (rx) : ORIGIN = 0x08010000, LENGTH = 448K /* sector 4 is 64K, sectors 5,6,7 are 128K */
11+
FLASH_TEXT (rx) : ORIGIN = 0x08010000, LENGTH = 320K /* sector 4 is 64K, sectors 5,6,7 are 128K */
1212
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
1313
}
1414

ports/stm32f4/boards/STM32F401_fs.ld renamed to ports/stm32f4/boards/STM32F401xe_fs.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
/* Specify the memory areas */
66
MEMORY
77
{
8-
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 384K /* entire flash */
8+
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K /* entire flash */
99
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 16K /* sector 0 */
1010
FLASH_FS (rx) : ORIGIN = 0x08004000, LENGTH = 48K /* sectors 1,2,3 are 16K */
11-
FLASH_TEXT (rx) : ORIGIN = 0x08010000, LENGTH = 320K /* sector 4 is 64K, sectors 5,6,7 are 128K */
11+
FLASH_TEXT (rx) : ORIGIN = 0x08010000, LENGTH = 448K /* sector 4 is 64K, sectors 5,6,7 are 128K */
1212
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
1313
}
1414

ports/stm32f4/boards/meowbit_v121/mpconfigboard.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ MCU_VARIANT = stm32f4
1919
MCU_SUB_VARIANT = stm32f401xe
2020
MCU_PACKAGE = 64
2121
CMSIS_MCU = STM32F401xE
22-
LD_FILE = boards/STM32F401_boot.ld
23-
# LD_FILE = boards/STM32F401_fs.ld # use for internal flash
22+
LD_FILE = boards/STM32F401xe_boot.ld
23+
# LD_FILE = boards/STM32F401xe_fs.ld # use for internal flash
2424

0 commit comments

Comments
 (0)