I have done a idf.py full clean and idf.py menuconfig and save, but the error seem still here. The weird part is I can still build normally. Any solution for this???
![Image](%3Ca%20href=%22https%3A//ibb.co/T0M5WdP%22%3E%3Cimg%20src=%22https://i.ibb.co/X5xTYMF/Screenshot-2021-10-22-at-9-38-54-AM.png%22%20alt=%22Screenshot-2021-10-22-at-9-38-54-AM%22%20border=%220%22%3E%3C/a%3E)
Code: Select all
{
"configurations": [
{
"name": "MACOS",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/include/**",
"${workspaceFolder}/components/**",
"/Users/esp32/.espressif/esp-mdf/components/**",
"/Users/esp32/.espressif/esp-mdf/esp-idf/components/**",
"${workspaceFolder}/build/config"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"cStandard": "c17",
"cppStandard": "c++17",
"compilerPath": "/Users/esp32/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc",
"intelliSenseMode": "macos-gcc-x64",
"browse": {
"path": [
"${workspaceFolder}/",
"${workspaceFolder}/include/",
"${workspaceFolder}/components/",
"/Users/esp32/.espressif/esp-mdf/components/",
"/Users/esp32/.espressif/esp-mdf/esp-idf/components/",
"${workspaceFolder}/build/config"
]
}
}
],
"version": 4
}
Code: Select all
{
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "/Users/esp32/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [
"${workspaceFolder}/build/config",
"${config:idf.espIdfPath}/components/**",
"${config:idf.espIdfPathWin}/components/**",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${config:idf.espMdfPath}/components/**",
"${config:idf.espMdfPathWin}/components/**",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${workspaceFolder}/build/config",
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${config:idf.espMdfPath}/components/**",
"${config:idf.espMdfPathWin}/components/**",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": false
},
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}
Code: Select all
{
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [
"${workspaceFolder}/build/config",
"${config:idf.espIdfPath}/components/**",
"${config:idf.espIdfPathWin}/components/**",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${config:idf.espMdfPath}/components/**",
"${config:idf.espMdfPathWin}/components/**",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${workspaceFolder}/build/config",
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${config:idf.espMdfPath}/components/**",
"${config:idf.espMdfPathWin}/components/**",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": false
},
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}
Code: Select all
{
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/build/config",
"${workspaceFolder}/../../esp-idf/components/nvs_flash/include",
"${workspaceFolder}/../jamcorder_common",
"${workspaceFolder}/../../esp-idf/**",
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/Volumes/User/MBP-Google-Drive/jamcorder/firmware/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "gcc-x64",
"compileCommands": "/Volumes/User/MBP-Google-Drive/jamcorder/firmware/jamcorder-firmware/jamcorder_app/build/bootloader/compile_commands.json"
}
],
"version": 4
}
You will get better help with compileCommands, you just have the wrong path there (that's the bootloader path).godzilla2 wrote: ↑Tue Mar 29, 2022 3:31 amdeleting compileCommands seems to have fixed it.
Code: Select all
"compileCommands": "/Volumes/User/MBP-Google-Drive/jamcorder/firmware/jamcorder-firmware/jamcorder_app/build/bootloader/compile_commands.json"
Users browsing this forum: No registered users and 16 guests