target without SRAM

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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 ?

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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.

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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.

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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

Richard Man http://imagecraft.com

Beyond Arduino - When you're ready to get serious...
JumpStart C Tools, The Better Alternative.