Hi,
I already took a look at the official documentation about this but I didn't find an explanation for how to start making a board definition file including a json for the boards manager.
I am currently working on a custom board and I want to change some pin definitions and stuff.
Are there any informations about that available?
Hi @thor4115. The Arduino boards platform framework is documented here:
https://arduino.github.io/arduino-cli/latest/platform-specification/
The Boards Manager package index is documented here:
https://arduino.github.io/arduino-cli/latest/package_index_json-specification/
I recommend using an existing boards platform as a model for your own project. You may be able to find an existing platform for the same architecture as the board you are using. There is a fairly comprehensive list of platforms here:
https://github.com/per1234/inoplatforms/blob/main/ino-hardware-package-list.tsv
If you don't find a relevant platform, the "Arduino AVR Boards" platform is fairly easy to understand:
Take note of the referencing features of the Arduino boards platform framework:
This feature makes it possible to create very minimal platforms by referencing relevant resources from existing platforms. This feature was used to create the foundational "attiny" boards platform by David Mellis in a manner that was fairly easy to implement and maintain due to referencing most of its resources from the existing "Arduino AVR Boards" platform:
Another example of such a platform here:
Thank you very much! Exactly what I was looking for.
if it is only your version of some existing board, you don't have to do a full boards package
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.