diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-02-26 21:06:30 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-02-26 21:06:30 +0100 |
commit | 79b6705bfc60ed17ddbf6c36ead99e9f5c3c7404 (patch) | |
tree | 0b11a3c4f39f6a5ba6389b70b0d225ade3b656f5 /firmware/Makefile | |
parent | 1b6d3f9ee7fad554f23b05d7e4a09c3ec9635636 (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/Makefile | 7 |
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 \ |