Initial commit
This commit is contained in:
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Remote executable 'lightsabre_backend'",
|
||||
"preLaunchTask": "rust: remote Rpi debug setup",
|
||||
"targetCreateCommands": [
|
||||
"target create ${workspaceFolder}/target/armv7-unknown-linux-gnueabihf/debug/lightsabre_backend"
|
||||
],
|
||||
"processCreateCommands": [
|
||||
"gdb-remote raspberrypi.local:17777"
|
||||
],
|
||||
"env": {
|
||||
"RUST_LOG": "debug"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"rust-analyzer.cargo.target": "armv7-unknown-linux-gnueabihf"
|
||||
}
|
||||
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
// 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)",
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user