A friend of mine asked me today whether it is necessary to use the Arduino IDE for development. It just happened that I did the googling for the exact same thing a week ago, when I started developing Ardulike and missed the convenience of a real text editor.
Getting everything going is actually quite easy, thanks to the Arduino Makefile project:
- The arduino IDE is needed (for avr gcc and possibly other things)
- python-serial library is required as well (run
apt-get install python-serialon debian)
$ mkdir ~/src/ && git clone firstname.lastname@example.org:sudar/Arduino-Makefile.git ~/src/
- Check and modify the arduino makefile example, put the makefile into the same directory as the sources (.cpp, .h files).
make uploadto upload the sketch.
For reference, the Arduino Makefile has a really nice README.