Define cpu core macro for makefile.
[bertos.git] / bertos / cpu / msp430 / info / MSP430F2274.cdef
index 9cdcc2533d218918ba7828346bf2739fef552aab..f357c3cd8e289eaa50acb46425a5ede1f583694c 100644 (file)
@@ -51,4 +51,7 @@ CPU_DESC += [ "32 Kbytes Flash",
 # If we use the GCC compiler we should pass some flags.
 CORE_CPU = "msp430x2274"
 
+# GCC flags for this cpu.
+MK_CPU_CPPFLAGS += " -D__MSP430F2274__"
+
 include("msp430_post.common")