aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/DFU
diff options
context:
space:
mode:
Diffstat (limited to 'Bootloaders/DFU')
-rw-r--r--Bootloaders/DFU/BootloaderDFU.c2
-rw-r--r--Bootloaders/DFU/makefile8
2 files changed, 5 insertions, 5 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c
index ca0387ba7..b8a25185d 100644
--- a/Bootloaders/DFU/BootloaderDFU.c
+++ b/Bootloaders/DFU/BootloaderDFU.c
@@ -96,7 +96,7 @@ uint16_t EndAddr = 0x0000;
* runs the bootloader processing routine until instructed to soft-exit, or hard-reset via the watchdog to start
* the loaded application code.
*/
-int main (void)
+int main(void)
{
/* Configure hardware required by the bootloader */
SetupHardware();
diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile
index 06551d561..40013ca0f 100644
--- a/Bootloaders/DFU/makefile
+++ b/Bootloaders/DFU/makefile
@@ -92,6 +92,10 @@ F_CPU = 8000000
F_CLOCK = 8000000
+# Starting byte address of the bootloader
+BOOT_START = 0x1E000
+
+
# Output format. (can be srec, ihex, binary)
FORMAT = ihex
@@ -178,10 +182,6 @@ EXTRAINCDIRS = $(LUFA_PATH)/
CSTANDARD = -std=gnu99
-# Starting byte address of the bootloader
-BOOT_START = 0x1E000
-
-
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL