From: asterix Date: Thu, 11 Nov 2010 23:21:09 +0000 (+0000) Subject: Add cpu def for msp430g2231. X-Git-Tag: 2.7.0~385 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=55d7d7857f81204c5c090717abc5028d44dd368d;p=bertos.git Add cpu def for msp430g2231. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4551 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/msp430/info/MSP430G2231.cdef b/bertos/cpu/msp430/info/MSP430G2231.cdef new file mode 100644 index 00000000..0dd7a963 --- /dev/null +++ b/bertos/cpu/msp430/info/MSP430G2231.cdef @@ -0,0 +1,57 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the MSP430G2231. +# +# This file contains all the info for the BeRTOS wizard. +# +# \author Daniele Basile +# +# + +# Import the common settings for the path. +include("msp430.common") + +# Short description of the cpu. +CPU_DESC += [ "1 Kbytes Flash", + "128 byte internal SRAM"] + +# If we use the GCC compiler we should pass some flags. +# Probaly msp430-gcc typos.. +CORE_CPU = "msp430x2012" + +# GCC flags for this cpu. +MK_CPU_CPPFLAGS += " -D__MSP430G2231__" + +include("msp430_post.common")