[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] My program doesn't recognize MCUCR
From: |
Matthijs Kooijman |
Subject: |
Re: [avr-gcc-list] My program doesn't recognize MCUCR |
Date: |
Thu, 12 Dec 2013 12:46:11 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
(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
signature.asc
Description: Digital signature