Rename CLOCK_FREQ macro to CPU_FREQ: now clock frequency has to be set in the makefile.
[bertos.git] / examples / lm3s1968 / lm3s1968.mk
1 #
2 # $Id: lm3s1968.mk 18234 2007-10-08 13:39:48Z rasky $
3 # Copyright 2006 Develer S.r.l. (http://www.develer.com/)
4 # All rights reserved.
5 #
6 # Makefile fragment for DevLib lm3s1968 application.
7 #
8 # Author: Manuele Fanelli <qwert@develer.com>
9 #
10 #
11
12 # Set to 1 for debug builds
13 lm3s1968_DEBUG = 0
14
15
16 # Our target application
17 TRG += lm3s1968
18
19 lm3s1968_CSRC = \
20         examples/lm3s1968/lm3s1968.c \
21         #bertos/cpu/cortex-m3/startup_lm3s.c
22
23 # This is an hosted application
24 lm3s1968_PREFIX = arm-none-eabi-
25
26 lm3s1968_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug -mthumb
27 lm3s1968_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_LM3S1968__ -D'CPU_FREQ=(48023000L)' -g3 -gdwarf-2 -fverbose-asm -mthumb  -Iexamples/lm3s1968 -Ibertos/cpu/cortex-m3
28 lm3s1968_LDFLAGS = -nostartfiles -T examples/lm3s1968/standalone.ld -Wl,--no-warn-mismatch
29
30 lm3s1968_CPU = cortex-m3
31