gatt_server_service_table 源码编译报错,静态断言错误
Posted: Tue Aug 22, 2023 2:20 am
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
message": "静态断言失败,原因是 \"please enable bluetooth in menuconfig to use esp_bt.h\"",
[{
"resource": "/e:/1zhc/ESP32/vscod-idf-licheng/gatt_server_service_table/main/gatts_table_creat_demo.c",
"owner": "C/C++: IntelliSense",
"code": "1574",
"severity": 8,
"message": "静态断言失败,原因是 \"please enable bluetooth in menuconfig to use esp_bt.h\"",
"source": "C/C++",
"startLineNumber": 528,
"startColumn": 41,
"endLineNumber": 528,
"endColumn": 74
}]
我已经使能 bluetooth 了,但是还是在报这个错误??这个要怎么解决
message": "静态断言失败,原因是 \"please enable bluetooth in menuconfig to use esp_bt.h\"",
[{
"resource": "/e:/1zhc/ESP32/vscod-idf-licheng/gatt_server_service_table/main/gatts_table_creat_demo.c",
"owner": "C/C++: IntelliSense",
"code": "1574",
"severity": 8,
"message": "静态断言失败,原因是 \"please enable bluetooth in menuconfig to use esp_bt.h\"",
"source": "C/C++",
"startLineNumber": 528,
"startColumn": 41,
"endLineNumber": 528,
"endColumn": 74
}]
我已经使能 bluetooth 了,但是还是在报这个错误??这个要怎么解决