r3 cam rotate test
[svn42.git] / avr-projects / r3cam-steppermotor / Makefile
diff --git a/avr-projects/r3cam-steppermotor/Makefile b/avr-projects/r3cam-steppermotor/Makefile
new file mode 100644 (file)
index 0000000..ac1b80e
--- /dev/null
@@ -0,0 +1,42 @@
+##\r
+##  spreadspace avr utils\r
+##\r
+##\r
+##  Copyright (C) 2012 Christian Pointner <equinox@spreadspace.org>\r
+##\r
+##  This file is part of spreadspace avr utils.\r
+##\r
+##  spreadspace avr utils is free software: you can redistribute it and/or modify\r
+##  it under the terms of the GNU General Public License as published by\r
+##  the Free Software Foundation, either version 3 of the License, or\r
+##  any later version.\r
+##\r
+##  spreadspace avr utils is distributed in the hope that it will be useful,\r
+##  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+##  GNU General Public License for more details.\r
+##\r
+##  You should have received a copy of the GNU General Public License\r
+##  along with spreadspace avr utils. If not, see <http://www.gnu.org/licenses/>.\r
+##\r
+\r
+NAME := r3cam-steppermotor\r
+BOARD_TYPE := minimus32\r
+OBJ := $(NAME).o\r
+LIBS := util led lufa-descriptor-usbserial\r
+EXTERNAL_LIBS := lufa\r
+\r
+LUFA_PATH := ../contrib/LUFA-120219\r
+LUFA_OPTS  = -D USB_DEVICE_ONLY\r
+LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0\r
+LUFA_OPTS += -D ORDERED_EP_CONFIG\r
+LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8\r
+LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1\r
+LUFA_OPTS += -D USE_FLASH_DESCRIPTORS\r
+LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"\r
+LUFA_OPTS += -D INTERRUPT_CONTROL_ENDPOINT\r
+\r
+LUFA_OPTS += -D USB_MANUFACTURER="L\"equinox\""\r
+LUFA_OPTS += -D USB_PRODUCT="L\"$(NAME)\""\r
+\r
+include ../include.mk\r