Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork35
Invalid version when using Core in Arduino CLI (macOS)#253
-
Following theinstructions 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? |
BetaWas this translation helpful?Give feedback.
All reactions
👀 1
Hey@beriberikix, thanks for posting this, the instructions can definitely be made more explicit. "The core" in the instructions refers to theArduinoCore-zephyr directoryinside of the Zephyr workspace. Theboards.txt file should ultimately be in
$sketchbook/hardware/arduino-git/zephyr/while you have
$sketchbook/hardware/arduino-git/zephyr/ArduinoCore-zephyr/The irony is that the CLI supports having 3 levels of nested folders insidehardware (so, it found your core), but assumes the last level is the version number, and "ArduinoCore-zephyr" isn't quite SemVer-compatible! 😅
Replies: 1 comment 1 reply
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
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 |
BetaWas this translation helpful?Give feedback.
All reactions
👀 1
-
Yay, that was it! |
BetaWas this translation helpful?Give feedback.