summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/motor/encoder/test/Makefile
diff options
context:
space:
mode:
authorNicolas Schodet2011-03-30 01:09:44 +0200
committerNicolas Schodet2012-03-05 23:55:18 +0100
commitf30e14673a84863fd51ec36fcf771221335161ba (patch)
tree4a4d51c9df6f2be117371552e2030c4d3c19b92a /digital/avr/modules/motor/encoder/test/Makefile
parentdcb79f383269440ec2c5a54b6d7792fbb0110d5a (diff)
digital/avr/modules/motor: add new encoder module
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