Closed EgHubs closed 3 weeks ago
I encountered similar issues while using the "framework = arduino, espidf" configuration in the PlatformIO environment. I've successfully resolved several compilation errors specific to the ESP-IDF environment for this library, and as a result, the compilation now completes successfully, and library works as expected. I've created a pull request with the code changes I made. Please take a look once. I hope it helps.
I have been struggling for more than 3 days to install the library on my project and separate testing ones, have tried to install the master branch and also the 1.0.1 release version and I have had a lot of problems related maybe to my way of installing the library here is how I try to install it "same as I did with other Arduino libraries which I successfully installed and compiled" If anyone can help me through the way I usually add the .h and .cpp and all the code files of any lib under SRC and include the located folder under SRC_DIRS and INCLUDE_DIRS I'm using esp-idf version 4.4.6 and Arduino core 2.0.14 here is an example of my CMakelist file
Here is a list of errors that i get on version 1.0.1 on compiling
keep in mind if i commented each sprint and ESP_LOGD line in the library //sprintf (buffer + (i*8), "%08lx", esp_random()); I get other problems and so on so I think I might be doing something wrong so I posted it as it is Thanks in advance :)