-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ULP function not functioning properly on ESP32S3 #9579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like CONFIG_ULP_COPROC_TYPE_FSM needs to be added for S2 & S3. I'll open an issue in the lib-builder. |
Hello, I have just added CONFIG_ULP_COPROC_TYPE_FSM=y & CONFIG_ULP_COPROC_TYPE_RISCV=y in the sdkconfig file of ESP32S3, but the issue remains the same as before. Did I modify the sdkconfig file incorrectly? # CONFIG_ESP32S3_TRAX is not set Arduino: sdkconfig file path -> ...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\tools\sdk\esp32s3\sdkconfig |
You would need to recompile the sdk from scratch. It will get fixed when the espressif guys make a new release. |
Just now I cleared the compilation cache and recompiled from scratch, but the problem remains the same. The counting register did not change. Is there any feature that I haven't enabled yet? |
First you need to install 3.0.0-rc1 from the board manager (DEV JSON link) and then you can try to replace the libs in This should enable ULP for you on S2 and S3. We will not be backporting it to 2.0.x |
I tried to adapt ULP in 3.0.0-rc1 but encountered an error when including the header file. |
This is "normal." I haven't found any solution. |
Board
ESP32S3 Dev Module
Device Description
ESP32S3 Dev Module
Hardware Configuration
not anything
Version
v2.0.14
IDE Name
Arduino IDE and PlatformIO IDE
Operating System
Windows 10
Flash frequency
80MHz
PSRAM enabled
yes
Upload speed
115200
Description
I attempted to compile a program for ULP counting using C Macros on ESP32S3 with Arduino IDE and PlatformIO IDE (2.0.14), but it did not work on ESP32S3 and threw an error "ulp: program too big: 11 words, max is 0 words". The same program worked fine on ESP32. Later, when I switched the library version to 3.0.0-alpha2, it failed to compile with the error "fatal error: esp32/ulp.h: No such file or directory".
Is the ULP functionality for ESP32S3 not well adapted on Arduino IDE yet? It's worth mentioning that in the latest ESP-IDF version, both ESP32S3 and ESP32 can successfully utilize the ULP functionality.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: