diff options
| author | Sudar <sudar@sudarmuthu.com> | 2013-06-15 19:42:13 +0530 |
|---|---|---|
| committer | Sudar <sudar@sudarmuthu.com> | 2013-06-15 19:42:13 +0530 |
| commit | 0149f34daf9d39e002993b604ae575ceb0eea01e (patch) | |
| tree | 07f5125d372a7d4e8758dacb7fa82050474e7dda /examples/BlinkInAVRC/Makefile | |
| parent | 0028fabc64c63f889fc0a9e1eae7943bb18e1357 (diff) | |
Add an example to show how to compile AVR C files
Diffstat (limited to 'examples/BlinkInAVRC/Makefile')
| -rw-r--r-- | examples/BlinkInAVRC/Makefile | 17 |
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 |
