{ "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" ], "options": { "cwd": "${fileDirname}" }, "problemMatcher": [ "$gcc" ], "group": { "kind": "build", "isDefault": true }, "detail": "编译器: /usr/bin/arm-none-eabi-gcc" } ] }