X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fcpu%2Favr%2Finfo%2Favr.common;h=5bb40dee108eccc8226f6869ee0f60ef6089aad6;hb=019ad4b6e3fca2cbe5e739c94385aadd8dd16bfa;hp=140c207627b107a42839b8f747fdb070dec6d587;hpb=0e3af97aae82cb7ca21366ff2c6cbb2794ae956a;p=bertos.git diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index 140c2076..5bb40dee 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -53,29 +53,16 @@ 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/" +PROG_SCRIPT_DIR = "prog_scripts/avr/" +MK_FLASH_SCRIPT = PROG_SCRIPT_DIR + "flash.sh" +MK_DEBUG_SCRIPT = PROG_SCRIPT_DIR + "debug.sh" # Common GCC flags. -CPP_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/"