Repository navigation
PIO ini file cleanup/simplification - #3586
Merged
Merged
Conversation
# Conflicts: # src/targets/common.ini
mha1
approved these changes
Apr 1, 2026
mha1
left a comment
Contributor
There was a problem hiding this comment.
Tested ok building a variety of different targets with VSCode
CapnBry
approved these changes
Apr 14, 2026
CapnBry
left a comment
Member
There was a problem hiding this comment.
Ah the way it probably should have been done all along, momentum is hard to stop.
Only regression I see is that ESP8285 TXes used to be 80MHz F_CPU but now are 160MHz. 80MHz was intentional due to me trying to make the case several years ago that we don't need 240MHz or even 160MHz for how simple what we do is. I don't think anyone cares about the 50-10mA difference in power so I'm ok with this discrepancy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is part 2 of 3 in preparation for supporting new radios and/or MCUs.
In this part we are splitting up
unified.iniinto files based on the MCU and device type, so we end up withThis will make it simpler in future when adding new MCU support or radio support.
All the common libraries used are handled in the base environment in
common.ini. TX and/or RX specific libraries are added in the appropriate.inifiles.The radio band environments
radio_900andradio_2400have been renamed to the chip supported i.e.radio_SX127Xandradio_SX128Xaccordingly, this will reduce confusion when adding new radio chips. This was previously half done when the LR1121 was added.