ensure g_dfu is linked to start of RAM when building DFU loader

This commit is contained in:
Harald Welte
2017-02-28 00:50:37 +01:00
parent db30727514
commit 65cca7cccc
4 changed files with 7 additions and 1 deletions

View File

@@ -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.