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

Closed
ohhorob opened this Issue Sep 24, 2016 · 0 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
@ivankravets ivankravets referenced this issue in Homebrew/homebrew-core Dec 7, 2016
Closed

platformio 3.2.1 #7641

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