projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix non-ASCII characters breaking LaTex documentation builds.
[pub/USBasp.git]
/
Bootloaders
/
HID
/
makefile
diff --git
a/Bootloaders/HID/makefile
b/Bootloaders/HID/makefile
index
555c727
..
338bafa
100644
(file)
--- 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
\r
# bytes, and so will need to be doubled to obtain the byte address needed by AVR-GCC.
\r
FLASH_SIZE_KB = 128
\r
# Note that the bootloader size and start address given in AVRStudio is in words and not
\r
# bytes, and so will need to be doubled to obtain the byte address needed by AVR-GCC.
\r
FLASH_SIZE_KB = 128
\r
-BOOT_SECTION_SIZE_KB =
2
\r
+BOOT_SECTION_SIZE_KB =
4
\r
BOOT_START = 0x$(shell echo "obase=16; ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024" | bc)
\r
\r
\r
BOOT_START = 0x$(shell echo "obase=16; ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024" | bc)
\r
\r
\r
@@
-126,11
+126,6
@@
LUFA_OPTS += -D NO_DEVICE_SELF_POWER
LUFA_OPTS += -D NO_DEVICE_REMOTE_WAKEUP
\r
LUFA_OPTS += -D NO_SOF_EVENTS
\r
\r
LUFA_OPTS += -D NO_DEVICE_REMOTE_WAKEUP
\r
LUFA_OPTS += -D NO_SOF_EVENTS
\r
\r
-#LUFA_OPTS += -D NO_BLOCK_SUPPORT
\r
-#LUFA_OPTS += -D NO_EEPROM_BYTE_SUPPORT
\r
-#LUFA_OPTS += -D NO_FLASH_BYTE_SUPPORT
\r
-#LUFA_OPTS += -D NO_LOCK_BYTE_WRITE_SUPPORT
\r
-
\r
\r
# Create the LUFA source path variables by including the LUFA root makefile
\r
include $(LUFA_PATH)/LUFA/makefile
\r
\r
# Create the LUFA source path variables by including the LUFA root makefile
\r
include $(LUFA_PATH)/LUFA/makefile
\r
@@
-199,6
+194,7
@@
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
\r
ADEFS += $(LUFA_OPTS)
\r
\r
ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
\r
ADEFS += $(LUFA_OPTS)
\r
\r
+
\r
# Place -D or -U options here for C++ sources
\r
CPPDEFS = -DF_CPU=$(F_CPU)UL
\r
CPPDEFS += -DF_CLOCK=$(F_CLOCK)UL
\r
# Place -D or -U options here for C++ sources
\r
CPPDEFS = -DF_CPU=$(F_CPU)UL
\r
CPPDEFS += -DF_CLOCK=$(F_CLOCK)UL
\r