Skip to content
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
Closed
Labels
Milestone

Comments

@ohhorob
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants