update flasher
This commit is contained in:
50
.vscode/launch.json
vendored
Normal file
50
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Build ESP32 Firmware (Windows)",
|
||||
"type": "process",
|
||||
"request": "launch",
|
||||
"command": "idf.py",
|
||||
"args": ["build"],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"windows": {
|
||||
"command": "idf.py"
|
||||
},
|
||||
"problemMatcher": ["$gcc"]
|
||||
},
|
||||
{
|
||||
"name": "Build ESP32 Firmware (macOS)",
|
||||
"type": "process",
|
||||
"request": "launch",
|
||||
"command": "bash",
|
||||
"args": ["-lc", "source ${IDF_PATH:-/opt/esp/idf}/export.sh && idf.py build"],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"osx": {
|
||||
"command": "bash"
|
||||
},
|
||||
"problemMatcher": ["$gcc"]
|
||||
},
|
||||
{
|
||||
"name": "Build Windows Flasher",
|
||||
"type": "process",
|
||||
"request": "launch",
|
||||
"command": "${workspaceFolder}/flash_tool/build_from_spec.bat",
|
||||
"cwd": "${workspaceFolder}/flash_tool",
|
||||
"windows": {
|
||||
"command": "${workspaceFolder}/flash_tool/build_from_spec.bat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Build macOS Flasher",
|
||||
"type": "process",
|
||||
"request": "launch",
|
||||
"command": "${workspaceFolder}/flash_tool/build_macos.sh",
|
||||
"cwd": "${workspaceFolder}/flash_tool",
|
||||
"osx": {
|
||||
"command": "bash",
|
||||
"args": ["${workspaceFolder}/flash_tool/build_macos.sh"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user