SpenceKonde / ATTinyCore

Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
Other
1.57k stars 306 forks source link

Can't upload by micronucleus in 1.5.1 - wrong path (Linux) #534

Closed pcfreak1201 closed 3 years ago

pcfreak1201 commented 3 years ago

Hi Spence, after updating to 1.5.1 on my Linux, "I can't upload" the blink-sketch:

/home/stefan/.arduino15/packages/ATTinyCore/tools/micronucleus/2.5-azd1/micronucleus-2.5/micronucleus --no-ansi --run --timeout 60 /tmp/arduino_build_755075/Blink_Tiny88.ino.hex 
java.io.IOException: Cannot run program "/home/stefan/.arduino15/packages/ATTinyCore/tools/micronucleus/2.5-azd1/micronucleus-2.5/micronucleus": error=2, Datei oder Verzeichnis nicht gefunden (File or Folder not found)

The path is: /home/stefan/Arduino/arduino15/packages/ATTinyCore/tools/micronucleus/2.5-azd1/micronucleus not: /home/stefan/.arduino15/packages/ATTinyCore/tools/micronucleus/2.5-azd1/micronucleus-2.5/micronucleus (after copying the uploader in the required and generated path, it works )

SpenceKonde commented 3 years ago

ARGH!!!!

On windows, works in 1.5.1 and not in 1.5.0 for the inverse reason.

On Sat, Mar 6, 2021 at 4:28 AM pcfreak1201 notifications@github.com wrote:

Hi Spence, after updating to 1.5.1 on my Linux, "I can't upload" the blink-sketch:

/home/stefan/.arduino15/packages/ATTinyCore/tools/micronucleus/2.5-azd1/micronucleus-2.5/micronucleus --no-ansi --run --timeout 60 /tmp/arduino_build_755075/Blink_Tiny88.ino.hex java.io.IOException: Cannot run program "/home/stefan/.arduino15/packages/ATTinyCore/tools/micronucleus/2.5-azd1/micronucleus-2.5/micronucleus": error=2, Datei oder Verzeichnis nicht gefunden (File or Folder not found)

The path is: /home/stefan/Arduino/arduino15/packages/ATTinyCore/tools/micronucleus/2.5-azd1/micronucleus not: /home/stefan/.arduino15/packages/ATTinyCore/tools/micronucleus/2.5-azd1/ micronucleus-2.5/micronucleus (after copying the uploader in the required and generated path, it works )

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SpenceKonde/ATTinyCore/issues/534, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTXEW2DTVVKW5YEDDM7FULTCHYSRANCNFSM4YWRMVZQ .

--


Spence Konde Azzy’S Electronics

New products! Check them out at tindie.com/stores/DrAzzy GitHub: github.com/SpenceKonde ATTinyCore https://github.com/SpenceKonde/ATTinyCore: Arduino support for all pre-2016 tinyAVR with >2k flash! megaTinyCore https://github.com/SpenceKonde/megaTinyCore: Arduino support for all post-2016 tinyAVR parts! DxCore https://github.com/SpenceKonde/DxCore: Arduino support for the AVR Dx-series parts, the latest and greatest from Microchip! Contact: spencekonde@gmail.com

SpenceKonde commented 3 years ago

1.5.1 is pulled, problem was actually with the windows tool archive, that will be updated, and a new release made available shortly.

SpenceKonde commented 3 years ago

Thanks for reporting, 1.5.2 is now out, and it sounds like it works every where