diff options
Diffstat (limited to 'support/ld/maple_mini')
-rw-r--r-- | support/ld/maple_mini/flash.ld | 54 | ||||
-rw-r--r-- | support/ld/maple_mini/jtag.ld | 56 | ||||
-rw-r--r-- | support/ld/maple_mini/ram.ld | 54 |
3 files changed, 82 insertions, 82 deletions
diff --git a/support/ld/maple_mini/flash.ld b/support/ld/maple_mini/flash.ld index 4c26da2..b3eb557 100644 --- a/support/ld/maple_mini/flash.ld +++ b/support/ld/maple_mini/flash.ld @@ -1,27 +1,27 @@ -/*
- * Linker script for STM32.
- * Maple mini flash linker script.
- */
-
-/*
- * Define memory spaces.
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 17K
- rom (rx) : ORIGIN = 0x08005000, LENGTH = 108K
-}
-
-/*
- * Use medium density device vector table
- */
-GROUP(libcs3_stm32_med_density.a)
-
-REGION_ALIAS("REGION_TEXT", rom);
-REGION_ALIAS("REGION_DATA", ram);
-REGION_ALIAS("REGION_BSS", ram);
-
-/*
- * Define the rest of the sections
- */
-INCLUDE common_rom.inc
+/* + * Linker script for STM32. + * Maple mini flash linker script. + */ + +/* + * Define memory spaces. + */ +MEMORY +{ + ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 17K + rom (rx) : ORIGIN = 0x08005000, LENGTH = 108K +} + +/* + * Use medium density device vector table + */ +GROUP(libcs3_stm32_med_density.a) + +REGION_ALIAS("REGION_TEXT", rom); +REGION_ALIAS("REGION_DATA", ram); +REGION_ALIAS("REGION_BSS", ram); + +/* + * Define the rest of the sections + */ +INCLUDE common_rom.inc diff --git a/support/ld/maple_mini/jtag.ld b/support/ld/maple_mini/jtag.ld index 31768ed..cdf2cc9 100644 --- a/support/ld/maple_mini/jtag.ld +++ b/support/ld/maple_mini/jtag.ld @@ -1,28 +1,28 @@ -/*
- * Linker script for STM32.
- * Maple mini linker script bare metal target linker script.
- */
-
-/*
- * Define memory spaces.
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
- rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
-}
-
-/*
- * Use medium density device vector table
- */
-GROUP(libcs3_stm32_med_density.a)
-
-REGION_ALIAS("REGION_TEXT", rom);
-REGION_ALIAS("REGION_DATA", ram);
-REGION_ALIAS("REGION_BSS", ram);
-
-/*
- * Define the rest of the sections
- */
-INCLUDE common_rom.inc
-
+/* + * Linker script for STM32. + * Maple mini linker script bare metal target linker script. + */ + +/* + * Define memory spaces. + */ +MEMORY +{ + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K + rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K +} + +/* + * Use medium density device vector table + */ +GROUP(libcs3_stm32_med_density.a) + +REGION_ALIAS("REGION_TEXT", rom); +REGION_ALIAS("REGION_DATA", ram); +REGION_ALIAS("REGION_BSS", ram); + +/* + * Define the rest of the sections + */ +INCLUDE common_rom.inc + diff --git a/support/ld/maple_mini/ram.ld b/support/ld/maple_mini/ram.ld index 7dd7ee5..b8516de 100644 --- a/support/ld/maple_mini/ram.ld +++ b/support/ld/maple_mini/ram.ld @@ -1,27 +1,27 @@ -/*
- * Linker script for STM32.
- * Maple mini ram target linker script.
- */
-
-/*
- * Define memory spaces.
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 17K
- rom (rx) : ORIGIN = 0x08005000, LENGTH = 0K
-}
-
-/*
- * Use medium density device vector table
- */
-GROUP(libcs3_stm32_med_density.a)
-
-REGION_ALIAS("REGION_TEXT", ram);
-REGION_ALIAS("REGION_DATA", ram);
-REGION_ALIAS("REGION_BSS", ram);
-
-/*
- * Define the rest of the sections
- */
-INCLUDE common_ram.inc
+/* + * Linker script for STM32. + * Maple mini ram target linker script. + */ + +/* + * Define memory spaces. + */ +MEMORY +{ + ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 17K + rom (rx) : ORIGIN = 0x08005000, LENGTH = 0K +} + +/* + * Use medium density device vector table + */ +GROUP(libcs3_stm32_med_density.a) + +REGION_ALIAS("REGION_TEXT", ram); +REGION_ALIAS("REGION_DATA", ram); +REGION_ALIAS("REGION_BSS", ram); + +/* + * Define the rest of the sections + */ +INCLUDE common_ram.inc |