X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Finfo%2Fatmega32.cdef;h=8e35d718ec091728466ff8093889ac571532ccd2;hb=8b1e6d10597ba815349c0488b0fd9b419294d77e;hp=126069cf1ddfc960261c10c45b8f9326e3031e6f;hpb=5d616a1ec23fde3660d77949ec1edc5bfce2f977;p=bertos.git diff --git a/bertos/cpu/avr/info/atmega32.cdef b/bertos/cpu/avr/info/atmega32.cdef index 126069cf..8e35d718 100644 --- a/bertos/cpu/avr/info/atmega32.cdef +++ b/bertos/cpu/avr/info/atmega32.cdef @@ -31,40 +31,18 @@ # Copyright 2008 Develer S.r.l. (http://www.develer.com/) # # --> -# +# # Cpu info of the ATMega32. -# +# # This file contain all info for the BeRTOS wizard. # # \author Daniele Basile # # -# Where are locate the bertos directories -BERTOS_CPU_DIR = "bertos/cpu/" -BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "avr/script/" -BERTOS_HW_DIR = BERTOS_CPU_DIR + "avr/hw/" - -# Type of the toolchain we should use to compile the source for this CPU. -TOOLCHAIN = "avr" - -# If we use the GCC compiler we should pass some flags. -CORE_CPU = "atmega32" - -C_FLAGS = [ "-fno-strict-aliasing" ] - -CPPA_FLAGS = [] - -CPP_FLAGS = [] - -LD_FLAGS = [] - -CPPA_SRC = [] - -# 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 ] +# Import the common settings for the path. +include("avr.common") -# For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] +# If we use the GCC compiler we should pass some flags. +CORE_CPU += "atmega32"