Implemented TMC2209 Register Read/Write

This commit is contained in:
AlexanderHD27
2024-09-12 23:52:29 +02:00
parent 36f6f1863b
commit 08598ca7a3
7 changed files with 677 additions and 88 deletions

View File

@@ -9,7 +9,7 @@
"cwd": "${workspaceRoot}",
"executable": "${command:cmake.launchTargetPath}",
"request": "launch",
"preLaunchTask": "Pico: flash freeRTOS_test",
"preLaunchTask": "Pico: flash main",
"type": "cortex-debug",
"servertype": "external",
"gdbPath" : "gdb-multiarch",

View File

@@ -68,7 +68,8 @@
"instructionformat.h": "c",
"includeglobals.h": "c",
"dacconfig.h": "c",
"freertosconfig.h": "c"
"freertosconfig.h": "c",
"*.tcc": "cpp"
},
"cortex-debug.variableUseNaturalFormat": false,
"todo-tree.filtering.ignoreGitSubmodules": true,

View File

@@ -44,92 +44,6 @@
"clear": true
}
},
{
"type": "cmake",
"label": "CMake: build usb_test",
"command": "build",
"targets": [
"usb_test"
],
"options": {
"cwd": "${workspaceRoot}"
},
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": true,
"clear": true
}
},
{
"type": "shell",
"label": "Pico: flash usb_test",
"command": [
"scripts/flash.exp",
"${workspaceRoot}/build/bin/usb_test.elf"
],
"options": {
"cwd": "${workspaceRoot}"
},
"group": "test",
"dependsOn": [
"CMake: build usb_test"
],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": true,
"clear": true
}
},
{
"type": "cmake",
"label": "CMake: build freeRTOS_test",
"command": "build",
"targets": [
"freeRTOS_test"
],
"options": {
"cwd": "${workspaceRoot}"
},
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": true,
"clear": true
}
},
{
"type": "shell",
"label": "Pico: flash freeRTOS_test",
"command": [
"scripts/flash.exp",
"${workspaceRoot}/build/bin/freeRTOS_test.elf"
],
"options": {
"cwd": "${workspaceRoot}"
},
"group": "test",
"dependsOn": [
"CMake: build freeRTOS_test"
],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": true,
"clear": true
}
},
{
"type": "shell",
"label": "Pico: launch openocd",
@@ -141,6 +55,18 @@
},
"isBackground": true
},
{
"type": "shell",
"label": "Pico: Reset Device",
"command": [
"scripts/reset.exp"
],
"options": {
"cwd": "${workspaceRoot}"
},
"isBackground": true,
"problemMatcher": []
},
{
"type": "cmake",
"label": "CMake: Clean",