Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.8k
PlatformIO: Restructure networking_base for re-use#8964
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
ce629b7 to770ac87CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull request overview
This PR restructures the PlatformIO networking dependency configuration to improve code reusability and eliminate duplication. The refactoring renamesnrf52_networking_base tonetworking_base (making it platform-agnostic), and extracts the Syslog dependency into a newnetworking_extra section for devices with sufficient flash space.
Key changes:
- Renamed
nrf52_networking_base→networking_baseto support broader platform use (e.g., pioarduino) - Renamed
networking_base→networking_extraand moved Syslog dependency to it - Updated all platform variants to reference the new naming scheme
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| platformio.ini | Core refactoring: definesnetworking_base (TBPubSubClient, NTPClient) andnetworking_extra (Syslog) sections |
| variants/nrf52840/rak_wismeshtap/platformio.ini | Updated to use renamednetworking_base (no extra deps to save flash) |
| variants/nrf52840/rak4631/platformio.ini | Updated to use renamednetworking_base (no extra deps to save flash) |
| variants/nrf52840/rak2560/platformio.ini | Updated to use renamednetworking_base (no extra deps to save flash) |
| variants/rp2040/rpipicow/platformio.ini | Addednetworking_extra to include Syslog dependency |
| variants/rp2040/rak11310/platformio.ini | Addednetworking_extra to include Syslog dependency |
| variants/rp2350/rpipico2w/platformio.ini | Addednetworking_extra to include Syslog dependency |
| variants/native/portduino.ini | Addednetworking_extra to include Syslog dependency |
| variants/esp32/esp32.ini | Addednetworking_extra to include Syslog dependency |
💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.
770ac87 toab42631Compare176d8de intomeshtastic:developUh oh!
There was an error while loading.Please reload this page.
Restructure platformio.ini for
nrf52_networking_baseandnetworking_baseto avoid double-defining dependencies and adopt the var naming convention used elsewhere in the project.nrf52_networking_basenetworking_basenetworking_basenetworking_extranetworking_base(previouslynrf52_networking_base) will likely be used in the pioarduino porting efforts, genericizing the name makes sense.