aboutsummaryrefslogtreecommitdiffstats
path: root/stm32conf
diff options
context:
space:
mode:
authorajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123>2010-02-12 20:57:45 +0000
committerajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123>2010-02-12 20:57:45 +0000
commit966e4ac594494f02a62d34bb9446ce1ff07dc54b (patch)
tree6f99c8c8c2bca9f0ab5b21319abec3da26f1552e /stm32conf
parent2826bbb424f15d61c5ef917dcfd5444e7e607b56 (diff)
downloadlibrambutan-966e4ac594494f02a62d34bb9446ce1ff07dc54b.tar.gz
librambutan-966e4ac594494f02a62d34bb9446ce1ff07dc54b.zip
modded the library makefile to work with patched dfu-util, also added the USER_FLASH section to the rom linker
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@131 749a229e-a60e-11de-b98f-4500b42dc123
Diffstat (limited to 'stm32conf')
-rw-r--r--stm32conf/lanchon-stm32-user-rom.ld8
1 files changed, 8 insertions, 0 deletions
diff --git a/stm32conf/lanchon-stm32-user-rom.ld b/stm32conf/lanchon-stm32-user-rom.ld
index e6825e5..8fbf4b7 100644
--- a/stm32conf/lanchon-stm32-user-rom.ld
+++ b/stm32conf/lanchon-stm32-user-rom.ld
@@ -134,6 +134,14 @@ SECTIONS
. = ALIGN(8);
_etext = .;
} >rom
+
+/* expose a custom rom only section */
+ .USER_FLASH :
+ {
+ *(.USER_FLASH)
+ } >rom
+
+
/* __cs3_region_end_rom is deprecated */
__cs3_region_end_rom = __cs3_region_start_rom + LENGTH(rom);
__cs3_region_size_rom = LENGTH(rom);