-
-
Notifications
You must be signed in to change notification settings - Fork 801
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
Patterns: Global "[env]" section in INI file #1643
Comments
I've just edited this issue and moved to the next 3.6.0 release. [platformio] section is intended for internals PIO Core configuration. I think it's a bad idea to mix I propose to create global Original
|
Related issue #1590 |
This feature will be great for project maintainability. |
agree. this will greatly simplify the build configuation for multiple devices and make the platformio.ini more versatile and portable |
One concern: isn't
And then:
|
@xoseperez you are right :( I even don't know what to do now. A lot of projects use Should we rename |
I'm sorry I'm back to my initial proposal, but why not using an explicit inheritance. See PR #790. If adding an extra
|
All logic is built on top of As practice shows, people don't like to edit this file manually :( |
I think the whole point of this issue is to ease working with BTW, I'm one of those that still edit the file manually... but I'm thinking on creating my own |
Yes, "INI" is so bad format for UI, there is no good library which will allow preserving comments, formatting in INI file. I see only https://pypi.org/project/configobj/
I think INI is a compromise between manual & UI modes.
We have a separate issue for that, #1590 |
Yes, I still think #1643 is a good step forward. Most of the time I'm doing |
Thanks! I'll check it. Need to take a look at the old configuration files with What I propose in this issue:
|
PlatformIO Core 3.5 should support both versions: |
See updated docs http://docs.platformio.org/en/latest/projectconf/section_env.html Please re-test with the latest development version of PlatformIO Core:
Test example => https://github.com/platformio/platformio-core/blob/develop/tests/test_projectconf.py |
Please support
src_filter
directive in[platformio]
section. Right now it is supported in[env]
sections only, requiring it to be repeated for every build environment.The text was updated successfully, but these errors were encountered: