adafruit / ci-arduino

A script that will install all of the common dependencies for testing Arduino library builds using Github Actions
MIT License
116 stars 73 forks source link

Added Arduino Pi Pico platform. #153

Open PaulMartinsen opened 1 year ago

PaulMartinsen commented 1 year ago

Support for testing examples against the Arduino Pi Pico was added by extending the ALL_PLATFORMS collection in build_platforms.py. The new key, pi_pico, was added to main_platforms so it is included by default. Tested by running the tests on our Arduino library.

ladyada commented 1 year ago

please remove frmo 'main_platforms' - that means something special for our libraries and we dont want to add this board to our default :)

PaulMartinsen commented 1 year ago

Done. Thanks for creating this; it has been very helpful.

Would you consider a PR that read the platforms to test from a file in the repository being tested, with fallback to main_platforms if file wasn't present?

brentru commented 1 year ago

@PaulMartinsen Hi - going through this repo and noticed this PR hasn't been resolved. It looks almost ready to me:

There are now a number of pico rp2040 platforms added which use the Philhower core. Could you add the mbed core underneath these and mention me when done?