diff options
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 \ |