Matheus-Garbelini / Esp32-Pre-Compiled-SDK-Toolchain

Esp32 Pre compiled SDK for Arduino Lib Usage
1 stars 2 forks source link

compiling recent esp32-arduino-lib-builder #1

Open dlarue opened 1 year ago

dlarue commented 1 year ago

Hi, I see you once precompiled the idf for Arduino and eabled the 32kHz crystal. I'm trying to do that with the latest v4.4 of the idf and v2.0.6 of esp32-arduino but not having any luck. Currently I've tried: copying sdkconfig from components/arduino/tools/sdk/esp/ to the root of the lib-builder, running idf.py menuconfig to enable the RTC Clock Source to 32K crystal and save. Then I copy the updated sdkconfig back to the esp32 directory and build with: ./build.sh -t esp32 or ./build.sh -s -t esp32 Then I copy the dist/arduino-esp32-libs-release.xxxx.gz to my existing Arduino environment which has latest esp32-arduino installed. in other words I overwrite the esp32 section of the esp32-arduino installation with my custom built libraries.

but I'm getting panics, "Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1)." when it tries to wake up.

If you can help that'd be super since many others seem to be having similar issues.

Matheus-Garbelini commented 1 year ago

Hi @dlarue sorry, it was a long time since I did this so I'm not sure what is the issue in your case.

However, nowadays what you want to do can be done using arduino framework "inside" esp-idf via the official documentation: https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/esp-idf_component.html. Then you can change any ESP-IDF parameter and test it with your arduino code using a more fancy IDE such as VScode + Platformio IDE