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

Add shell environment variables to `Dynamic variables` feature of platformio.ini #792

Closed
ohhorob opened this Issue Sep 24, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@ohhorob

ohhorob commented Sep 24, 2016

A few of my projects share private libraries that each live in their own git repo.

Instead of making each library a git submodule of each project, I'm using the lib_extra_dirs option to have the library dependency finder notice them.

lib_extra_dirs = /Users/rob/arduino/libs

I would like to refer to the user home directory (not platformio home directory) with a dynamic variable in order to avoid absolute references outside of the project.

lib_extra_dirs = ${env.HOME}/arduino/libs

Something like that?

@ivankravets ivankravets added the feature label Sep 25, 2016

@ivankravets ivankravets added this to the 3.2.0 milestone Oct 26, 2016

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