summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/trace/test/Makefile
blob: 07fbfe5cdff9dea3c2717a71b19e032b0f5237eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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

include $(BASE)/make/Makefile.gen