Skip to content

Commit

Permalink
add arduino makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Augsburger committed Jul 10, 2015
1 parent 0804614 commit 818496e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
*~
*bak
*.hex
*.swp
youyue858d.atsuo
youyue858d.atsln
/Debug
/Release
/Visual Micro
/Visual Micro
/build-*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Arduino-Makefile"]
path = Arduino-Makefile
url = https://github.com/sudar/Arduino-Makefile
1 change: 1 addition & 0 deletions Arduino-Makefile
Submodule Arduino-Makefile added at e3d97f
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile

BOARD_TAG = lilypad
ARDUINO_DIR = ${HOME}/bin/arduino-1.6.5
BOARD_SUB = atmega328
# BOARD_SUB = atmega168
ISP_PROG = atmelice_isp
ISP_PORT = usb
ISP_LOW_FUSE = 0xe2
ISP_HIGH_FUSE = 0xdf
ISP_EXT_FUSE = 0xfd
AVRDUDE = /usr/bin/avrdude
AVRDUDE_CONF = /etc/avrdude.conf
AVRDUDE_ARD_PROGRAMMER = atmelice_isp
include ./Arduino-Makefile/Arduino.mk

# fuses for atmega168
#
#ISP_LOW_FUSE = 0xe2
#ISP_HIGH_FUSE = 0xdd
#ISP_EXT_FUSE = 0xff

0 comments on commit 818496e

Please sign in to comment.