Created
December 10, 2012 18:10
-
-
Save rsobik/4252224 to your computer and use it in GitHub Desktop.
Sublime Text 2 Project File for Arduino and SublimeClang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": | |
[ | |
{ | |
"path": "." | |
} | |
], | |
"settings": | |
{ | |
"sublimeclang_options": | |
[ | |
"-D__AVR_ATmega328P__", | |
"-DARDUINO=100", | |
"-DF_CPU=16000000L", | |
"-Wno-unknown-attributes", | |
"-Wno-attributes", | |
"-I${folder:${project_path:NAME_HERE.sublime-project}}/lib/**", | |
"-I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino", | |
"-I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard", | |
"-I/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr/include", | |
"-I/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr/include/**" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi! thanks for this useful gist! :)
I have some question though: where did you find that you should configure it like that? Is it valid for every Arduino board or just the Uno? What should I change if I'm using the Arduino Mega2560?
Cheers!