Programming attiny10 error in IDE? - SOLVED

Hello, I'm trying to program the attiny10 using the arduino version 1.8.19. I'm scared to upload the newer version thinking it might break something. So I stuck with this version.

My problem is Trying to program the attiny10 and getting this errors.

c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find crtattiny10.o: No such file or directory
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib\libm.a when searching for -lm
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lm
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0\libgcc.a when searching for -lgcc
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lgcc
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib\libm.a when searching for -lm
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lm
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib\libc.a when searching for -lc
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lc
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lattiny10
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board ATtiny10 (bitDuino10-arduinoTPI).

Not sure what to do about this. I searched online and most say to go into the board manager under Arduino AVR boards select a older version such as 1.6.23. I have tried that and even a older version then that. I still keep getting errors left and right. Someone please help me to figure this out?

Joseph

Which board package are you using? Please provide the additional URL that you have specified in file / preferences for the attiny10.

1 Like

I'm using this Json url https://kimio-kosaka.github.io/bitDuino10-arduinoTPI/package_bitDuino10-arduinoTPI_index.json

This board manager bitDuino10. Which I found on https://make.kosakalab.com/make/electronic-work/arduino_tpi_en/ By doing a google search.

OK, I can not install that board package; might be windows only and I'm currently using Linux.

Based on the below quoted text from the second link that you did provide, you will not necessarily need a different board package but another version of the IDE. I would download a zip of the (older) IDE of choice and create a portable install. Next install the attiny10 board package; I would not upgrade the AVR board package, just use the default that comes with the IDE.

1 Like

I'm using 1.8.18 currently at the moment. Trying to find another attiny10 board manager. I think this one is no longer being supported.

A portable install of e.g. IDE 1.8.9 will not interfere with your current install; that's the beauty of portable installs.

Maybe GitHub - technoblogy/attiny10core: For programming the ATtiny10/9/5/4. will do; though it's not exactly Arduino functions :slight_smile:

1 Like

That worked. That attinycore 10 worked on my version. And it is slightly newer then mine. But it does work. Thank you very much.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.