You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, during attempt to import this library using TinyRF-v1.7.zip I got following error:
Arduino library specification mandates that there should be root folder in zip file. The only change necessary to seamlessly import this library is to put all files in release zip to root folder with library name. I tested it in Arduino IDE 2.1.1, CLI version 0.32.3, but the same should be the case at least from version 1.8.10 when library specification rev.2.2 was introduced.
Source: https://arduino.github.io/arduino-cli/0.33/library-specification/#15-library-format-rev-22
I don't know if it's possible to add root folder to release without modifying repo in the same way (quick reasearch doesn't indicate that). If not then removal of installation method via arduino's ' "Add .ZIP Library..." from "How to install the library" section should be good enough.
EDIT: "Source code (zip)" and "Source code (tar.gz)" releases have mentioned root directory but "TinyRF-v1.7.zip" and "TinyRF_85-v1.7.zip" don't. Source code releases on the other hand have unnecessary, from Arduino's point of view, VS code files but they don't seem to do any harm.
The text was updated successfully, but these errors were encountered:
Hi, during attempt to import this library using TinyRF-v1.7.zip I got following error:
Arduino library specification mandates that there should be root folder in zip file. The only change necessary to seamlessly import this library is to put all files in release zip to root folder with library name. I tested it in Arduino IDE 2.1.1, CLI version 0.32.3, but the same should be the case at least from version 1.8.10 when library specification rev.2.2 was introduced.
Source: https://arduino.github.io/arduino-cli/0.33/library-specification/#15-library-format-rev-22
I don't know if it's possible to add root folder to release without modifying repo in the same way (quick reasearch doesn't indicate that). If not then removal of installation method via arduino's ' "Add .ZIP Library..." from "How to install the library" section should be good enough.
EDIT: "Source code (zip)" and "Source code (tar.gz)" releases have mentioned root directory but "TinyRF-v1.7.zip" and "TinyRF_85-v1.7.zip" don't. Source code releases on the other hand have unnecessary, from Arduino's point of view, VS code files but they don't seem to do any harm.
The text was updated successfully, but these errors were encountered: