From 8e6335ad1ff9df290693d5f4bbf919c205d846cc Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Mon, 18 May 2009 13:03:56 +0200 Subject: * digital/io/src: - integrate trace usage into flash. --- digital/io/src/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'digital/io/src/Makefile') diff --git a/digital/io/src/Makefile b/digital/io/src/Makefile index 947b03c0..0f4a18ef 100644 --- a/digital/io/src/Makefile +++ b/digital/io/src/Makefile @@ -7,7 +7,7 @@ io_SOURCES = main.c asserv.c servo.avr.c eeprom.avr.c sharp.c pwm.c \ switch.avr.c chrono.c main_timer.avr.c servo_pos.c \ simu.host.c contact.c # Modules needed for IO. -MODULES = proto uart twi utils adc math/fixed path +MODULES = proto uart twi utils adc math/fixed path trace flash spi # Configuration file. CONFIGFILE = avrconfig.h # IO board use an ATMega128. @@ -19,3 +19,8 @@ OPTIMIZE = -O2 FSM_SOURCES := top move filterbridge elevator cylinder init # Include FSM makefile. include $(BASE)/make/Makefile.fsm + +trace_event.h: trace.trc + PYTHONPATH=$(BASE)/../../host python $(BASE)/../../tools/trace/trace.py -t create -e $(@:%.h=%_t) -i $< -o $@ + +main.c: trace_event.h -- cgit v1.2.3