env: add vscode configulation

This commit is contained in:
TT 2019-08-10 13:19:33 +09:00
parent 90ecc7992d
commit ef611c6e24
2 changed files with 23 additions and 0 deletions

20
.vscode/c_cpp_properties.json vendored Normal file
View file

@ -0,0 +1,20 @@
{
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/ChibiOS/os/hal/ports/STM32/**",
"${workspaceFolder}/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/**",
"${workspaceFolder}/ChibiOS/os/common/startup/ARMCMx/**",
"${workspaceFolder}/ChibiOS/os/hal/ports/common/ARMCMx/**",
"${workspaceFolder}/**"
],
"defines": ["STM32F072xB"],
"macFrameworkPath": [],
"compilerPath": "/usr/local/bin/arm-none-eabi-gcc",
"cStandard": "c11",
"cppStandard": "c++17"
}
],
"version": 4
}

3
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"C_Cpp.errorSquiggles": "Disabled"
}