-
Notifications
You must be signed in to change notification settings - Fork 450
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
Generate Platform.IO board definitions #426
Conversation
As part of the boards.txt generation, also make necessary files for Platform.IO. Fixes #399
This looks like a very good start, but there are some things to iron out:
The rest looks good. I can complete the fixup and testing of it by next week for sure. |
I also found a missing comma in the generated JSONs, fixed. Can you please eyeball things again, @maxgerhardt ? |
Also, I'm not sure about the PIO packaging process, but if you think we should combine it with the release process here, let me know. I push out bugfixes every 2-3 weeks, so I know it can be a pain keeping up if you manually have to generate a new PI O package. |
This looks very good now, I'll verify compilation in a project and report back.
This is not a problem yet since there is not yet a PlatformIO package of this core in the PlatformIO registry. The PlatformIO projects in the documentation reference the git link to this repo, and in my test projects they link to my fork https://github.com/maxgerhardt/arduino-pico, for which I can easily fetch upstream changes with just one button. After I get debugging finally working (with the help of hopefully raspberrypi people) and the toolchain package is published (earlephilhower/pico-quick-toolchain#4 and earlephilhower/pico-quick-toolchain#5 are still open), then I, or you, can publish the package in the PIO repository. From other repositories I have seen Github Action files which actually automate this -- I don't remember which one exactly, but I can have another look. After all though, all the github action must do is call |
Thanks for all your work on this guys. I'm really looking forward to building for (adafruit) RP2040 with PlatformIO |
Sooo I finally got around for a quick test and this is working properly now. The JSON files can be used as-is and I've already added them in my platform's 3 things:
|
Will merge after this one...
Sure, let's keep them here.
Also agreed, makes it easier for the end user I think. |
As part of the boards.txt generation, also make necessary files for
Platform.IO.
Fixes #399