Implemented TMC2209 Register Read/Write
This commit is contained in:
2
motor-control/firmware/.vscode/launch.json
vendored
2
motor-control/firmware/.vscode/launch.json
vendored
@@ -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",
|
||||
|
||||
3
motor-control/firmware/.vscode/settings.json
vendored
3
motor-control/firmware/.vscode/settings.json
vendored
@@ -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,
|
||||
|
||||
98
motor-control/firmware/.vscode/tasks.json
vendored
98
motor-control/firmware/.vscode/tasks.json
vendored
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user