Closed bigwave closed 10 months ago
Does workspace_dir
instead of build_dir
work for you?
Still the same error, I'm afraid, with workspace_dir = ${sysenv.TEMP}/pio-workspaces/$PROJECT_HASH/build
Hm... I use a similar configuration every day. Instead of patching every platformio.ini
, I set a system environment variable PLATFORMIO_WORKSPACE_DIR
to /tmp/pio-workspaces/$PROJECT_HASH
.
Set the user environment variable
C:\Users\ian>echo %PLATFORMIO_WORKSPACE_DIR%
C:\WINDOWS\TEMP/pio-workspaces/$PROJECT_HASH/build
But still get exactly the same error at the same location.
Thanks for the report. Please re-test with pio upgrade --dev
.
Configuration
Operating system: Windows 11
PlatformIO Version : PlatformIO Core, version 6.1.11
Description of problem
Using $PROJECT_HASH in build_dir causes exception
Steps to Reproduce
build_dir = ${sysenv.TEMP}/pio-workspaces/$PROJECT_HASH/build
to platformio.iniActual Results
`
Expected Results
No exception thrown
If problems with PlatformIO Build System:
The content of
platformio.ini
:Additional info