X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Finfo%2Favr.common;h=1dab8507ce193cfc577815d08a03441db0b05938;hb=ad78a25e6bfb87a82ea5ff441c054e64f99df17c;hp=be56dca656e2797667271cca760c5a86452a4160;hpb=1a4ce4505a66413f86bf364e796bc22169b95fef;p=bertos.git diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index be56dca6..1dab8507 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -53,29 +53,15 @@ CPU_TAGS = ["harvard"] # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "avr" -# Name of the flag used by the build system to pass to the compiler the CPU type. -CPU_FLAG_NAME = "MCU" - # CPU default clock frequency CPU_DEFAULT_FREQ = "8000000UL" # Where are locate the bertos directories SCRIPT_DIR = CPU_DIR + "avr/scripts/" -HW_DIR = CPU_DIR + "avr/hw/" -DRV_DIR = CPU_DIR + "avr/drv/" +MK_FLASH_SCRIPT = PRG_SCRIPTS_DIR + "avr/flash.sh" +MK_DEBUG_SCRIPT = PRG_SCRIPTS_DIR + "avr/debug.sh" # Common GCC flags. -C_FLAGS = [ "-Os", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"] - -SUPPORTED_DRV = [ "adc", - "flash", - "pwm", - "ser", - "sipo", - "timer", - "wdt", - "ic2", - "kdebug", - "lcd_32122a" ] +MK_CPU_CPPFLAGS = "-Os -fno-strict-aliasing -I" + CPU_DIR + "avr/"