Skip to content

Board-local-txt #784

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Board-local-txt #784

wants to merge 6 commits into from

Conversation

tyeth
Copy link
Member

@tyeth tyeth commented Jul 24, 2025

This is meant to solve a head scratcher. We're likely to want to support a few boards that have their board define as a plain ESP module, like the DFRobot C3 uses ESP32C3_DEV.

See espressif/arduino-esp32#6883 (comment)

Currently it would be a first come first served, but I have a plan... We add a boards.local.txt or platform.local.txt in wippersnapper that provides an extra define for those kinds of boards. We effectively use the extra_flags or board.defines to define -DWS_DFROBOT_ESP32C3, and have a similar entry in platformIO.ini

I've added a new argument to ci-arduino/build-platforms.py for --boards-local-txt which can take an optional file location (or current working directory default), and will attempt to copy that into the correct platform folder after installing the platform.
adafruit/ci-arduino@ci-wippersnapper...ci-wippersnapper-boards-local-txt

Matching tooling PR:
adafruit/ci-arduino#217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant