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

Replace "env" pattern by "sysenv" in "platformio.ini" #1705

Closed
ivankravets opened this Issue Jun 25, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ivankravets
Member

ivankravets commented Jun 25, 2018

${env.var} conflicts with generic PlatformIO's build environment declared in [env:...] section. ${sysenv.var} has better naming space which referrers to "system environment".

PlatformIO Core 3.5 should support both versions: ${env.var} and ${sysenv.var}. ${env.var} should produce a warning and will be removed in the next PIO Core 3.6.

@ivankravets ivankravets added this to the 3.5.4 milestone Jun 25, 2018

@ivankravets ivankravets changed the title from Replace ${env.var} by ${sysenv.var} when parsing platformio.ini to Replace "env" by "sysenv" when parsing system environment variables in "platformio.ini" Jun 25, 2018

@ivankravets ivankravets changed the title from Replace "env" by "sysenv" when parsing system environment variables in "platformio.ini" to Replace "env" pattern by "sysenv" in "platformio.ini" Jun 25, 2018

ivankravets added a commit that referenced this issue Jun 30, 2018

Merge branch 'hotfix/v3.5.4' into develop
* hotfix/v3.5.4:
  Improve removing of default build flags using `build_unflags` option // Resolve #1712
  Export ``LIBS``, ``LIBPATH``, and ``LINKFLAGS`` data from project dependent libraries to the global build environment
  Replace "env" pattern by "sysenv" in "platformio.ini" // Resolve #1705

ivankravets added a commit that referenced this issue Jul 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment