(Please send replies to the avr-gcc list as well, so other can benefit
and people will not be doing double work).

Hey Domenico,

> My situation is a bit 'special, because the code in question works
> without problems if I use a normal editor (Jedit) and a Makefile that
> leads directly to WinAVR.
> 
> Now I'm trying to use Netbeans for development in C, but copying the exact 
> same code on Netbeans MCUCR and JTD
> only are not identified, while for all other symbols are ok.
That suggestes to me that indeed -mmcu is not passed.
> 
> I suppose I should tell Netbeans that I want to use a processor
> atmega324pa but it is not easy, because Netbeans does not allow you to
> edit the Makefile (after the changes automatically restores the
> original values​​).
Can you not set compiler options in Netbeans? I would be surprised if
you couldn't. If so, try adding "-mmcu=atmega324pa" there.


> I'm not particularly fond of Netbeans but I'd use an IDE or just an
> intelligent editor for the C language to speed-up my work and reduce
> editing errors. Have you any suggestion?
I use vim and make, so I don't have any suggestion :-)

Gr.

Matthijs

Attachment: signature.asc
Description: Digital signature

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to