summaryrefslogtreecommitdiff
path: root/digital/avr/modules/uart/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'digital/avr/modules/uart/test/Makefile')
-rw-r--r--digital/avr/modules/uart/test/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/digital/avr/modules/uart/test/Makefile b/digital/avr/modules/uart/test/Makefile
new file mode 100644
index 00000000..4f394f2a
--- /dev/null
+++ b/digital/avr/modules/uart/test/Makefile
@@ -0,0 +1,18 @@
+BASE = ../../..
+PROGS = test_uart
+SIMU_PROGS = test_uart
+test_uart_SOURCES = test_uart.c
+MODULES = uart utils
+CONFIGFILE = avrconfig_ring.h
+# atmega8, atmega8535, atmega128...
+AVR_MCU = atmega8
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -O2
+
+# Test compilations.
+TEST_MCU = atmega8 atmega8535 atmega128
+TEST_CONFIGFILES = avrconfig_ring.h avrconfig_polling.h avrconfig_twoports.h
+avrconfig_twoports_TEST_MCU = atmega128
+
+include $(BASE)/make/Makefile.gen