From c9f14499885b3c087aa5b107156cc91b48917a7c Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 21 Mar 2013 00:35:55 +0100 Subject: digital/io-hub/src/apbirthday: add first I2C slave --- digital/io-hub/src/apbirthday/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'digital/io-hub/src/apbirthday/Makefile') 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 -- cgit v1.2.3