Flash firmware without run build (#18233)

* Flash without build
* Use firmwares from `build_output`
* simulate build with firmware from `build_output`
* rm debug code
This commit is contained in:
Jason2866
2023-03-21 14:56:24 +01:00
committed by GitHub
parent a68bc49cab
commit 11645705e3
5 changed files with 70 additions and 7 deletions
+15 -5
View File
@@ -15,6 +15,16 @@
"tooltip": "PlatformIO: Build",
"commands": "platformio-ide.build"
},
{
"text": "Upload",
"tooltip": "PlatformIO: Flash firmware (NO build run)",
"commands": [
{
"id": "platformio-ide.runPIOCoreCommand",
"args": "pio run -t nobuild -t factory_flash"
}
]
},
{
"text": "$(zap)",
"tooltip": "PlatformIO: Build and Upload",
@@ -30,11 +40,6 @@
}
]
},
{
"text": "$(arrow-right)",
"tooltip": "PlatformIO: Upload and Monitor",
"commands": "platformio-ide.uploadAndMonitor"
},
{
"text": "$(error)",
"tooltip": "PlatformIO: Erase Flash",
@@ -45,6 +50,11 @@
}
]
},
{
"text": "$(arrow-right)",
"tooltip": "PlatformIO: Upload and Monitor",
"commands": "platformio-ide.uploadAndMonitor"
},
{
"text": "$(device-desktop)",
"tooltip": "PlatformIO: Serial Monitor",