From 966e4ac594494f02a62d34bb9446ce1ff07dc54b Mon Sep 17 00:00:00 2001 From: "ajmeyer@mit.edu" Date: Fri, 12 Feb 2010 20:57:45 +0000 Subject: 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 --- stm32conf/lanchon-stm32-user-rom.ld | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'stm32conf') 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); -- cgit v1.2.3