Trammell Hudson avatar Trammell Hudson committed 075bbba Draft

Path to avr tools in arduino system

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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.