aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorUwe Hermann2010-03-01 21:47:14 +0100
committerUwe Hermann2010-03-01 21:47:14 +0100
commit742c5951144a3446dc48067f8216b2882bbad363 (patch)
treea199ea987c06a9c7fa9298bb5d1d5390baab3476 /lib/Makefile
parent5455b0970eb0435578d9213936915ed83cff0496 (diff)
Add initial set of I2C functions.
Thomas Otto has tested the code by successfully talking to a temperature sensor from ST in master tranciever mode. Thanks Thomas Otto <tommi@viadmin.org> for the patch!
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 909fcac..aca3ead 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -27,7 +27,8 @@ CFLAGS = -Os -g -Wall -Wextra -I../include -fno-common \
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes
# ARFLAGS = rcsv
ARFLAGS = rcs
-OBJS = vector.o rcc.o gpio.o usart.o adc.o spi.o flash.o nvic.o rtc.o
+OBJS = vector.o rcc.o gpio.o usart.o adc.o spi.o flash.o nvic.o \
+ rtc.o i2c.o
# Be silent per default, but 'make V=1' will show all compiler calls.
ifneq ($(V),1)