I'm a Mac user <weathering the hisses and boos> so I don't have
AVRStudio for my avr-gcc stuff. I use Eclipse with the AVREclipse
plugin for my dev environment. I say all of this because the AVREclipse
plugin builds the make file automagically like any other "hand-holding"
IDE. You do have control over your gcc compiler options however so the
big deal is the auto makefile creation and a nice editor. The plugin
also supplies a nice device description tool that gives the port and
register names and addresses and lists all of the IRQ sources and the
GCC handles to use them.
The IDE has a "tools" section where I have avrdude configured so a
program of a part is just a push of a "button". Others have gotten GDB
and Avarice working in the IDE as well, but I've not tried that - I
don't use a programmer with debug capability, yet.
You can get Eclipse IDE for Windows too if that is your platform of
choice, or Linux as well. It works the same in all environments (JAVA
based).
DLC
David VanHorn wrote:
>> You can declare main like this instead:
>>
>> void main( void )
>> {
>> ....
>> }
>>
>> If you compile your code using the -ffreestanding option, then the
>> compiler won't complain that main doesn't return an int.
>
> Ok, I'd already found that I can declare the return as void, but the
> compiler does whine about it.
> I'm ok with that, although I really do prefer to have no warnings or errors.
>
> I'm definitely not ready to mess with makefiles yet, but I'll keep that in mind.
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------Message
Re: [AVR-Chat] Finally, really, actually, starting off with C
2009-01-07 by dlc
Attachments
- No local attachments were found for this message.