add ui, change project struct
This commit is contained in:
40
.vscode/tasks.json
vendored
40
.vscode/tasks.json
vendored
@@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user