add spl, first tries programming
This commit is contained in:
18
firmware/.vscode/c_cpp_properties.json
vendored
Normal file
18
firmware/.vscode/c_cpp_properties.json
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/**",
|
||||
"/usr/lib/stm8l151x/**",
|
||||
"${workspaceFolder}/src"
|
||||
],
|
||||
"defines": [],
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "gnu++17",
|
||||
"intelliSenseMode": "linux-gcc-x64"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
35
firmware/.vscode/launch.json
vendored
Normal file
35
firmware/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
// 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": "STM8-gdb",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/build/main.elf",
|
||||
"args": [],
|
||||
"stopAtEntry": true,
|
||||
"cwd": "${workspaceRoot}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "stm8-gdb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "connect to target",
|
||||
"text": "-target-select extended-remote localhost:3333",
|
||||
"ignoreFailures": true
|
||||
},
|
||||
],
|
||||
"logging": {
|
||||
"moduleLoad": true,
|
||||
"trace": true,
|
||||
"engineLogging": true,
|
||||
"programOutput": true,
|
||||
"exceptions": true
|
||||
},
|
||||
},
|
||||
]
|
||||
}
|
||||
10
firmware/.vscode/settings.json
vendored
Normal file
10
firmware/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"stm8l15x.h": "c",
|
||||
"stm8l15x_it.h": "c",
|
||||
"stm8l15x_conf.h": "c",
|
||||
"stm8l15x_rtc.h": "c",
|
||||
"stdio.h": "c",
|
||||
"stm8l15x_usart.h": "c"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user