Merge pull request #1717 from martinbudden/bf_linker_scripts
Updated linker scripts, as per iNav changes
This commit is contained in:
commit
8af1508c83
|
@ -19,4 +19,6 @@ MEMORY
|
|||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("STACKRAM", RAM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
|
@ -20,4 +20,6 @@ MEMORY
|
|||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("STACKRAM", RAM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
|
@ -19,4 +19,6 @@ MEMORY
|
|||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("STACKRAM", RAM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
|
@ -19,4 +19,6 @@ MEMORY
|
|||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("STACKRAM", RAM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
|
@ -20,4 +20,6 @@ MEMORY
|
|||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("STACKRAM", CCM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
|
@ -20,4 +20,6 @@ MEMORY
|
|||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("STACKRAM", CCM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
|
@ -14,21 +14,22 @@ ENTRY(Reset_Handler)
|
|||
|
||||
/*
|
||||
0x08000000 to 0x08100000 1024K full flash,
|
||||
0x08000000 to 0x080FC000 1008K firmware,
|
||||
0x080FC000 to 0x08100000 16K config,
|
||||
0x08000000 to 0x080DFFFF 896K firmware,
|
||||
0x080E0000 to 0x08100000 128K config, // FLASH_Sector_11
|
||||
*/
|
||||
|
||||
/* Specify the memory areas */
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1008K
|
||||
FLASH_CONFIG (r) : ORIGIN = 0x080FC000, LENGTH = 16K
|
||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 896K
|
||||
FLASH_CONFIG (r) : ORIGIN = 0x080E0000, LENGTH = 128K
|
||||
|
||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
|
||||
CCM (rwx) : ORIGIN = 0x10000000, LENGTH = 64K
|
||||
BACKUP_SRAM (rwx) : ORIGIN = 0x40024000, LENGTH = 4K
|
||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
/* note CCM could be used for stack */
|
||||
|
||||
REGION_ALIAS("STACKRAM", CCM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
|
@ -15,19 +15,21 @@ ENTRY(Reset_Handler)
|
|||
/*
|
||||
0x08000000 to 0x08100000 1024K full flash,
|
||||
0x08000000 to 0x08004000 16K OPBL,
|
||||
0x08004000 to 0x080FC000 992K firmware,
|
||||
0x080FC000 to 0x08100000 16K config,
|
||||
0x08004000 to 0x080DFFFF 880K firmware,
|
||||
0x080E0000 to 0x08100000 128K config, // FLASH_Sector_11
|
||||
*/
|
||||
|
||||
/* Specify the memory areas */
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x08004000, LENGTH = 992K
|
||||
FLASH_CONFIG (r): ORIGIN = 0x080FC000, LENGTH = 16K
|
||||
FLASH (rx) : ORIGIN = 0x08004000, LENGTH = 880K
|
||||
FLASH_CONFIG (r): ORIGIN = 0x080E0000, LENGTH = 128K
|
||||
|
||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
|
||||
CCM (rwx) : ORIGIN = 0x10000000, LENGTH = 64K
|
||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
REGION_ALIAS("STACKRAM", CCM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
|
@ -14,19 +14,21 @@ ENTRY(Reset_Handler)
|
|||
|
||||
/*
|
||||
0x08000000 to 0x08080000 512K full flash,
|
||||
0x08000000 to 0x0807C000 469K firmware,
|
||||
0x0807C000 to 0x08080000 16K config,
|
||||
0x08000000 to 0x0805FFFF 384K firmware,
|
||||
0x08060000 to 0x08080000 128K config,
|
||||
*/
|
||||
|
||||
/* Specify the memory areas */
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 496K
|
||||
FLASH_CONFIG (r) : ORIGIN = 0x0807C000, LENGTH = 16K
|
||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 384K
|
||||
FLASH_CONFIG (r) : ORIGIN = 0x08060000, LENGTH = 128K
|
||||
|
||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
|
||||
CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 64K
|
||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("STACKRAM", CCM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
**
|
||||
** File : stm32_flash_f411.ld
|
||||
**
|
||||
** Abstract : Linker script for STM32F11 Device with
|
||||
** Abstract : Linker script for STM32F411 Device with
|
||||
** 512KByte FLASH, 128KByte RAM
|
||||
**
|
||||
*****************************************************************************
|
||||
|
@ -15,19 +15,21 @@ ENTRY(Reset_Handler)
|
|||
/*
|
||||
0x08000000 to 0x08080000 512K full flash,
|
||||
0x08000000 to 0x08004000 16K OPBL,
|
||||
0x08010000 to 0x0807C000 480K firmware,
|
||||
0x0807C000 to 0x08080000 16K config,
|
||||
0x08004000 to 0x0805FFFF 368K firmware,
|
||||
0x08060000 to 0x08080000 128K config,
|
||||
*/
|
||||
|
||||
/* Specify the memory areas */
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x08004000, LENGTH = 480K
|
||||
FLASH_CONFIG (r) : ORIGIN = 0x0807C000, LENGTH = 16K
|
||||
FLASH (rx) : ORIGIN = 0x08004000, LENGTH = 368K
|
||||
FLASH_CONFIG (r) : ORIGIN = 0x08060000, LENGTH = 128K
|
||||
|
||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
|
||||
CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 64K
|
||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("STACKRAM", CCM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
||||
|
|
Loading…
Reference in New Issue