FS#78697 - [avr-gcc] avr-gcc does not target attiny202
Attached to Project:
Arch Linux
Opened by Joshua Milas (Buster) - Saturday, 03 June 2023, 23:37 GMT
Last edited by Toolybird (Toolybird) - Sunday, 04 June 2023, 20:31 GMT
Opened by Joshua Milas (Buster) - Saturday, 03 June 2023, 23:37 GMT
Last edited by Toolybird (Toolybird) - Sunday, 04 June 2023, 20:31 GMT
|
Details
Description:
avr-gcc seems to be missing some targets that are described in the avr-gcc documentation (https://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html). Specifically I am trying to target the attiny202 and I am unsure if there are others. I compiled avr-gcc myself and do not see the target there either. I also cannot find the crtattiny202.o file. I do not see anything strange in the PKGBUILD script and I also don't see anything in the ./configure script to enable or disable certain targets. Additional info: * package version(s) avr-gcc: 12.2.0 Steps to reproduce: Run `avr-gcc --target-help | grep attiny202` and see if there is any output |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 04 June 2023, 20:31 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Sunday, 04 June 2023, 20:31 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
I think you might be looking in the wrong place. The support seems to be there if you do this:
$ avr-gcc -mmcu=attiny202 -Q --help=target
Note what it says in the output for "-mmcu=MCU"
> I also cannot find the crtattiny202.o
The crt* files come from "avr-libc" pkg. Support for attiny202 is added upstream, but not in a released version yet [1]
[1] https://github.com/avrdudes/avr-libc/commit/960a359d854001399b8fb445a9ad0ce3ea80f4d0