updated UART echo RTIC example

This commit is contained in:
2024-09-27 10:31:04 +02:00
parent 60305ef393
commit f7ff74940a
3 changed files with 60 additions and 60 deletions

View File

@ -222,6 +222,30 @@
]
}
},
{
"type": "cortex-debug",
"request": "launch",
"name": "UART Echo with RTIC",
"servertype": "jlink",
"cwd": "${workspaceRoot}",
"device": "Cortex-M0",
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
"preLaunchTask": "uart-echo-rtic-example",
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/uart-echo-rtic",
"interface": "jtag",
"runToEntryPoint": "main",
"rttConfig": {
"enabled": true,
"address": "auto",
"decoders": [
{
"port": 0,
"timestamp": true,
"type": "console"
}
]
}
},
{
"type": "cortex-debug",
"request": "launch",
@ -428,4 +452,4 @@
}
},
]
}
}

View File

@ -122,13 +122,13 @@
}
},
{
"label": "rust: cargo build uart irq",
"label": "uart-echo-rtic-example",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"build",
"--bin",
"uart-rtic",
"uart-echo-rtic",
],
"group": {
"kind": "build",