You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented on main in #1930 (cb3693c3): [platformio] extra_configs is now merged, not refused.
crates/fbuild-config/src/ini_parser/extra_configs.rs resolves each entry against the directory holding platformio.ini, expands shell-style wildcards (sorted, so "later wins" is deterministic) and merges the parsed sections over the base before env resolution — so extra [env:*] sections, base [env] inheritance and ${...} substitution all see the merged view.
Refused rather than approximated: a missing file, a wildcard matching no file, an extra file that declares extra_configs again (PlatformIO merges the option but never re-processes it) and a list resolving back to platformio.ini.
Tests follow PlatformIO's own documented example (cargo test -p fbuild-config --lib -> 249 passed / 0 failed / 1 ignored; 15 tests in tests_extra_configs.rs), and docs/reference/platformio-ini.md documents the merge contract.
Activity
zackees commentedon Nov 6, 2026
Implemented on
mainin #1930 (cb3693c3):[platformio] extra_configsis now merged, not refused.crates/fbuild-config/src/ini_parser/extra_configs.rsresolves each entry against the directory holdingplatformio.ini, expands shell-style wildcards (sorted, so "later wins" is deterministic) and merges the parsed sections over the base before env resolution — so extra[env:*]sections, base[env]inheritance and${...}substitution all see the merged view.extra_configsagain (PlatformIO merges the option but never re-processes it) and a list resolving back toplatformio.ini.cargo test -p fbuild-config --lib-> 249 passed / 0 failed / 1 ignored; 15 tests intests_extra_configs.rs), anddocs/reference/platformio-ini.mddocuments the merge contract.