From 0149f34daf9d39e002993b604ae575ceb0eea01e Mon Sep 17 00:00:00 2001 From: Sudar Date: Sat, 15 Jun 2013 19:42:13 +0530 Subject: Add an example to show how to compile AVR C files --- examples/BlinkInAVRC/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 examples/BlinkInAVRC/Makefile (limited to 'examples/BlinkInAVRC/Makefile') 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 -- cgit v1.2.3