diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-10 17:55:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-10 17:55:49 +0000 |
commit | 782614dbb55addcae8c9d4d9e1ce3dec81287282 (patch) | |
tree | bb4ba0005e5b7687d6866ea70ee899d772d04b1b /Bootloaders/HID/makefile | |
parent | 57b382558d0f2a5146bea735943f09c6d1b83286 (diff) | |
download | lufa-782614dbb55addcae8c9d4d9e1ce3dec81287282.tar.gz lufa-782614dbb55addcae8c9d4d9e1ce3dec81287282.tar.bz2 lufa-782614dbb55addcae8c9d4d9e1ce3dec81287282.zip |
Add static keyword to all project globals whose scope should be restricted to the same module as they are declared in.
Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
Diffstat (limited to 'Bootloaders/HID/makefile')
-rw-r--r-- | Bootloaders/HID/makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bootloaders/HID/makefile b/Bootloaders/HID/makefile index 81561c371..338bafa01 100644 --- a/Bootloaders/HID/makefile +++ b/Bootloaders/HID/makefile @@ -91,7 +91,7 @@ F_CLOCK = $(F_CPU) # Note that the bootloader size and start address given in AVRStudio is in words and not
# bytes, and so will need to be doubled to obtain the byte address needed by AVR-GCC.
FLASH_SIZE_KB = 128
-BOOT_SECTION_SIZE_KB = 2
+BOOT_SECTION_SIZE_KB = 4
BOOT_START = 0x$(shell echo "obase=16; ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024" | bc)
@@ -124,6 +124,7 @@ LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENAB LUFA_OPTS += -D NO_INTERNAL_SERIAL
LUFA_OPTS += -D NO_DEVICE_SELF_POWER
LUFA_OPTS += -D NO_DEVICE_REMOTE_WAKEUP
+LUFA_OPTS += -D NO_SOF_EVENTS
# Create the LUFA source path variables by including the LUFA root makefile
|