2023-03-14 15:59:06 +00:00
|
|
|
{
|
|
|
|
"platformio-ide.toolbar": [
|
|
|
|
{
|
|
|
|
"text": "$(home)",
|
|
|
|
"tooltip": "PlatformIO: Home",
|
|
|
|
"commands": "platformio-ide.showHome"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "$(trash)",
|
2023-03-19 22:26:32 +00:00
|
|
|
"tooltip": "PlatformIO: Clean",
|
2023-03-14 15:59:06 +00:00
|
|
|
"commands": "platformio-ide.clean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "$(check)",
|
2023-03-19 22:26:32 +00:00
|
|
|
"tooltip": "PlatformIO: Build",
|
2023-03-14 15:59:06 +00:00
|
|
|
"commands": "platformio-ide.build"
|
|
|
|
},
|
2023-03-21 13:56:24 +00:00
|
|
|
{
|
|
|
|
"text": "Upload",
|
|
|
|
"tooltip": "PlatformIO: Flash firmware (NO build run)",
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"id": "platformio-ide.runPIOCoreCommand",
|
2023-03-21 15:43:45 +00:00
|
|
|
"args": "pio run -t nobuild -t factory_flash -e ${command:platformio-ide.activeEnvironment}"
|
2023-03-21 13:56:24 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-03-14 15:59:06 +00:00
|
|
|
{
|
|
|
|
"text": "$(zap)",
|
|
|
|
"tooltip": "PlatformIO: Build and Upload",
|
|
|
|
"commands": "platformio-ide.upload"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "$(flame)",
|
|
|
|
"tooltip": "PlatformIO: Build, Erase and Upload",
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"id": "platformio-ide.runPIOCoreCommand",
|
|
|
|
"args": "pio run -t erase_upload -e ${command:platformio-ide.activeEnvironment}"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "$(error)",
|
|
|
|
"tooltip": "PlatformIO: Erase Flash",
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"id": "platformio-ide.runPIOCoreCommand",
|
2023-03-21 14:04:22 +00:00
|
|
|
"args": "pio run -t nobuild -t erase -e ${command:platformio-ide.activeEnvironment}"
|
2023-03-14 15:59:06 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-03-21 13:56:24 +00:00
|
|
|
{
|
|
|
|
"text": "$(arrow-right)",
|
|
|
|
"tooltip": "PlatformIO: Upload and Monitor",
|
|
|
|
"commands": "platformio-ide.uploadAndMonitor"
|
|
|
|
},
|
2023-03-14 15:59:06 +00:00
|
|
|
{
|
|
|
|
"text": "$(device-desktop)",
|
|
|
|
"tooltip": "PlatformIO: Serial Monitor",
|
|
|
|
"commands": "platformio-ide.serialMonitor"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "$(terminal)",
|
|
|
|
"tooltip": "PlatformIO: New Terminal",
|
|
|
|
"commands": "platformio-ide.newTerminal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "$(refresh)",
|
|
|
|
"tooltip": "PlatformIO: Rebuild IntelliSense Index",
|
|
|
|
"commands": "platformio-ide.rebuildProjectIndex"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|