Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Arduino Emacs development

Tags:

emacs

arduino

I would like to use Emacs as a development environment for Arduino programming. What are some tips or links to use Emacs to program Arduino?

Is there an official (or de facto) Emacs mode?

Also, am I going to miss something in Arduino IDE if I use Emacs exclusively?

like image 573
Anycorn Avatar asked May 28 '10 17:05

Anycorn


2 Answers

There's a nice Arduino mode on GitHub.

Just wraps cc-mode, but it does a nice job.

Update:

The EmacsWiki has a page dedicated to Ardunio Support for Emacs. The setup has a few steps but once done it allows you to compile and upload sketches from inside Emacs.

like image 166
ayman Avatar answered Oct 17 '22 19:10

ayman


You can enable an external editor option that will allow you to edit projects using external editors and then use the Arduino IDE as some kind of terminal just for compiling and uploading.

I just edit stuff in Emacs, then switch to the IDE to just hit compile and upload. No need for makefiles.

like image 11
Hamza Yerlikaya Avatar answered Oct 17 '22 19:10

Hamza Yerlikaya