summaryrefslogtreecommitdiff
path: root/firmware/Makefile
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-02-26 21:06:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2014-02-26 21:06:30 +0100
commit79b6705bfc60ed17ddbf6c36ead99e9f5c3c7404 (patch)
tree0b11a3c4f39f6a5ba6389b70b0d225ade3b656f5 /firmware/Makefile
parent1b6d3f9ee7fad554f23b05d7e4a09c3ec9635636 (diff)
Old SPI code is now disabled, new SPI code succesfully reads out WM8523 chip id. Needs lots of cleaning...
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index f7edae3..acd193f 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -25,7 +25,7 @@ RM = rm
#Q = # @./quiet "$@"
# Flags
-CFLAGS = -W -Wall -O0 --std=gnu99 -fgnu89-inline -mcpu=cortex-m3 -mthumb
+CFLAGS = -W -Wall -Werror -O0 --std=gnu99 -fgnu89-inline -mcpu=cortex-m3 -mthumb
CFLAGS += -ffunction-sections -fdata-sections
CFLAGS += -I${LPC} -I${DRV}
ASFLAGS =
@@ -45,7 +45,10 @@ LINKER_SCRIPT = ${LPC}/LPC17xx.ld
CSRCS = \
${LPC}/startup_LPC17xx.c \
${LPC}/system_LPC17xx.c \
- $(wildcard ${SRC}/*.c)
+ ${LPC}/lpc17xx_spi.c \
+ ${LPC}/lpc17xx_clkpwr.c \
+ $(wildcard ${SRC}/*.c) \
+ $(wildcard ${DRV}/*.c)
# ${DRV}/*.c \