arduino开发esp32c3,使用ble示例文件验证/下载报错
解决方案:之前随便下载安装了ESP32_BLE_Arduino。ESP32C3开发ble应该使用esp32的库,当安装了ESP32_BLE_Arduino时,就会产生冲突。要从ardunio里,点卸载,把这个库卸载了。只删文件夹不行,还会安装回来!
·
报错信息:In file included from xxxxxxxxxxxxxxxxxxxxxxxxx.ino:14: c:\Users\admin\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEDevice.h:12:10: fatal error: esp_gap_ble_api.h: No such file or directory 12 | #include <esp_gap_ble_api.h> // ESP32 BLE | ^~~~~~~~~~~~~~~~~~~ compilation terminated. exit status 1 Compilation error: exit status 1报错
解决方案:之前随便下载安装了ESP32_BLE_Arduino。ESP32C3开发ble应该使用esp32的库,当安装了ESP32_BLE_Arduino时,就会产生冲突。要从ardunio里,点卸载,把这个库卸载了。只删文件夹不行,还会安装回来!
更多推荐
所有评论(0)