nkolban / esp32-snippets

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

Versions of esp32-snippets and ESP-IDF #889

Open BobaTrek opened 4 years ago

BobaTrek commented 4 years ago

What is the version compatibility of esp32-snippets to versions of ESP-IDF?

I downloaded the Master from the esp-idf github and get numerous compilation errors when I compiled it with the Master from esp32-snippets, mostly regarding ringbuf_type_t being deprecated.

esp-idf has releases 3.0. 3.1, 3.2, and 3.3. The Master is currently version 4.0-dev.

Which work with esp32-snippets?

(Someday it would be great if this code base was merged into esp-idf!!!)

chegewara commented 4 years ago

This library should work with all esp-idf v3.x i think. Library has not been updated for some time, so its possible it wont work with esp-idf master.

mws-rmain commented 4 years ago

esp-idf commit 8a597b8 changed 'ringbuf_type_t' to 'RingbufferType_t'. Make this change in FreeRTOS.h:61 & FreeRTOS.cpp:232 and esp32-snippets should compile against current master branch.

jmporter34 commented 2 years ago

@mws-rmain Thanks for the 'ringbuf_type_t' tip!