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

$PROJECT_HASH not expanded on Linux #2170

richard-scott opened this Issue Feb 26, 2019 · 1 comment


None yet
2 participants
Copy link

richard-scott commented Feb 26, 2019

I've got VS Code Insiders edition installed today (26th Feb), details are:

Version: 1.32.0-insider (system setup)
Commit: 7d0c9e6fa0bedcf71bdae86c02611b65362795a3
Date: 2019-02-26T06:19:00.351Z
Electron: 3.1.3
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134

I'm trying to use $PROJECT_HASH in my Projects platformio.ini file as follows:

build_dir = ${sysenv.TEMP}/pio-build/$PROJECT_HASH/build
libdeps_dir = ${sysenv.TEMP}/pio-build/$PROJECT_HASH/libdeps

platform = atmelavr
board = uno
framework = arduino
monitor_speed = 115200
lib_deps =

On boht Linux and Windows 10 I get an incorrect directory created for 'libdeps_dir' by the Library Manager as it installs my projects dependencies:

├── d9e1205e22
│   └── build
│       ├── do-not-modify-files-here.url
│       └── structure.hash
    └── libdeps
        ├── I2Cdevlib-ADS1115_ID95

@ivankravets ivankravets added this to the 3.6.5 milestone Mar 4, 2019

@ivankravets ivankravets added the bug label Mar 7, 2019

ivankravets added a commit that referenced this issue Mar 7, 2019

Fix an issue when ``$PROJECT_HASH`` template was not expanded for the…
… other directory ``***_dir`` options in "platformio.ini" // Resolve #2170

This comment has been minimized.

Copy link

ivankravets commented Mar 7, 2019

Thanks for the report! Is fixed in the latest development version and be released with upcoming PlatformIO Core 3.6.5.

@ivankravets ivankravets referenced this issue Mar 7, 2019


platformio 3.6.5 #37693

5 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
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.