summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/trace/test/Makefile
blob: 89dbbf51ba57719d08cc83ec595b22ddc2a3db38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
BASE = ../../..
TOOLS= $(BASE)/../../tools
AVR_PROGS = test_trace flood
HOST_PROGS = test_trace flood
EXTRA_CLEAN_FILES=../events.h events.host.c

test_trace_SOURCES = test-trace.c events.host.c
flood_SOURCES = flood.c events.host.c

MODULES = utils spi flash proto uart trace
CONFIGFILE = avrconfig.h
# atmega8, atmega8535, atmega128...
AVR_MCU = atmega128
# -O2 : speed
# -Os : size
OPTIMIZE = -O2

events:
	python $(TOOLS)/trace/trace.py -i $(TOOLS)/trace/example/trace.trc -t create -o
	mv events.h ..

include $(BASE)/make/Makefile.gen