summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/apbirthday/Makefile
diff options
context:
space:
mode:
authorNicolas Schodet2013-03-21 00:35:55 +0100
committerNicolas Schodet2013-03-21 00:35:55 +0100
commitc9f14499885b3c087aa5b107156cc91b48917a7c (patch)
tree6748851c34f13f8c70a8edde481ab285f8b52fce /digital/io-hub/src/apbirthday/Makefile
parent32c28a77698a34f7fb5f0499553db05321afa9b5 (diff)
digital/io-hub/src/apbirthday: add first I2C slave
Diffstat (limited to 'digital/io-hub/src/apbirthday/Makefile')
-rw-r--r--digital/io-hub/src/apbirthday/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/digital/io-hub/src/apbirthday/Makefile b/digital/io-hub/src/apbirthday/Makefile
index 1e83e9a9..89458a08 100644
--- a/digital/io-hub/src/apbirthday/Makefile
+++ b/digital/io-hub/src/apbirthday/Makefile
@@ -3,11 +3,12 @@ BASE = ../../../ucoolib
TARGETS = host stm32f4
PROGS = apbirthday
apbirthday_SOURCES = main.cc robot.cc hardware.host.cc hardware.stm32.cc \
+ i2c_queue.cc asserv.cc \
top.cc \
angfsm.host.c angfsm_gen_arm_AI.arm.c \
$(AVR_SOURCES)
-MODULES = hal/gpio hal/uart hal/usb base/proto
+MODULES = utils hal/gpio hal/uart hal/usb hal/i2c base/proto
# Hack mode, include old code from AVR modules.
AVR_MODULES = math/geometry math/fixed
@@ -22,6 +23,10 @@ AVR_SOURCES = $(foreach module,$(AVR_MODULES),$($(subst /,_,$(module))_SOURCES))
INCLUDES += -I$(BASE)/../ai/src/fsm -I.
vpath %.c $(BASE)/../ai/src/fsm
+# Common files.
+INCLUDES += -I../common-cc
+vpath %.cc ../common-cc
+
include $(BASE)/build/top.mk
clean: clean.project