Society of Robots - Robot Forum

Software => Software => Topic started by: airman00 on November 04, 2010, 06:25:27 PM

Title: Better AVR Studio Solution
Post by: airman00 on November 04, 2010, 06:25:27 PM
Hey All,
I'm looking for a better way to program AVRs in C than AVR Studio.
AVR studio is great, but it doesn't collapse functions or keep track of variables and functions in a side bar. Autocomplete of variable names would be pretty useful as well. Geany is one editor that does these features: http://sociallysour.org/uploads/geany_symbols.jpg (http://sociallysour.org/uploads/geany_symbols.jpg)

However, the one thing that AVR studio has thats really essential to me is the Program button that easily interfaces to my ISP programmer to program my device. Another essential piece is the Device selector that loads up all the #defines that work in the background defining all the registers for the specific device that I'm using ( e.g. PORTB)

Are there any environments out there that can program AVRs easily ( set fuses, select device, etc.) but also has collapsible subroutines feature or at least a sidebar that keeps track of subroutines and variables?

thanks in advance
Title: Re: Better AVR Studio Solution
Post by: Webbot on November 04, 2010, 06:59:25 PM
Eclipse - with the AVR plug-in.
Takes some setting up - but I use it for everything: Java, C, C++, PHP, Ruby etc
Title: Re: Better AVR Studio Solution
Post by: airman00 on November 04, 2010, 07:16:59 PM
Eclipse - with the AVR plug-in.
Takes some setting up - but I use it for everything: Java, C, C++, PHP, Ruby etc
Wow that looks really good! Thanks!

So this will actually work on any platform ( Mac, Windows, Linux), right?
Title: Re: Better AVR Studio Solution
Post by: Metal Slug 2 on November 04, 2010, 09:14:12 PM
Hmm...working on getting arduino up and running in netbeans...Then it will be smooth sailing! =) god bless code folds :) (and auto-completion)
Title: Re: Better AVR Studio Solution
Post by: Webbot on November 05, 2010, 12:27:42 PM
So this will actually work on any platform ( Mac, Windows, Linux), right?
Eclipse itslf is written in Java - so 'yes'. But some caveats...

Eclipse is effectively a generic IDE - its not targeted at any given programming language its just a framework. You then install the plug-ins for the languages and tool sets you want to use. So this can be languages like C/C++/Java etc - but also stuff like Android mobile phone apps, UML diagrams.... the list is endless.

In fact some people release their own apps that are built on top of Eclipse. So the look and feel, common GUI components, are all provided by Eclipse - and their app is just the one and only plugin.