Re: My program doesn't recognize MCUCR
Matthijs Kooijman <[email protected]>
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <[email protected]> |
(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 _______________________________________________ AVR-GCC-list mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAlKpogMACgkQz0nQ5oovr7xZsACfYN/S5etAwypgfJZnkxL1ErGA 4BcAn21nZXYANnK6G7knzq+uE+qQVgHL =u+lD -----END PGP SIGNATURE-----