-
Notifications
You must be signed in to change notification settings - Fork 119
Description
Hi,
I think I've read all the possible information on the internet, but still can't find the solution.
Most likely I'm missing something or I don't understand the concept completely.
I have a custom board I want to add to the PIO, so potential customers will be able to start a new project using that board right from the PIO menus, without the need to copy any files locally.
The board have the needed JSON and it's own vriant files, since the pin mapping is different from any other available board.
Everything is working fine locally with all needed files in boards and variants directories in .platformio folder.
In Arduino IDE I can add my JSON configuration file as an additional board manager URLs, which will tell the IDE where to take the framework package needed for my new board.
I don't see how I can do that with PIO.
I can request to add the configuration JSON here:
https://github.com/platformio/platform-atmelsam/tree/develop/boards
But I can't find any way to provide the needed variant files.
I did find that location:
https://github.com/platformio/platformio-pkg-framework-arduinosam/tree/master/variants
But I'm not sure it's maintained since I can see the "SparkFun_SAMD_Mini" variant there, but not other SparkFun's boards, like the "SparkFun_SAMD21_Dev" for example, which is used here:
https://github.com/platformio/platform-atmelsam/blob/develop/boards/sparkfun_samd21_dev_usb.json
Will appreciate an explanation what I'm missing in the process.
The board is based on SAMD21 MCU and is intented for unexperienced users, so I want to easy on the installation process and remove files copy&paste steps.
Thanks.