Skip to content

1.8.3 malformed SAMD custom board config breaks arduino-cli #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stonehippo opened this issue Oct 14, 2021 · 3 comments
Closed

1.8.3 malformed SAMD custom board config breaks arduino-cli #90

stonehippo opened this issue Oct 14, 2021 · 3 comments

Comments

@stonehippo
Copy link
Contributor

The currently released version (1.8.3) fails to parse correctly when used with Arduino-cli. For example, when listing boards with arduino-clo board list and the Sparkfun board definitions installed, the following error occurs:

Error initializing instance: loading platform release SparkFun:[email protected]: loading boards: skipping loading of boards SparkFun:samd:samd51_thing_plus, SparkFun:samd:micromod_samd51: malformed custom board options

The fix for this is to add menu.cache=Cache to the boards.txt file. This change has already been made in the repo, but it looks like it’s not yet released.

Any details on the release of 1.8.4?

@bxparks
Copy link

bxparks commented Oct 15, 2021

Which Board Manager URL are you using?

I think the current URL in the README.md is obsolete:
https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json

You might try using the secret new URL (note master -> main below, I have no recollection where I got this):
https://raw.githubusercontent.com/sparkfun/Arduino_Boards/main/IDE_Board_Manager/package_sparkfun_index.json

That gives me 1.8.4 in the Board Manager, but I'm not sure if it is actually released for not. I get no notifications on the Release Notifications for this GitHub repo, and I don't see any Release artifacts either.

@stonehippo
Copy link
Contributor Author

Ah! That's it. The repo switched to the main branch convention, and that switched the URL. Resolved, and thanks!

@stonehippo
Copy link
Contributor Author

I have submitted #91 to update to the new board manager JSON URL (main), since the old one (master) is a cached version that won’t be getting any further updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants