nkolban / esp32-snippets

Sample ESP32 snippets and code fragments
https://leanpub.com/kolban-ESP32
Apache License 2.0
2.34k stars 711 forks source link

problèmes de compilation de la bibliothèque BleDevice #1173

Open juniorcisse opened 1 year ago

juniorcisse commented 1 year ago

In file included from c:\Users\User\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEAdvertising.h:15, from c:\Users\User\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEServer.h:19, from c:\Users\User\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEDevice.h:18, from C:\Users\User\Downloads\sketch_aug17a\sketch_aug17a.ino:2: c:\Users\User\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/FreeRTOS.h:61:28: error: 'ringbuf_type_t' has not been declared Ringbuffer(size_t length, ringbuf_type_t type = RINGBUF_TYPE_NOSPLIT); ^~~~~~

exit status 1

Compilation error: exit status 1

Mr-KID-github commented 6 months ago

image First , you need to delect the ESP32_BLE_Arduino library, then, you need to select suitable version, in face , Version 2.0.11 of esp32 is available