[elektro] avr-gcc --> attiny10, attiny20, attiny4, attiny40, attiny5, attiny9

Szima Gábor sygma at tesla.hu
Thu Jun 25 13:35:22 CEST 2015


On Thu, 25 Jun 2015, zulu wrote:

> hogyan kell lefordítani a gcc-t, hogy a fenti csipekre is tudjon fordítani?
> https://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html#AVR-Options szerint:
>
> avrtiny
>    ˙˙TINY˙˙ Tiny core devices with 512 B up to 4 KiB of program memory.
>    mcu = attiny10, attiny20, attiny4, attiny40, attiny5, attiny9.
>
> A http://www.atmel.com/tools/atmelavrtoolchainforlinux.aspx címen van ilyen toolchain, de gcc4.8.1-el, az hibátlanul fordít. Annak
> a config paramétereit felhasználva sem hozta létre az avr/lib/avrtiny könyvtárat a gcc4.9.2-t fordítva, így avr-gcc: error:
> unrecognized argument in option '-mmcu=attiny4' hibával elszáll a fordító. A neten is csak panaszt olvastam, megoldást nem.

https://gcc.gnu.org/onlinedocs/

These are manuals for the latest full releases.

     GCC 5.1 manuals:
         ^^^

Goto http://robotlab.itk.ppke.hu/gcc/releases/gcc-5.1.0/


 									-Sygma



More information about the Elektro mailing list