Simple project
This commit is contained in:
11
SW/spu/.vscode/c_cpp_properties.json
vendored
Normal file
11
SW/spu/.vscode/c_cpp_properties.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"version": 4,
|
||||
"configurations": [
|
||||
{
|
||||
"name": "STM32F030",
|
||||
"compileCommands": "${workspaceFolder}/app/blinky/stm32f030/build/compile_commands.json",
|
||||
"intelliSenseMode": "linux-gcc-arm",
|
||||
"compilerPath": "/usr/bin/arm-none-eabi-gcc"
|
||||
}
|
||||
]
|
||||
}
|
||||
27
SW/spu/.vscode/launch.json
vendored
Normal file
27
SW/spu/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
// 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": [
|
||||
{
|
||||
"name": "Debug blinky (J-Link)",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"executable": "${workspaceFolder}/app/blinky/stm32f030/build/blinky.elf",
|
||||
"preLaunchTask": "Build blinky stm32f030",
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
"runToEntryPoint": "app_main",
|
||||
"servertype": "jlink",
|
||||
"device": "STM32F030C8",
|
||||
"interface": "swd",
|
||||
"serialNumber": "69652340",
|
||||
"serverArgs": [
|
||||
"-if",
|
||||
"SWD",
|
||||
"-speed",
|
||||
"4000"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
43
SW/spu/.vscode/tasks.json
vendored
Normal file
43
SW/spu/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Configure blinky stm32f030",
|
||||
"type": "shell",
|
||||
"command": "cmake",
|
||||
"args": [
|
||||
"-S",
|
||||
"${workspaceFolder}/app/blinky/stm32f030",
|
||||
"-B",
|
||||
"${workspaceFolder}/app/blinky/stm32f030/build",
|
||||
"-DCMAKE_BUILD_TYPE=Debug"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Build blinky stm32f030",
|
||||
"type": "shell",
|
||||
"command": "cmake",
|
||||
"args": [
|
||||
"--build",
|
||||
"${workspaceFolder}/app/blinky/stm32f030/build"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"dependsOn": [
|
||||
"Configure blinky stm32f030"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user