Commits

Trammell Hudson  committed 075bbba Draft

Path to avr tools in arduino system

  • Participants
  • Parent commits ef0370b

Comments (0)

Files changed (1)

 
 # Define programs and commands.
 SHELL = sh
-CC = avr-gcc
-OBJCOPY = avr-objcopy
-OBJDUMP = avr-objdump
-SIZE = avr-size
-AR = avr-ar rcs
-NM = avr-nm
-AVRDUDE = avrdude
+AVRPATH = /Applications/Arduino.app/Contents//Resources/Java/hardware/tools/avr/bin/
+CC = $(AVRPATH)/avr-gcc
+OBJCOPY = $(AVRPATH)/avr-objcopy
+OBJDUMP = $(AVRPATH)/avr-objdump
+SIZE = $(AVRPATH)/avr-size
+AR = $(AVRPATH)/avr-ar rcs
+NM = $(AVRPATH)/avr-nm
+AVRDUDE = $(AVRPATH)/avrdude -C $(AVRPATH)/../etc/avrdude.conf
 REMOVE = rm -f
 REMOVEDIR = rm -rf
 COPY = cp