Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
klalle
PostPosted: May 10, 2012 - 07:05 PM
Newbie


Joined: Apr 13, 2011
Posts: 3


Hi!
I am trying to help a friend to get started in avr programming on a Macintosh computer.

Is there a good code editor that highlights the code similar to AvrStudio 5 for mac?

What i'm after is that it knows the avr specific higlighting such as DDRA, PORTA, ADC and other usable bits/bytes...

A feature i like in avrstudio is that depending on which chip you chose, it only highlights the available bits/bytes.

Another wanted feature is the auto fill that pops up when i type the code.

I have tried UltraEdit so far, but cant find a way to highlight more than the ordinary C/C++ code...

/Kalle
 
 View user's profile Send private message  
Reply with quote Back to top
klalle
PostPosted: May 12, 2012 - 01:48 PM
Newbie


Joined: Apr 13, 2011
Posts: 3


Never mind... I found eclipse with a AVR-plugin:http://interactive-matter.eu/how-to/developing-software-for-the-atmel-avr-with-avr-eclipse-avr-gcc-avrdude/

It took ages for my computor to download the plugin, so to quicken it up I aborted and unchecked the box "contact all update sites during install to find required software"...

To get all the bits/bytes highlighted i configured: Window/Preferences/"C/C++"/Editor/Syntax Coloring/ in the box "Element" i chose a color to "Macro references" in the "Code" menu.
 
 View user's profile Send private message  
Reply with quote Back to top
dksmall
PostPosted: May 14, 2012 - 02:57 AM
Raving lunatic


Joined: Apr 16, 2001
Posts: 3522
Location: Phoenix, Arizona

With UltraEdit you edit the wordfile.txt file to add some AVR asm syntax to your files.
 
 View user's profile Send private message  
Reply with quote Back to top
haker_fox
PostPosted: May 14, 2012 - 05:33 AM
Resident


Joined: Oct 15, 2005
Posts: 530
Location: Russia, Far East Siberia, Irkutsk

klalle wrote:
Hi!
I am trying to help a friend to get started in avr programming on a Macintosh computer.

Take a look at Code::Blocks http://www.codeblocks.org/downloads/26#mac
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits