diff options
Diffstat (limited to 'support/ld/maple_native')
-rw-r--r-- | support/ld/maple_native/flash.ld | 44 | ||||
-rw-r--r-- | support/ld/maple_native/jtag.ld | 42 | ||||
-rw-r--r-- | support/ld/maple_native/ram.ld | 42 |
3 files changed, 64 insertions, 64 deletions
diff --git a/support/ld/maple_native/flash.ld b/support/ld/maple_native/flash.ld index 4358419..e4d61d1 100644 --- a/support/ld/maple_native/flash.ld +++ b/support/ld/maple_native/flash.ld @@ -1,22 +1,22 @@ -/*
- * Linker script for STM32.
- * STM32 high density chip linker script. Loads to flash with Maple bootloader
- */
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 61K
- rom (rx) : ORIGIN = 0x08005000, LENGTH = 492K
-}
-
-/*
- * Use high density device vector table
- */
-GROUP(libcs3_stm32_high_density.a)
-
-REGION_ALIAS("REGION_TEXT", rom);
-REGION_ALIAS("REGION_DATA", ram);
-REGION_ALIAS("REGION_BSS", ram);
-
-INCLUDE common_rom.inc
-
+/* + * Linker script for STM32. + * STM32 high density chip linker script. Loads to flash with Maple bootloader + */ + +MEMORY +{ + ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 61K + rom (rx) : ORIGIN = 0x08005000, LENGTH = 492K +} + +/* + * Use high density device vector table + */ +GROUP(libcs3_stm32_high_density.a) + +REGION_ALIAS("REGION_TEXT", rom); +REGION_ALIAS("REGION_DATA", ram); +REGION_ALIAS("REGION_BSS", ram); + +INCLUDE common_rom.inc + diff --git a/support/ld/maple_native/jtag.ld b/support/ld/maple_native/jtag.ld index 0e99c3b..2264d69 100644 --- a/support/ld/maple_native/jtag.ld +++ b/support/ld/maple_native/jtag.ld @@ -1,21 +1,21 @@ -/*
- * Linker script for STM32.
- * STM32 high density chip linker script. Bare metal linker script.
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
- rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K
-}
-
-/*
- * Use high density device vector table
- */
-GROUP(libcs3_stm32_high_density.a)
-
-REGION_ALIAS("REGION_TEXT", rom);
-REGION_ALIAS("REGION_DATA", ram);
-REGION_ALIAS("REGION_BSS", ram);
-
-INCLUDE common_rom.inc
-
+/* + * Linker script for STM32. + * STM32 high density chip linker script. Bare metal linker script. + */ +MEMORY +{ + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K + rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K +} + +/* + * Use high density device vector table + */ +GROUP(libcs3_stm32_high_density.a) + +REGION_ALIAS("REGION_TEXT", rom); +REGION_ALIAS("REGION_DATA", ram); +REGION_ALIAS("REGION_BSS", ram); + +INCLUDE common_rom.inc + diff --git a/support/ld/maple_native/ram.ld b/support/ld/maple_native/ram.ld index d5bd3b0..c3f418f 100644 --- a/support/ld/maple_native/ram.ld +++ b/support/ld/maple_native/ram.ld @@ -1,21 +1,21 @@ -/*
- * Linker script for STM32.
- * STM32 high density chip linker script. Loads to RAM with Maple bootloader
- */
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 61K
- rom (rx) : ORIGIN = 0x08005000, LENGTH = 0K
-}
-
-/*
- * Use high density device vector table
- */
-GROUP(libcs3_stm32_high_density.a)
-
-REGION_ALIAS("REGION_TEXT", ram);
-REGION_ALIAS("REGION_DATA", ram);
-REGION_ALIAS("REGION_BSS", ram);
-
-INCLUDE common_ram.inc
+/* + * Linker script for STM32. + * STM32 high density chip linker script. Loads to RAM with Maple bootloader + */ + +MEMORY +{ + ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 61K + rom (rx) : ORIGIN = 0x08005000, LENGTH = 0K +} + +/* + * Use high density device vector table + */ +GROUP(libcs3_stm32_high_density.a) + +REGION_ALIAS("REGION_TEXT", ram); +REGION_ALIAS("REGION_DATA", ram); +REGION_ALIAS("REGION_BSS", ram); + +INCLUDE common_ram.inc |