I just installed GCC and it's up running with the test software
But when I change target to a tiny12 in the makefile, I get the error device not supported
but there are include files for the tiny12, do I need to change a flag somewhere ?
I just installed GCC and it's up running with the test software
But when I change target to a tiny12 in the makefile, I get the error device not supported
but there are include files for the tiny12, do I need to change a flag somewhere ?
When I tried it with the MCU = attiny12 I got several lines of error messages. One said to report any bugs to www.gnu.org/software/gcc/bugs.html
When I tried it with the MCU = atmega103l I get a list of the MCUs it is suppose to support. I'm using MCU = atmega103 (no "L" at the end) and that works.
Check the avr/include directory under your base GCC directory. This will have files for all the processor models supported.
The TARGET parameter in the makefile is used to include the proper io files for example. So it has to be correct.
It is doubtful that gccavr supports the AVR devices without SRAM. As far as I know, we have the only high level compiler available for those devices (1200 and tinyAVR). You can download our fully functional 30 day demo of ICCtiny C compiler and try it out. While it is not free (beer or speech), it is reasonably priced at $129.
// richard
http://www.imagecraft.com