X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Finfo%2Fatmega1281.cdef;fp=bertos%2Fcpu%2Favr%2Finfo%2Fatmega1281.cdef;h=fe97cabe51e4f75b6bd6b118cacdecc9f306af50;hb=5d616a1ec23fde3660d77949ec1edc5bfce2f977;hp=0000000000000000000000000000000000000000;hpb=81aa9192a666837a2391978e11ce788bf82cd17d;p=bertos.git diff --git a/bertos/cpu/avr/info/atmega1281.cdef b/bertos/cpu/avr/info/atmega1281.cdef new file mode 100644 index 00000000..fe97cabe --- /dev/null +++ b/bertos/cpu/avr/info/atmega1281.cdef @@ -0,0 +1,70 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATMega1281. +# +# 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 = "atmega1281" + +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 ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] +