{ "version": "2.0.0", "tasks": [ { "label": "adapter", "type": "shell", "command": "idf.py", "args": ["build"], "windows": { "command": "cmd.exe", "args": ["/c", "${env:USERPROFILE}\\esp\\v5.4.1\\esp-idf\\export.bat", "&&", "idf.py", "build"] }, "osx": { "command": "bash", "args": ["-lc", "source ${IDF_PATH:-/opt/esp/idf}/export.sh && idf.py build"] }, "linux": { "command": "bash", "args": ["-lc", "source ${IDF_PATH:-/opt/esp/idf}/export.sh && idf.py build"] }, "group": { "kind": "build", "isDefault": true }, "problemMatcher": ["${config:idf.cmakeCompilerArgs}"], "presentation": { "reveal": "always", "panel": "dedicated" } }, { "label": "ESP-IDF: Build (RAM) + Sync to Host", "type": "shell", "command": "bash -lc 'source ${IDF_PATH:-/opt/esp/idf}/export.sh && idf.py build && rsync -a --delete \"$PWD/build/\" /host_build/'", "group": "build", "problemMatcher": "$gcc" } ] }