Skip to content

Instantly share code, notes, and snippets.

@rngtng
Created September 7, 2011 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rngtng/1200204 to your computer and use it in GitHub Desktop.
Save rngtng/1200204 to your computer and use it in GitHub Desktop.
Example Makefile to compile Arduino logic analyzer on Mac OS X
ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
TARGET = logic_analyzer
ARDUINO_LIBS =
AVRDUDE_CONF = /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf
#MCU = atmega328p
MCU = atmega1280
F_CPU = 16000000
ARDUINO_PORT = /dev/tty.usb*
AVRDUDE_ARD_BAUDRATE = 57600
AVRDUDE_ARD_PROGRAMMER = stk500v1
include ~/Sites/arduino/arduino-mk/Arduino.mk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment