aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorUwe Hermann2009-12-30 23:09:14 +0100
committerUwe Hermann2009-12-30 23:09:14 +0100
commita7a3770d5198d26c963127094a18175696f04827 (patch)
tree3900ce3cbf1d790142c4c3b13cae4580b6655678 /lib/Makefile
parent821873acacd77139bc77a48f1f31631a474e3026 (diff)
Add initial SPI code.
For now, add the following basic SPI functions: - spi_init_master() - spi_write() - spi_read() This is incomplete and untested, yet. Also, add some more SPI bit definition macros and comments.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 8dd2a08..855aa9b 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -27,7 +27,7 @@ CFLAGS = -Os -g -Wall -Wextra -I../include -fno-common \
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes
# ARFLAGS = rcsv
ARFLAGS = rcs
-OBJS = rcc.o gpio.o usart.o adc.o
+OBJS = rcc.o gpio.o usart.o adc.o spi.o
# Be silent per default, but 'make V=1' will show all compiler calls.
ifneq ($(V),1)