views:

201

answers:

2

hi.

I would like to use emacs as a development environment for arduino programming. If you use emacs to program arduino, can you share some tips or links which you find useful.

Is there official (or de facto) emacs mode?

Also, am I going to miss something which is in arduino IDE if I use emacs exclusively?

thank you .

+1  A: 

Arduino code is just c++ wearing a dress and hat. You should be able to use that mode in emacs without problems. You may miss the one-click-compile-and-transfer button, as well as the organization of the libraries from the official IDE. You can replicate either in emacs of course. There is nothing the official IDE does that emacs can't do.

x1a4
thanks. I have found couple makefiles with `make upload`, etc. rules which I plan to borrow to replace one click
aaa
Right on. If you're comfortable with emacs already, you're good to go.
x1a4
+1  A: 

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

I just edit stuff in emacs, then switch to ide to just hit compile and upload. No need for makefiles.

Hamza Yerlikaya
thank you, I will give a shout tomorrow
aaa