aboutsummaryrefslogtreecommitdiff
path: root/examples/BlinkInAVRC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/BlinkInAVRC/Makefile')
-rw-r--r--examples/BlinkInAVRC/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/BlinkInAVRC/Makefile b/examples/BlinkInAVRC/Makefile
new file mode 100644
index 0000000..5dd4c5c
--- /dev/null
+++ b/examples/BlinkInAVRC/Makefile
@@ -0,0 +1,17 @@
+# This sample Makefile, explains how you can compile plain AVR C file.
+#
+# Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile
+
+NO_CORE = Yes
+
+BOARD_TAG = atmega16
+MCU = atmega16
+F_CPU = 8000000L
+
+ISP_PROG = stk500v1
+AVRDUDE_ISP_BAUDRATE = 19200
+ISP_PORT = /dev/ttyACM*
+
+include $(ARDMK_DIR)/arduino-mk/Arduino.mk
+
+# !!! Important. You have to use make ispload to upload when using ISP programmer