fix: build-error on atmega128
authorStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Thu, 7 Nov 2013 15:26:51 +0000 (16:26 +0100)
committerStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Thu, 7 Nov 2013 15:45:19 +0000 (15:45 +0000)
Since MCUSR and some other Macros (from boot.h) are marked as
depreciated, gcc will fail to compile.
Solve by deactivating poison-pragma: __AVR_LIBC_DEPRECATED_ENABLE__

Signed-off-by: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Makefile.inc

index e2ecf67..4ba9059 100644 (file)
@@ -82,7 +82,7 @@ DEFINES_324             = #-DEMPTY
 
 FUSEOPT_128             = -U lfuse:w:0x1f:m -U hfuse:w:0xc0:m -U efuse:w:0xfd:m
 BOOTLOADER_ADDRESS_128  = 0x1E000
-DEFINES_128             = #-DEMPTY
+DEFINES_128             = -D__AVR_LIBC_DEPRECATED_ENABLE__