From 55d7d7857f81204c5c090717abc5028d44dd368d Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 11 Nov 2010 23:21:09 +0000 Subject: [PATCH] Add cpu def for msp430g2231. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4551 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/msp430/info/MSP430G2231.cdef | 57 +++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 bertos/cpu/msp430/info/MSP430G2231.cdef 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") -- 2.25.1