Skip to content

Allows us to have custom PlatformIO envs and configs#2234

Merged
liamcottle merged 2 commits intomeshcore-dev:devfrom
andyshinn:ashinn/allow-custom-pio-envs-and-config
Apr 4, 2026
Merged

Allows us to have custom PlatformIO envs and configs#2234
liamcottle merged 2 commits intomeshcore-dev:devfrom
andyshinn:ashinn/allow-custom-pio-envs-and-config

Conversation

@andyshinn
Copy link
Copy Markdown

This allows us to keep a platformio_override.ini in the project root that we can use for custom envs or config without needing to dirty git.

Copilot AI review requested due to automatic review settings April 3, 2026 01:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for a local, untracked PlatformIO override config so developers can define custom envs/settings without modifying tracked configuration.

Changes:

  • Include a root-level platformio_override.ini via PlatformIO’s extra_configs.
  • Ignore platformio_override.ini in Git to keep local overrides out of version control.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
platformio.ini Loads an optional root override config via extra_configs.
.gitignore Prevents local platformio_override.ini from being committed.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@liamcottle
Copy link
Copy Markdown
Member

Sounds good to me.

Can you please rename this to platformio.local.ini?

This will allow it to show underneath platformio.ini in alphabetical order, and also notes that it's a local only configuration.

@andyshinn
Copy link
Copy Markdown
Author

Sure, done.

@liamcottle liamcottle merged commit fb726e4 into meshcore-dev:dev Apr 4, 2026
9 checks passed
@andyshinn andyshinn deleted the ashinn/allow-custom-pio-envs-and-config branch April 4, 2026 04:42
vityevato added a commit to vityevato/MeshCore that referenced this pull request Apr 5, 2026
* dev: (206 commits)
  Allows us to have custom PlatformIO envs and configs (meshcore-dev#2234)
  fix: correct ADVERT_NAME for Generic ESPNow room server (was 'Heltec Room')
  fix: correct ADVERT_NAME for ThinkNode M5 (was M2)
  Added RAK12035 Soil Moisture and Temperature Sensor (meshcore-dev#2223)
  Fixed the initialization error of the BME680 sensor.
  Apply suggestion from @weebl2000
  Apply suggestion from @weebl2000
  double press top button to go back on gat562 mesh watch
  use top button to wake hibernated gat562 mesh watch
  Make sendNodeDiscoverReq() public for post-boot discovery
  Add missing methods in ESPNOWRadio()
  * more notes about number_allocations
  * number_allocations.md data-type range changes
  * docs changes for PAYLOAD_TYPE_GRP_DATA
  Reduce unnecessary compilation time
  * Companion: applyGPSPrefs() now just in one place (moved out of UITask)
  fix: apply persisted GPS enabled setting on boot for companion radio
  Support for GAT562 Mesh Watch13 device
  restore docs
  Fix default radio.rxgain for Station G2
  ...

# Conflicts:
#	src/helpers/CommonCLI.cpp
#	src/helpers/CommonCLI.h
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.

3 participants