diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-02-28 00:50:37 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-02-28 01:10:27 +0100 |
commit | 65cca7cccc1a5de363b443a5218d6e75d73bff0d (patch) | |
tree | 22324b694525b94fec358f60f82c36a5b66847a9 /firmware/atmel_softpack_libraries | |
parent | db3072751441dae1906286700027043b4fb103a3 (diff) |
ensure g_dfu is linked to start of RAM when building DFU loader
Diffstat (limited to 'firmware/atmel_softpack_libraries')
-rw-r--r-- | firmware/atmel_softpack_libraries/usb/device/dfu/dfu_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_driver.c b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_driver.c index 08fda6d..14a8469 100644 --- a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_driver.c +++ b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_driver.c @@ -35,7 +35,7 @@ /* FIXME: this was used for a special ELF section which then got called * by DFU code and Application code, across flash partitions */ -#define __dfudata +#define __dfudata __attribute__ ((section (".dfudata"))) #define __dfufunc /// Standard device driver instance. |