Distributing custom board files... best way to do it?
Posted: Thu Mar 09, 2023 8:32 pm
So I've created a board variant, and it's working for me locally.
I'm wondering what the best way is to distribute it to other people?
Of course I could send a pull-request to the official STM32 core repository, wait for it to be approved and merged, wait for the next release, and then people could install that... but first-off I don't want to wait so long, and secondly I think it would be better to test on more OS and setups before taking that step.
So I guess I could "fork" the whole STM32 core, make my own release, create my own platform descriptor like the BoardManagerFiles project - then others could install my "alternative" STM32 core in place of the real one. Is that the intended way? It seems heavy-weight?
Is this also an option? Can one add just board files to the IDE while referencing the standard STM32 core?
https://arduino.github.io/arduino-cli/0 ... nt-or-tool
Or is there another method that people could suggest?
Thanks in advance for any pointers!

I'm wondering what the best way is to distribute it to other people?
Of course I could send a pull-request to the official STM32 core repository, wait for it to be approved and merged, wait for the next release, and then people could install that... but first-off I don't want to wait so long, and secondly I think it would be better to test on more OS and setups before taking that step.
So I guess I could "fork" the whole STM32 core, make my own release, create my own platform descriptor like the BoardManagerFiles project - then others could install my "alternative" STM32 core in place of the real one. Is that the intended way? It seems heavy-weight?
Is this also an option? Can one add just board files to the IDE while referencing the standard STM32 core?
https://arduino.github.io/arduino-cli/0 ... nt-or-tool
Or is there another method that people could suggest?
Thanks in advance for any pointers!