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": [
|
||||
{
|
||||
"name": "linux-avr-gcc",
|
||||
"includePath": ["${workspaceFolder}/**", "/usr/lib/avr/include/**"],
|
||||
"defines": [],
|
||||
"mergeConfigurations": false,
|
||||
"compilerPath": "/usr/bin/avr-gcc",
|
||||
"cStandard": "gnu11",
|
||||
"cppStandard": "gnu++14",
|
||||
"intelliSenseMode": "linux-gcc-x64",
|
||||
"compilerArgs": ["-mmcu=atmega328p", "-DF_CPU=16000000UL", "-Os"]
|
||||
},
|
||||
{
|
||||
"name": "linux-gcc-x64",
|
||||
"includePath": ["${workspaceFolder}/**"],
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"intelliSenseMode": "linux-gcc-x64",
|
||||
"compilerArgs": [""],
|
||||
"mergeConfigurations": false
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
// {
|
||||
// "configurations": [
|
||||
// {
|
||||
// "name": "AVR",
|
||||
// "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"
|
||||
// ],
|
||||
// "defines": ["__AVR_ATmega328P__"],
|
||||
// "intelliSenseMode": "gcc-x64",
|
||||
// "cStandard": "c11",
|
||||
// "cppStandard": "c++17",
|
||||
// "browse": {
|
||||
// "path": [
|
||||
// "/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"
|
||||
// // "/opt/homebrew/lib/gcc/avr/include",
|
||||
// // "/opt/homebrew/lib/gcc/avr/include-fixed"
|
||||
// ],
|
||||
// "limitSymbolsToIncludedHeaders": true
|
||||
// }
|
||||
// }
|
||||
// ],
|
||||
// "version": 4
|
||||
// }
|
||||
|
||||
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
@@ -3,5 +3,11 @@
|
||||
"editor.detectIndentation": false,
|
||||
"files.associations": {
|
||||
"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