spu stuff

This commit is contained in:
2026-07-18 16:58:49 +02:00
parent 76eaf96b7b
commit 543f3f9b1b
27 changed files with 1523 additions and 338 deletions

View File

@@ -3,7 +3,7 @@
"configurations": [
{
"name": "STM32F030",
"compileCommands": "${workspaceFolder}/app/blinky/stm32f030/build/compile_commands.json",
"compileCommands": "${workspaceFolder}/app/motor_control/stm32f030/build/compile_commands.json",
"intelliSenseMode": "linux-gcc-arm",
"compilerPath": "/usr/bin/arm-none-eabi-gcc"
}

View File

@@ -5,13 +5,13 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug blinky (J-Link)",
"name": "Debug motor_control (J-Link)",
"cwd": "${workspaceFolder}",
"executable": "${workspaceFolder}/app/blinky/stm32f030/build/blinky.elf",
"preLaunchTask": "Build blinky stm32f030",
"executable": "${workspaceFolder}/app/motor_control/stm32f030/build/motor_control.elf",
"preLaunchTask": "Build motor_control stm32f030",
"request": "launch",
"type": "cortex-debug",
"runToEntryPoint": "app_main",
// "runToEntryPoint": "app_main",
"servertype": "jlink",
"device": "STM32F030C8",
"interface": "swd",

View File

@@ -2,14 +2,14 @@
"version": "2.0.0",
"tasks": [
{
"label": "Configure blinky stm32f030",
"label": "Configure motor_control stm32f030",
"type": "shell",
"command": "cmake",
"args": [
"-S",
"${workspaceFolder}/app/blinky/stm32f030",
"${workspaceFolder}/app/motor_control/stm32f030",
"-B",
"${workspaceFolder}/app/blinky/stm32f030/build",
"${workspaceFolder}/app/motor_control/stm32f030/build",
"-DCMAKE_BUILD_TYPE=Debug"
],
"options": {
@@ -18,18 +18,18 @@
"problemMatcher": []
},
{
"label": "Build blinky stm32f030",
"label": "Build motor_control stm32f030",
"type": "shell",
"command": "cmake",
"args": [
"--build",
"${workspaceFolder}/app/blinky/stm32f030/build"
"${workspaceFolder}/app/motor_control/stm32f030/build"
],
"options": {
"cwd": "${workspaceFolder}"
},
"dependsOn": [
"Configure blinky stm32f030"
"Configure motor_control stm32f030"
],
"group": {
"kind": "build",