Invalid version when using Core in Arduino CLI (macOS) #253
-
|
Following the instructions from the readme, I added a symlink in my Sketchbook directory: However, I don't see the board in the IDE or CLI and get a "Error initializing instance: Error loading hardware platform: invalid version directory /Users/jberi/Documents/Arduino/hardware/arduino-git/zephyr/ArduinoCore-zephyr: no major version found." Not sure where to set that! Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hey @beriberikix, thanks for posting this, the instructions can definitely be made more explicit. "The core" in the instructions refers to the while you have The irony is that the CLI supports having 3 levels of nested folders inside |
Beta Was this translation helpful? Give feedback.
Hey @beriberikix, thanks for posting this, the instructions can definitely be made more explicit. "The core" in the instructions refers to the
ArduinoCore-zephyrdirectory inside of the Zephyr workspace. Theboards.txtfile should ultimately be inwhile you have
The irony is that the CLI supports having 3 levels of nested folders inside
hardware(so, it found your core), but assumes the last level is the version number, and "ArduinoCore-zephyr" isn't quite SemVer-compatible! 😅