Files
2025-05-26 17:32:36 +00:00

38 lines
1.0 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "rust: cargo ARM build (default)",
"type": "cargo",
"command": "build",
"args": ["--target", "armv7-unknown-linux-gnueabihf"],
"options": {
"cwd": "${workspaceFolder}",
"env": {
"CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER": "/usr/bin/arm-linux-gnueabihf-gcc",
"CARGO_BUILD_TARGET": "armv7-unknown-linux-gnueabihf"
}
},
"problemMatcher": [
"$rustc"
],
"group": "build",
},
{
"label": "rust: remote Rpi debug setup",
"type": "shell",
"command": "${workspaceFolder}/tools/remote_debug.sh",
"args": [
"${workspaceFolder}",
"raspberrypi.local",
"17777"
],
"group": "none",
"dependsOn": [
"rust: cargo ARM build (default)",
],
},
]
}