Define cpu core macro for makefile.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 22 Oct 2010 20:00:58 +0000 (20:00 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 22 Oct 2010 20:00:58 +0000 (20:00 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4452 38d2e660-2303-0410-9eaa-f027e97ec537

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")