|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
GCC Compiler support for ATtiny10Is there C compiler support for the ATtiny10 in AVR studio v4.17's GCC
compiler. I cannot find header nor io.h files for it? Best Regards Rodney _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
|
|
Re: GCC Compiler support for ATtiny10"Rodney McCray" <res1zgde@...> wrote:
> Is there C compiler support for the ATtiny10 in AVR studio v4.17's > GCC compiler. There's probably not even assembler support for it. This device is much unlike any other AVR (assuming you mean the "new" ATtiny10, rather than the historical one), in that it only offers half of the register file. For just 1 KiB of flash ROM (or even only 512 B for its ATtiny5 derivative), it's probably best to resort to assembly language anyway. For such a small instruction memory, every word counts. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
|
|
RE: GCC Compiler support for ATtiny10> -----Original Message----- > From: > avr-gcc-list-bounces+eric.weddington=atmel.com@... > [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu. > org] On Behalf Of Rodney McCray > Sent: Friday, October 09, 2009 2:55 PM > To: avr-gcc-list@... > Subject: [avr-gcc-list] GCC Compiler support for ATtiny10 > > Is there C compiler support for the ATtiny10 in AVR studio v4.17's GCC > compiler. I cannot find header nor io.h files for it? > Hi Rodney, That is correct, ATtiny10 is not supported yet in the AVR GCC toolchain. No, I don't have a timeframe yet for its support. And you could have just emailed me directly. Eric Weddington _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
|
|
Re: GCC Compiler support for ATtiny10Weddington, Eric wrote:
> > >> -----Original Message----- From: >> avr-gcc-list-bounces+eric.weddington=atmel.com@... >> [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu. org] >> On Behalf Of Rodney McCray Sent: Friday, October 09, 2009 2:55 PM >> To: avr-gcc-list@... Subject: [avr-gcc-list] GCC Compiler >> support for ATtiny10 >> >> Is there C compiler support for the ATtiny10 in AVR studio v4.17's >> GCC compiler. I cannot find header nor io.h files for it? >> > > Hi Rodney, > > That is correct, ATtiny10 is not supported yet in the AVR GCC > toolchain. No, I don't have a timeframe yet for its support. > > And you could have just emailed me directly. > > Eric Weddington I've just had a quick look at the datasheet for this device. In some ways, it should be easier for gcc than the ordinary avr's (the flash is mapped to the data area, and there is no distinction between "high" and "low" registers). But I'd guess that there would have to be a number of changes to get avr-gcc to work here. The zero and tmp registers would have to be changed, since registers 0 and 1 don't exist. Perhaps the other missing registers could be disabled by declaring dummy global register variables? And while having the flash in the data space is nicer, it still means changes. The Tiny10 is a nice device in many ways - very small and cheap. But its use is limited by its silly programming scheme - it requires 5V power and 5V singles on 3 of the 4 IO pins. If the rest of your circuit is less than 5V, you'll spend almost as much money, and a lot more space, on voltage protection for in-circuit programming. Realistically, these devices must be programmed before mounting. _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
| Free embeddable forum powered by Nabble | Forum Help |