aboutsummaryrefslogtreecommitdiff
path: root/examples/BlinkInAVRC/Makefile
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-20 16:14:32 -0400
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-20 16:14:32 -0400
commit086c6e96ca4b98e8a144b5f7f37a7b3b6fedc61d (patch)
treea400644b8017ab3842e980eaf5df0f4e7437ca47 /examples/BlinkInAVRC/Makefile
parent6f46722abb40c60dcaa0e40292342d015906c8bf (diff)
Move tests back to 'examples', skip non-testable examples when testing.
This fixes https://github.com/sudar/Arduino-Makefile/issues/259.
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..9080b24
--- /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
+
+include ../TestSuiteCommon.mk
+include $(ARDMK_DIR)/Arduino.mk
+
+# !!! Important. You have to use make ispload to upload when using ISP programmer