updated .vscode handling
This commit is contained in:
parent
29b5dfd9d1
commit
084b7b7e3f
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ Cargo.lock
|
|||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
|
|
||||||
/.vscode/.cortex-debug.*
|
/.vscode/.cortex-debug.*
|
||||||
|
/.vscode/settings.json
|
||||||
|
67
.vscode/launch.json
vendored
67
.vscode/launch.json
vendored
@ -2,6 +2,9 @@
|
|||||||
// Use IntelliSense to learn about possible attributes.
|
// Use IntelliSense to learn about possible attributes.
|
||||||
// Hover to view descriptions of existing attributes.
|
// Hover to view descriptions of existing attributes.
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
|
||||||
|
// You can set the "gdbPath" setting in a custom settings.json to use a non-default
|
||||||
|
// GDB application
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
@ -9,10 +12,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug LED Blinky",
|
"name": "Debug LED Blinky",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build led blinky",
|
"preLaunchTask": "rust: cargo build led blinky",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-leds",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-leds",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -23,10 +25,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug Tests HAL",
|
"name": "Debug Tests HAL",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build hal tests",
|
"preLaunchTask": "rust: cargo build hal tests",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/tests",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/tests",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -37,10 +38,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug RTT",
|
"name": "Debug RTT",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build rtt",
|
"preLaunchTask": "rust: cargo build rtt",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/rtt-log",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/rtt-log",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -51,10 +51,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug Blinky Button IRQ",
|
"name": "Debug Blinky Button IRQ",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build button blinky",
|
"preLaunchTask": "rust: cargo build button blinky",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-button-irq",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-button-irq",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -65,10 +64,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug Timer MS Ticks",
|
"name": "Debug Timer MS Ticks",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build systick",
|
"preLaunchTask": "rust: cargo build systick",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/timer-ticks",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/timer-ticks",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -79,10 +77,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug UART",
|
"name": "Debug UART",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build uart",
|
"preLaunchTask": "rust: cargo build uart",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/uart",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/uart",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -93,10 +90,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug SPI",
|
"name": "Debug SPI",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build spi",
|
"preLaunchTask": "rust: cargo build spi",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/spi",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/spi",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -107,12 +103,11 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug I2C / Temperature Sensor",
|
"name": "Debug I2C / Temperature Sensor",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build temp sensor",
|
"preLaunchTask": "rust: cargo build temp sensor",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/temp-sensor",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/adt75-temp-sensor",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
"runToMain": true,
|
"runToMain": true,
|
||||||
},
|
},
|
||||||
@ -121,10 +116,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug Button Blinky RTIC",
|
"name": "Debug Button Blinky RTIC",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build button blinky rtic",
|
"preLaunchTask": "rust: cargo build button blinky rtic",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-button-rtic",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-button-rtic",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -135,10 +129,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug PWM",
|
"name": "Debug PWM",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build pwm",
|
"preLaunchTask": "rust: cargo build pwm",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/pwm",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/pwm",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -149,10 +142,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug Cascade",
|
"name": "Debug Cascade",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build cascade",
|
"preLaunchTask": "rust: cargo build cascade",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/cascade",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/cascade",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
@ -163,12 +155,11 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug Accelerometer",
|
"name": "Debug Accelerometer",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "Cortex-M0",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build accelerometer",
|
"preLaunchTask": "rust: cargo build accelerometer",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/accelerometer",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/adxl343-accelerometer",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
"runToMain": true,
|
"runToMain": true,
|
||||||
},
|
},
|
||||||
|
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
@ -131,7 +131,7 @@
|
|||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||||
"args": [
|
"args": [
|
||||||
"build", "-p", "vorago-reb1", "--example", "temp-sensor",
|
"build", "-p", "vorago-reb1", "--example", "adt75-temp-sensor",
|
||||||
],
|
],
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
@ -156,7 +156,7 @@
|
|||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||||
"args": [
|
"args": [
|
||||||
"build", "-p", "vorago-reb1", "--example", "accelerometer",
|
"build", "-p", "vorago-reb1", "--example", "adxl343-accelerometer",
|
||||||
"--features", "rt"
|
"--features", "rt"
|
||||||
],
|
],
|
||||||
"group": {
|
"group": {
|
||||||
|
15
README.md
15
README.md
@ -8,3 +8,18 @@ After cloning, run
|
|||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Use VS Code files
|
||||||
|
|
||||||
|
Make sure to install the `Cortex-Debug` extension first.
|
||||||
|
|
||||||
|
The `tasks.json` and the `launch.json` files are generic and you can use them immediately by
|
||||||
|
opening the folder in VS code or adding it to a workspace.
|
||||||
|
|
||||||
|
If you would like to use a custom GDB application, you can specify the gdb binary in the following
|
||||||
|
configuration variables in your `settings.json`:
|
||||||
|
|
||||||
|
- `"cortex-debug.gdbPath"`
|
||||||
|
- `"cortex-debug.gdbPath.linux"`
|
||||||
|
- `"cortex-debug.gdbPath.windows"`
|
||||||
|
- `"cortex-debug.gdbPath.osx"`
|
||||||
|
176
launch-unix.json
Normal file
176
launch-unix.json
Normal file
@ -0,0 +1,176 @@
|
|||||||
|
{
|
||||||
|
// 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 LED Blinky",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build led blinky",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-leds",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug Tests HAL",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build hal tests",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/tests",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug RTT",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build rtt",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/rtt-log",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug Blinky Button IRQ",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build button blinky",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-button-irq",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug Timer MS Ticks",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build systick",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/timer-ticks",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug UART",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build uart",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/uart",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug SPI",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build spi",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/spi",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug I2C / Temperature Sensor",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build temp sensor",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/adt75-temp-sensor",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug Button Blinky RTIC",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build button blinky rtic",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-button-rtic",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug PWM",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build pwm",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/pwm",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug Cascade",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build cascade",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/cascade",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug Accelerometer",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build accelerometer",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/adxl343-accelerometer",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
3
settings-default.json
Normal file
3
settings-default.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"cortex-debug.gdbPath.linux": "gdb-multiarch"
|
||||||
|
}
|
@ -1 +1 @@
|
|||||||
Subproject commit dbca9d8fd2126193cefbab1f1255f0c0eb104dc7
|
Subproject commit 87134c9c6d9bcb2cb59e971cc83f9e305467f727
|
Loading…
Reference in New Issue
Block a user