Is there a specification for the board manger json for 3rd party/contributed boards? I am trying to create one, but it is not showing up in the Board Manager after I add it to the Arduino | preferences | Additional Board Manager URLs. I copied the format from one which was working for me (https://atc1441.github.io/D6Library/package_nRF5_boards_index.json) but mine is not working (https://ljunquera.github.io/smartwatch-boards.json). I have rebooted Arduino.
Hi @lj001.
The specification is here:
https://arduino.github.io/arduino-cli/latest/package_index_json-specification/
The problem is the file name is not compliant with this part of the specification:
The file must be named as follows:
package_YOURNAME_PACKAGENAME_index.json
The prefix
package_
and the postfix_index.json
are mandatory (otherwise the index file is not recognised by the Arduino development software) while the choice ofYOURNAME_PACKAGENAME
is left to the packager.
So a compliant file name would be something like package_smartwatch-boards_index.json
.
Try it again after renaming the file and updating the URL in your Arduino IDE preferences and then let me know if you have any questions or problems.
Thank you! Got it now. I wasn't expecting a naming convention for the file name.
You are welcome. I'm glad if I was able to be of assistance.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.