diff options
Diffstat (limited to 'libusbhost_stm32f4.ld')
-rw-r--r-- | libusbhost_stm32f4.ld | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libusbhost_stm32f4.ld b/libusbhost_stm32f4.ld index d1801d8..a1cf6d9 100644 --- a/libusbhost_stm32f4.ld +++ b/libusbhost_stm32f4.ld @@ -33,6 +33,17 @@ MEMORY /* Include the common ld script. */
INCLUDE libopencm3_stm32f4.ld
+/* Extra stuff */
+SECTIONS
+{
+ .backup_sram : {
+ . = ALIGN(4);
+ __backup_sram_start = .;
+ *(.backup_sram)
+ __backup_sram_end = .;
+ } >backup
+}
+
PROVIDE(_ram_start = ORIGIN(ram));
PROVIDE(_ram_end = ORIGIN(ram) + LENGTH(ram));
PROVIDE(_rom_start = ORIGIN(rom));
|