X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/bc3db793e9867567bc881942845c7d84c2b09e37..e39f3378a21ae5076e8c49bc728c20e436e3a69f:/Bootloaders/CDC/makefile diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index 850d9dfc8..066fb8884 100644 --- a/Bootloaders/CDC/makefile +++ b/Bootloaders/CDC/makefile @@ -102,7 +102,7 @@ BOOT_SECTION_SIZE_KB = 4 # API jump table (for more information on the latter, see the bootloader documentation). These formulas # should not need to be altered - modify the FLASH_SIZE_KB and BOOT_SECTION_KB values above instead. BOOT_START = 0x$(shell echo "obase=16; ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024" | bc) -BOOT_API_TABLESTART = 0x$(shell echo "obase=16; (($(FLASH_SIZE_KB) * 1024) - 32)" | bc) +BOOT_API_TABLESTART = 0x$(shell echo "obase=16; (($(FLASH_SIZE_KB) * 1024) - 96)" | bc) # Output format. (can be srec, ihex, binary) @@ -207,7 +207,7 @@ CDEFS += $(LUFA_OPTS) ADEFS = -DF_CPU=$(F_CPU) ADEFS += -DF_USB=$(F_USB)UL ADEFS += -DBOARD=BOARD_$(BOARD) -ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL +ADEFS += -DBOOT_START_ADDR=$(BOOT_START) ADEFS += $(LUFA_OPTS) @@ -694,7 +694,9 @@ clean_list : doxygen: @echo Generating Project Documentation \($(TARGET)\)... - @doxygen Doxygen.conf + @if ( doxygen Doxygen.conf 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \ + exit 1; \ + fi; @echo Documentation Generation Complete. clean_doxygen: