fix include not recognized by vscode
This commit is contained in:
52
.vscode/c_cpp_properties.json
vendored
52
.vscode/c_cpp_properties.json
vendored
@@ -1,24 +1,28 @@
|
|||||||
{
|
// {
|
||||||
"configurations": [
|
// "configurations": [
|
||||||
{
|
// {
|
||||||
"name": "linux-avr-gcc",
|
// "name": "AVR",
|
||||||
"includePath": ["${workspaceFolder}/**", "/usr/lib/avr/include/**"],
|
// "includePath": [
|
||||||
"defines": [],
|
// "${workspaceFolder}/headers",
|
||||||
"mergeConfigurations": false,
|
// "/opt/homebrew/Cellar/avr-gcc@9/9.4.0_1/lib/avr-gcc/9/gcc/avr/9.4.0/include",
|
||||||
"compilerPath": "/usr/bin/avr-gcc",
|
// "/opt/homebrew/Cellar/avr-gcc@9/9.4.0_1/avr/include",
|
||||||
"cStandard": "gnu11",
|
// "/opt/homebrew/include"
|
||||||
"cppStandard": "gnu++14",
|
// ],
|
||||||
"intelliSenseMode": "linux-gcc-x64",
|
// "defines": ["__AVR_ATmega328P__"],
|
||||||
"compilerArgs": ["-mmcu=atmega328p", "-DF_CPU=16000000UL", "-Os"]
|
// "intelliSenseMode": "gcc-x64",
|
||||||
},
|
// "cStandard": "c11",
|
||||||
{
|
// "cppStandard": "c++17",
|
||||||
"name": "linux-gcc-x64",
|
// "browse": {
|
||||||
"includePath": ["${workspaceFolder}/**"],
|
// "path": [
|
||||||
"compilerPath": "/usr/bin/gcc",
|
// "/opt/homebrew/Cellar/avr-gcc@9/9.4.0_1/lib/avr-gcc/9/gcc/avr/9.4.0/include",
|
||||||
"intelliSenseMode": "linux-gcc-x64",
|
// "/opt/homebrew/Cellar/avr-gcc@9/9.4.0_1/avr/include",
|
||||||
"compilerArgs": [""],
|
// "/opt/homebrew/include"
|
||||||
"mergeConfigurations": false
|
// // "/opt/homebrew/lib/gcc/avr/include",
|
||||||
}
|
// // "/opt/homebrew/lib/gcc/avr/include-fixed"
|
||||||
],
|
// ],
|
||||||
"version": 4
|
// "limitSymbolsToIncludedHeaders": true
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
|
// ],
|
||||||
|
// "version": 4
|
||||||
|
// }
|
||||||
|
|||||||
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
@@ -3,5 +3,11 @@
|
|||||||
"editor.detectIndentation": false,
|
"editor.detectIndentation": false,
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
"header.h": "c"
|
"header.h": "c"
|
||||||
}
|
},
|
||||||
|
"C_Cpp.default.includePath": [
|
||||||
|
"${workspaceFolder}/headers",
|
||||||
|
"/opt/homebrew/Cellar/avr-gcc@9/9.4.0_1/lib/avr-gcc/9/gcc/avr/9.4.0/include",
|
||||||
|
"/opt/homebrew/Cellar/avr-gcc@9/9.4.0_1/avr/include",
|
||||||
|
"/opt/homebrew/include"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user