Merge contributed patch to extend support of atxmega.
[bertos.git] / bertos / cpu / avr / info / ATxmega32D4.cdef
index 57a1496e0a835fe52582282821d4bcc13e4a615f..6d93446aaebb05d7c37d78fc6991215c139e37b0 100644 (file)
@@ -40,7 +40,7 @@
 
 
 # Import the common settings for the path.
-include("avr.common")
+include("xmega.common")
 
 # Short description of the cpu.
 CPU_DESC += [ "32 Kbyte in-System Programmable Flash",
@@ -50,7 +50,7 @@ CPU_DESC += [ "32 Kbyte in-System Programmable Flash",
 
 # If we use the GCC compiler we should pass some flags.
 CORE_CPU = "atxmega32d4"
-HW_DIR = CPU_DIR + "avr/hw/"
-MK_CPU_CSRC = HW_DIR + "init_xmega.c"
+# add a family tag for the wizard
+CPU_TAGS += ["xmegad4"]
 
 include("avr_post.common")