# Copyright 2008 Develer S.r.l. (http://www.develer.com/)
#
# -->
-#
+#
# Cpu info of the ATMega168.
-#
+#
# This file contain all info for the BeRTOS wizard.
#
# \author Daniele Basile <asterix@develer.com>
#
#
-# 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 = "atmega168"
-
-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 += "atmega168"