From 94f23fc17d4a4a56e66d76e76f23ca35c176f3a6 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 22 Oct 2010 20:00:58 +0000 Subject: [PATCH] Define cpu core macro for makefile. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4452 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/msp430/info/MSP430F2274.cdef | 3 +++ 1 file changed, 3 insertions(+) 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") -- 2.25.1