mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
added vscode task and launch
This commit is contained in:
parent
f5dd4bbe2e
commit
3076b0eeb4
2 changed files with 34 additions and 0 deletions
20
.vscode/launch.json
vendored
Normal file
20
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
// 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": "cortex-debug",
|
||||
"request": "launch",
|
||||
"name": "Debug (QEMU)",
|
||||
"servertype": "qemu",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"preLaunchTask": "cargo build --examples",
|
||||
"runToMain": true,
|
||||
"executable": "./target/thumbv7m-none-eabi/debug/examples/${fileBasenameNoExtension}",
|
||||
"cpu": "cortex-m3",
|
||||
"machine": "lm3s6965evb",
|
||||
},
|
||||
]
|
||||
}
|
14
.vscode/tasks.json
vendored
Normal file
14
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "cargo",
|
||||
"command": "build --example ${fileBasenameNoExtension} --target thumbv7m-none-eabi",
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": "build",
|
||||
"label": "cargo build --examples"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue