diff options
Diffstat (limited to 'support/ld/maple_native/flash.ld')
-rw-r--r-- | support/ld/maple_native/flash.ld | 44 |
1 files changed, 22 insertions, 22 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 + |