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 了,但是还是在报这个错误??这个要怎么解决
gatt_server_service_table 源码编译报错,静态断言错误
Moderator: ESP_Bob
-
- Posts: 42
- Joined: Thu May 04, 2023 3:49 am
Re: gatt_server_service_table 源码编译报错,静态断言错误
可以给出完整的 log 吗?
Re: gatt_server_service_table 源码编译报错,静态断言错误
源码历程 直接编译就是这样的,没有做任何的修改
-
- Posts: 42
- Joined: Thu May 04, 2023 3:49 am
Re: gatt_server_service_table 源码编译报错,静态断言错误
IDF 使用的哪个版本?
Who is online
Users browsing this forum: No registered users and 7 guests