X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Finfo%2Favr.common;h=f0fd278c7a2e78dfe7ff9945d411e1dd78133f01;hb=1c6068d9cd0c1a2bc396f4cc2d99a9b64f9d82d0;hp=690850fead47235f646aa58b92b19ade3d5f87a8;hpb=7d79dfd13c8c9f191a7316544b4d95872329e5d0;p=bertos.git diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index 690850fe..f0fd278c 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -50,32 +50,20 @@ CPU_DESC = [ "ATMEL AVR Microcontroller ", # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "avr" -# Where are locate the bertos directories -SCRIPT_DIR = CPU_DIR + "avr/script/" -HW_DIR = CPU_DIR + "avr/hw/" -DRV_DIR = CPU_DIR + "avr/drv/" +# Special CPU related tags. +CPU_TAGS = ["harvard", TOOLCHAIN] +# CPU default clock frequency +CPU_DEFAULT_FREQ = "8000000UL" -# Common GCC flags. -C_FLAGS = [ "-O0", "-fno-strict-aliasing"] +# Where are locate the bertos directories +SCRIPT_DIR = CPU_DIR + "avr/scripts/" +MK_FLASH_SCRIPT = PRG_SCRIPTS_DIR + "avr/flash.sh" +MK_STOPFLASH_SCRIPT = PRG_SCRIPTS_DIR + "avr/stopflash.sh" +MK_DEBUG_SCRIPT = PRG_SCRIPTS_DIR + "nodebug.sh" +MK_STOPDEBUG_SCRIPT = PRG_SCRIPTS_DIR + "none.sh" -# If you want to use, one o more, of these modules in your project you should compile in -# different way. -PC_SRC = [ "kdebug", - "formartwr", - "sprintf", - "text_format", - "text" ] +# Common GCC flags. +MK_CPU_CPPFLAGS = "-Os -I" + CPU_DIR + "avr/" -SUPPORTED_DRV = [ "adc", - "flash", - "pwm", - "ser", - "sipo", - "timer", - "wdt", - "ic2", - "kdebug", - "lcd_32122a" ] -