X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Finfo%2Favr.common;h=f0fd278c7a2e78dfe7ff9945d411e1dd78133f01;hb=2b387e02ffd797dc8c68e072d29e445821189559;hp=2d8c775819fb299643d1702f6c227a45002e325d;hpb=41284acd34b5d1a66547bf37d782c4456731dd24;p=bertos.git diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index 2d8c7758..f0fd278c 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -47,12 +47,12 @@ include("../../path.common") CPU_DESC = [ "ATMEL AVR Microcontroller ", "8-bit RISC Architecture"] -# Special CPU related tags. -CPU_TAGS = ["harvard"] - # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "avr" +# Special CPU related tags. +CPU_TAGS = ["harvard", TOOLCHAIN] + # CPU default clock frequency CPU_DEFAULT_FREQ = "8000000UL" @@ -65,5 +65,5 @@ MK_DEBUG_SCRIPT = PRG_SCRIPTS_DIR + "nodebug.sh" MK_STOPDEBUG_SCRIPT = PRG_SCRIPTS_DIR + "none.sh" # Common GCC flags. -MK_CPU_CPPFLAGS = "-Os -fno-strict-aliasing -I" + CPU_DIR + "avr/" +MK_CPU_CPPFLAGS = "-Os -I" + CPU_DIR + "avr/"