Go Down

Topic: What IDE for Library Development? (Read 2 times) previous topic - next topic

victorf

I hope I have the proper forum for this question.

I want to develop several libraries and would like to know what IDE is used to develop the code?

Any enlightenment will be appreciated.

Vic
Vic Fraenckel
KC2GUI
windswaytoo ATSIGN gmail DOT com

avenue33

Hi!

The Arduino IDE is perfect for library development.

Check here for a complete tutorial.

Enjoy  ;)

JanD

The Arduino IDE works for library development, but to make one, you MUST have a .pde file. You could then use the left pointing arrow at the top left side and then choose New Tab. Then you can choose a file name and the wanted extension (.h or .cpp). As sad, this MUST have an .pde file. If you don't want that you can use another IDE like Qt Creator or Eclipse. I use Qt Creator and it works great. There is one commercial and one non-commercial version available of the Qt Creator.


Hi!

The Arduino IDE is perfect for library development.

Check here for a complete tutorial.

Enjoy  ;)


That tutorial is of course good.

ALWAYS remember you must put #include <WProgram.h> on top of both your header file and source file.

JanD

mowcius

Heh, stick to simple - notepad works fine :)

frank26080115

NetBeans or Eclipse

once you know how to use them, you'll never go back to Arduino's IDE
Freelance engineer, consultant, contractor. Graduated from UW in 2013.

JanD


NetBeans or Eclipse

once you know how to use them, you'll never go back to Arduino's IDE


I can't say the your right. Eclipse and Qt Creator (I haven't heard of NetBeans) are much better than the Arduino IDE, but you can't upload from them. There is an AVR plugin for Eclipse, but it doesn't work (easy) with the Arduino core files.

So for library development; you are right. For Arduino program development, you are wrong.

JanD

frank26080115

Just make a makefile that does everything the Arduino IDE does, one of the old Arduino versions even came with one. The core files are just a bunch of files that gets compiled and linked along with your own files. Also make sure your makefile includes the AVRDUDE command.

Or use Eclipse or NetBeans with Arduino in external editor mode, do anything to avoid typing in that thing.
Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Graynomad

I use Netbeans and run a makefile from within it. No IDE required and no swapping to a DOS window.

Having said that using Notepad and swapping to a DOS window to run the makefile is a good way to go as well.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Prawnhead

There are 3 kinds of people in the world. Those who are good at maths, and those who aren't.

orbitalair

windows only: crimson editor
linux/win cross: scite

uploading is just avrdude, learn the cmd line and you can upload from anything that allows user tools to be added.

Go Up