summaryrefslogtreecommitdiff
path: root/digital/avr/modules/motor/encoder/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'digital/avr/modules/motor/encoder/test/Makefile')
-rw-r--r--digital/avr/modules/motor/encoder/test/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/digital/avr/modules/motor/encoder/test/Makefile b/digital/avr/modules/motor/encoder/test/Makefile
new file mode 100644
index 00000000..0d15f5dc
--- /dev/null
+++ b/digital/avr/modules/motor/encoder/test/Makefile
@@ -0,0 +1,15 @@
+BASE = ../../../..
+PROGS = test_encoder_ext
+test_encoder_ext_SOURCES = test_encoder.c
+MODULES = utils uart proto math/fixed motor/encoder motor/encoder/ext
+CONFIGFILE = avrconfig_xmem.h
+# atmega8, atmega8535, atmega128...
+AVR_MCU = atmega128
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -Os
+
+TEST_MCU = atmega128
+TEST_CONFIGFILES = avrconfig_xmem.h avrconfig_io.h
+
+include $(BASE)/make/Makefile.gen