add ui, change project struct

This commit is contained in:
Sheikah
2023-01-23 16:39:02 +08:00
parent 5f59f9412a
commit df4db6d8c4
150 changed files with 931 additions and 741 deletions

40
.vscode/tasks.json vendored
View File

@@ -2,32 +2,32 @@
"version": "2.0.0",
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: arm-none-eabi-gcc 生成活动文件",
"command": "/usr/bin/arm-none-eabi-gcc",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}",
"-ICore/Inc \\",
"-IDrivers/STM32G0xx_HAL_Driver/Inc \\",
"-IDrivers/STM32G0xx_HAL_Driver/Inc/Legacy \\",
"-IDrivers/CMSIS/Device/ST/STM32G0xx/Include \\",
"-IDrivers/CMSIS/Include"
],
"type": "shell",
"label": "GNUMake Build",
"detail": "编译项目",
"command": "make",
"args": [],
"options": {
"cwd": "${fileDirname}"
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "shell",
"label": "GNUMake Build Flash Run",
"detail": "编译烧录并运行项目",
"command": "make && make flash",
"args": [],
"options": {
"cwd": "${workspaceFolder}"
},
"detail": "编译器: /usr/bin/arm-none-eabi-gcc"
"group": {
"kind": "test",
"isDefault": true
}
}
]
}