summaryrefslogtreecommitdiff
path: root/TERES-HID/makefile
diff options
context:
space:
mode:
authord3v1c3nv11 <d3v1c3nv11@users.noreply.github.com>2017-11-06 13:25:24 +0200
committerGitHub <noreply@github.com>2017-11-06 13:25:24 +0200
commit77b9bcf22cc036f71ad5e0d51d3a452c69a10ff5 (patch)
treefed90cee20e6dff90a06ab6c588d32d271d2c7f6 /TERES-HID/makefile
parenteaa92d348ab7e89c09cc1b057067980cc8c7a1d8 (diff)
Add files via upload
Diffstat (limited to 'TERES-HID/makefile')
-rw-r--r--TERES-HID/makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/TERES-HID/makefile b/TERES-HID/makefile
new file mode 100644
index 0000000..28aba61
--- /dev/null
+++ b/TERES-HID/makefile
@@ -0,0 +1,44 @@
+#
+# LUFA Library
+# Copyright (C) Dean Camera, 2015.
+#
+# dean [at] fourwalledcubicle [dot] com
+# www.lufa-lib.org
+#
+# --------------------------------------
+# LUFA Project Makefile.
+# --------------------------------------
+
+# Run "make help" for target help.
+
+MCU = atmega32u4
+ARCH = AVR8
+#BOARD = OLIMEX32U4
+F_CPU = 16000000
+F_USB = $(F_CPU)
+OPTIMIZATION = s
+TARGET = KeyboardMouse
+SRC = $(TARGET).c Descriptors.c $(LUFA_SRC_USB) $(LUFA_SRC_USBCLASS) $(LUFA_SRC_TWI)
+LUFA_PATH = ../lufa-LUFA-151115/LUFA
+#LUFA_PATH = ../lufa-LUFA-170418/LUFA
+CC_FLAGS = -DUSE_LUFA_CONFIG_HEADER -IConfig/
+LD_FLAGS =
+FLASH_SIZE_KB = 32
+BOOT_SECTION_SIZE_KB = 4
+# Default target
+all:
+
+# Include LUFA build script makefiles
+include $(LUFA_PATH)/Build/lufa_core.mk
+include $(LUFA_PATH)/Build/lufa_sources.mk
+include $(LUFA_PATH)/Build/lufa_build.mk
+include $(LUFA_PATH)/Build/lufa_cppcheck.mk
+include $(LUFA_PATH)/Build/lufa_doxygen.mk
+include $(LUFA_PATH)/Build/lufa_dfu.mk
+include $(LUFA_PATH)/Build/lufa_hid.mk
+include $(LUFA_PATH)/Build/lufa_avrdude.mk
+include $(LUFA_PATH)/Build/lufa_atprogram.mk
+
+#install:
+#avrdude -pm32u4 -cavr109 -P/dev/ttyACM0 -Uflash:w:KeyboardMouse.hex:a
+#avrdude -V -D -pm32u4 -cstk500v2 -P/dev/ttyACM0 -Uflash:w:KeyboardMouse.hex:a -U hfuse:w:0xD9:m