revert mixed up linkers
This commit is contained in:
parent
aee26b1c79
commit
41b5f73785
|
@ -5,10 +5,10 @@
|
||||||
/* Specify the memory areas */
|
/* Specify the memory areas */
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K /* entire flash */
|
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 384K /* entire flash */
|
||||||
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 16K /* sector 0 */
|
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 16K /* sector 0 */
|
||||||
FLASH_FS (rx) : ORIGIN = 0x08004000, LENGTH = 48K /* sectors 1,2,3 are 16K */
|
FLASH_FS (rx) : ORIGIN = 0x08004000, LENGTH = 48K /* sectors 1,2,3 are 16K */
|
||||||
FLASH_TEXT (rx) : ORIGIN = 0x08010000, LENGTH = 448K /* sector 4 is 64K, sectors 5,6,7 are 128K */
|
FLASH_TEXT (rx) : ORIGIN = 0x08010000, LENGTH = 320K /* sector 4 is 64K, sectors 5,6,7 are 128K */
|
||||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
|
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
/* Specify the memory areas */
|
/* Specify the memory areas */
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 384K /* entire flash */
|
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K /* entire flash */
|
||||||
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 16K /* sector 0 */
|
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 16K /* sector 0 */
|
||||||
FLASH_FS (rx) : ORIGIN = 0x08004000, LENGTH = 48K /* sectors 1,2,3 are 16K */
|
FLASH_FS (rx) : ORIGIN = 0x08004000, LENGTH = 48K /* sectors 1,2,3 are 16K */
|
||||||
FLASH_TEXT (rx) : ORIGIN = 0x08010000, LENGTH = 320K /* sector 4 is 64K, sectors 5,6,7 are 128K */
|
FLASH_TEXT (rx) : ORIGIN = 0x08010000, LENGTH = 448K /* sector 4 is 64K, sectors 5,6,7 are 128K */
|
||||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
|
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,6 @@ MCU_VARIANT = stm32f4
|
||||||
MCU_SUB_VARIANT = stm32f401xe
|
MCU_SUB_VARIANT = stm32f401xe
|
||||||
MCU_PACKAGE = 64
|
MCU_PACKAGE = 64
|
||||||
CMSIS_MCU = STM32F401xE
|
CMSIS_MCU = STM32F401xE
|
||||||
LD_FILE = boards/STM32F401_boot.ld
|
LD_FILE = boards/STM32F401xe_boot.ld
|
||||||
# LD_FILE = boards/STM32F401_fs.ld # use for internal flash
|
# LD_FILE = boards/STM32F401xe_fs.ld # use for internal flash
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue