From 2f33fc36b3aa6b53d7e0b1827401303ae7d67c02 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 24 Dec 2010 18:50:48 +0100 Subject: digital/avr/common: add bus macros --- digital/avr/common/test/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 digital/avr/common/test/Makefile (limited to 'digital/avr/common/test/Makefile') diff --git a/digital/avr/common/test/Makefile b/digital/avr/common/test/Makefile new file mode 100644 index 00000000..b4f7e3db --- /dev/null +++ b/digital/avr/common/test/Makefile @@ -0,0 +1,18 @@ +BASE = ../.. +PROGS = test_io_bus +ASM_FILES = test_asm_bus.lst test_asm_manual.lst +EXTRA_CLEAN_FILES = $(ASM_FILES) +test_io_bus_SOURCES = test_io_bus.c +MODULES = math/random +CONFIGFILE = /dev/null +AVR_MCU = atmega128 +# -O2 : speed +# -Os : size +OPTIMIZE = + +include $(BASE)/make/Makefile.gen + +avr: $(ASM_FILES) +test_asm_%.lst: test_io_bus.avr.lst + sed -ne '/test_asm_$*>:$$/,/ret$$/p' < $< \ + | sed -e 's/^[ 0-9a-f]\{4\}:\t[ 0-9a-f]\{5\}/\t/' > $@ -- cgit v1.2.3