update flasher
This commit is contained in:
26
.vscode/tasks.json
vendored
26
.vscode/tasks.json
vendored
@@ -1,11 +1,35 @@
|
||||
{
|
||||
"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": { "kind": "build", "isDefault": true },
|
||||
"group": "build",
|
||||
"problemMatcher": "$gcc"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user