summaryrefslogtreecommitdiff
path: root/digital/dev2/src/usb_twi/Makefile
diff options
context:
space:
mode:
authorNicolas Schodet2010-11-29 23:08:04 +0100
committerNicolas Schodet2010-11-29 23:08:04 +0100
commitbfabdf3ed83f75bd36be16e23dda54b5d1e38520 (patch)
treee8cb6864592ba64aec47b80eb319cf25148fca2d /digital/dev2/src/usb_twi/Makefile
parent74e86e39840c2d83811b01ddc69acecde2b104ab (diff)
digital/dev2: add TWI master module
Diffstat (limited to 'digital/dev2/src/usb_twi/Makefile')
-rw-r--r--digital/dev2/src/usb_twi/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/digital/dev2/src/usb_twi/Makefile b/digital/dev2/src/usb_twi/Makefile
new file mode 100644
index 00000000..48a85cfc
--- /dev/null
+++ b/digital/dev2/src/usb_twi/Makefile
@@ -0,0 +1,14 @@
+BASE = ../../../avr
+AVR_PROGS = dev2_twi
+dev2_twi_SOURCES = main.c descriptors.c select.c usb_twi.c
+MODULES = usb twi
+CONFIGFILE = avrconfig.h
+AVR_MCU = at90usb162
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -Os
+
+INCLUDES = -I.. -I.
+vpath %.c ../common
+
+include $(BASE)/make/Makefile.gen