Add more const-ness to the stream endpoint/pipe functions where possible.
[pub/USBasp.git] / Bootloaders / HID / makefile
index 555c727..338bafa 100644 (file)
@@ -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
-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
@@ -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_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
@@ -199,6 +194,7 @@ ADEFS += -DBOARD=BOARD_$(BOARD)
 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