From 79b6705bfc60ed17ddbf6c36ead99e9f5c3c7404 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 26 Feb 2014 21:06:30 +0100 Subject: Old SPI code is now disabled, new SPI code succesfully reads out WM8523 chip id. Needs lots of cleaning... --- firmware/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'firmware/Makefile') 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 \ -- cgit v1.2.3