From: asterix Date: Fri, 22 Oct 2010 20:00:58 +0000 (+0000) Subject: Define cpu core macro for makefile. X-Git-Tag: 2.6.0~5^2~68 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=94f23fc17d4a4a56e66d76e76f23ca35c176f3a6;hp=bfe473a7e8951b16edbd6559b828a37e6ce378aa;p=bertos.git Define cpu core macro for makefile. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4452 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/msp430/info/MSP430F2274.cdef b/bertos/cpu/msp430/info/MSP430F2274.cdef index 9cdcc253..f357c3cd 100644 --- a/bertos/cpu/msp430/info/MSP430F2274.cdef +++ b/bertos/cpu/msp430/info/MSP430F2274.cdef @@ -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")