PlatformIO Community

Using semi host during esp-idf development

when using the semi host API during esp-idf development one uses the esp_vfs_semihost_register() API.
As default the host path is set to the project folder when ‘openocd’ starts according to the ESP_SEMIHOST_BASEDIR environment variable.
Is there a way to ‘control’ this parameter, eg. in the platformio.ini?

I didn’t solve my challenge at hand, but I found a workaround where I could move the web site to a sub folder in the project folder and then instead point the browser URL to this new sub folder.
Like: “…/src/www/index.html”.