From: arighi Date: Wed, 14 Apr 2010 10:47:42 +0000 (+0000) Subject: lm3s1968: integrate the porting in the wizard. X-Git-Tag: 2.5.0~470 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=5ae31722271d6484af62d3a853dac1e188628861;p=bertos.git lm3s1968: integrate the porting in the wizard. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3438 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/info/LM3S1968.cdef b/bertos/cpu/cortex-m3/info/LM3S1968.cdef new file mode 100644 index 00000000..c3019c43 --- /dev/null +++ b/bertos/cpu/cortex-m3/info/LM3S1968.cdef @@ -0,0 +1,64 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# General CPU info denfinition for Cortex-M3-based LM3S1968 board. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Andrea Righi +# +# + +# Import the common settings for the path. +include("cm3.common") + +# CPU type used for flashing/debugging +MK_PROGRAMMER_CPU = "lm3s1968" + +# CPU default clock frequency +CPU_DEFAULT_FREQ = "50000000UL" + +# Special CPU related tags. +CPU_TAGS += ["lm3s"] + +# Additional hw drivers. +MK_CPU_CSRC += DRV_DIR + "gpio_lm3s.c " + DRV_DIR + "clock_lm3s.c " + +# Short description of the cpu. +CPU_DESC += [ "256 Kbytes on-chip flash memory", + "64 Kbytes on-chip SRAM memory" ] + +# GCC flags for this cpu. +MK_CPU_CPPFLAGS += " -D__ARM_LM3S1968__" +MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "lm3s1968_rom.ld"