#
# Set to 1 for debug builds
-lm3s1968_DEBUG = 0
+lm3s1968_DEBUG = 1
# Our target application
TRG += lm3s1968
lm3s1968_CSRC = \
examples/lm3s1968/lm3s1968.c \
- bertos/cpu/cortex-m3/drv/irq.c \
- bertos/cpu/cortex-m3/drv/timer.c \
- bertos/cpu/cortex-m3/startup_lm3s.c
+ bertos/mware/formatwr.c \
+ bertos/mware/hex.c \
+ bertos/mware/sprintf.c \
+ bertos/drv/timer.c \
+ bertos/cpu/cortex-m3/drv/irq_lm3s.c \
+ bertos/cpu/cortex-m3/drv/timer_lm3s.c \
+ bertos/cpu/cortex-m3/drv/clock_lm3s.c \
+ bertos/cpu/cortex-m3/drv/kdebug_lm3s.c \
+ bertos/cpu/cortex-m3/hw/startup_lm3s.c
# This is an hosted application
lm3s1968_PREFIX = arm-none-eabi-
lm3s1968_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug -mthumb -fno-strict-aliasing -fwrapv
-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 -fno-strict-aliasing -fwrapv
+lm3s1968_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_LM3S1968__ -D'CPU_FREQ=(50000000L)' -D'WIZ_AUTOGEN' -g3 -gdwarf-2 -fverbose-asm -mthumb -Iexamples/lm3s1968 -Ibertos/cpu/cortex-m3 -fno-strict-aliasing -fwrapv
lm3s1968_LDFLAGS = -nostartfiles -T bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld -Wl,--no-warn-mismatch -fno-strict-aliasing -fwrapv
lm3s1968_CPU = cortex-m3