Hello, could someone please help me?
I am working on a Linux platform with the ESP-IDF v4.4.5 with the configuration:
Operating System: Ubuntu 22.04.2 LTS
VS Code Version: 1.80.1
Python set for IDF_PYTHON_ENV: Python 3.8.5
Language: C++ 17
CMake: 3.5
I have successfully installed ESP-IDF in VSCode. I did successfully run "gatt_server_service_table_demo" example. Now, I am working on a BLE project. I am getting the following compilation error even though I have enabled the Bluetooth in menuconfig. How can I fix this problem?
[{
"resource": "..../main/main.cpp",
"owner": "C/C++: IntelliSense",
"code": "1574",
"severity": 8,
"message": "static assertion failed with \"please enable bluetooth in menuconfig to use esp_bt.h\"",
"source": "C/C++",
}]
VS Code - menuconfig enable BT error
Re: VS Code - menuconfig enable BT error
Hello, I've been having the same problem for a while. Did you solve it? If you solved it, how? Can I learn?
-
- Posts: 229
- Joined: Wed May 02, 2018 12:12 pm
Re: VS Code - menuconfig enable BT error
What is the content of your c_cpp_properties.json ? Are you resolving headers using the compile_commands.json ?
Look into the documentation : https://github.com/espressif/vscode-esp ... URATION.md
Look into the documentation : https://github.com/espressif/vscode-esp ... URATION.md
Who is online
Users browsing this forum: No registered users and 38 guests