tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
347 stars 213 forks source link

unable to install in arduino 2 beta #130

Open dickshaydle opened 3 years ago

dickshaydle commented 3 years ago

I cannot Install sduino on arduino 2 beta. On v1.8.13 it works to install it.

Error Message:

Downloading packages
sduino:sdcc@build.11242
sduino:stm8@0.5
Installing sduino:STM8Tools@2019.02.05
sduino:STM8Tools@2019.02.05 installed
Installing sduino:sdcc@build.11242
sduino:sdcc@build.11242 installed
Installing sduino:stm8@0.5
Failed to install platform: sduino:stm8.
Error: 2 UNKNOWN: installing platform sduino:stm8@0.5: searching package root dir: no unique root dir in archive, found '/home/user/.arduino15/tmp/package-636989126/STM8S_StdPeriph_Driver' and '/home/user/.arduino15/tmp/package-636989126/cores'

Arduino Version:

Version: 2.0.0-beta.6
Date: 2021-05-12T10:22:15.408Z
CLI Version: 0.18.2 alpha [7b5a22a4]
jay-ramani commented 2 years ago

+1. I've run into the same issue. Looked up the issue and found something similar in #https://github.com/arduino/arduino-cli/issues/325. From the discussion, looks like it needs a fix in the package.

@tenbaht, would you be able to help us? Thanks in advance for the attention.

P. S: Did anyone manage to figure a workaround for Arduino IDE v2, given that the bug was reported on 22nd May 2021?

Arduino version:

Version: 2.0.0-rc5
Date: 2022-03-10T11:09:10.332Z
CLI Version: 0.21.0 [10107d24]
Kturner05 commented 3 months ago

Still not working as of May 2024.