summaryrefslogtreecommitdiff
path: root/n/avr/modules/uart/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/modules/uart/test/Makefile')
-rw-r--r--n/avr/modules/uart/test/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/n/avr/modules/uart/test/Makefile b/n/avr/modules/uart/test/Makefile
new file mode 100644
index 0000000..3f162fc
--- /dev/null
+++ b/n/avr/modules/uart/test/Makefile
@@ -0,0 +1,22 @@
+BASE = ../../..
+PROGS = test_uart
+test_uart_SOURCES = test_uart.c
+DOC =
+EXTRACTDOC =
+MODULES = uart utils
+CONFIGFILE = avrconfig_ring.h
+# atmega8, atmega8535, atmega128...
+AVR_MCU = atmega8
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -O2
+
+DEFS =
+LIBS =
+
+# Test compilations.
+TEST_MCU = atmega8 atmega8535 atmega128
+TEST_CONFIGFILES = avrconfig_ring.h avrconfig_polling.h avrconfig_twoports.h
+avrconfig_twoports_MCU = atmega128
+
+include $(BASE)/make/Makefile.gen