-
-
Notifications
You must be signed in to change notification settings - Fork 647
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
Request: ESP32-C6 ULP support in PlatformIO. #1507
Comments
@morcibacsi You have to use my branch https://github.com/Jason2866/platform-espressif32/tree/Arduino/IDF53 for support of all LP cores |
Thanks for the quick reply. Unfortunately after updating platformio.ini to point your branch, I still have the same error.
Full log
EDIT: Attached the project I try to compile (they are the unmodified files from the official repo) |
Looks like you hit the Windows path length limit. Sorry I have no solution for this issue with Windows. |
That's very unfortunate 🫤 I'll try to use a VM or WSL then. I couldn't have figured that out from the log though... Thanks. |
I just installed Ubuntu 24.10 in a VM, and unfortunately the issue is the same. Full log
|
Mhh, this example compiles and is verified working. |
Thanks, this works! Even from Windows 11. Comparing the files from there with mine I guess either the original CMakeLists.txt files are the cause as yours are slightly different (even though I didn't modify the files from original repo) or the fact that I tried to use a different folder structure. Anyways, thanks for the help, now I can build my stuff based on your example. |
The folder structure is the reason. You can't freely choose. |
ULP example code does not build for ESP32-C6 under PlatformIO.
Steps to reproduce:
Download official LP Core example from here:
https://github.com/espressif/esp-idf/tree/v5.3.2/examples/system/ulp/lp_core/gpio
I added the following platformio.ini:
The error I got is the following:
main/lp_core_gpio_example_main.c:20:10: fatal error: ulp_main.h: No such file or directory
This file should be autogenerated at this location:
The issue is similar to this: #1144 but downloading the test files from there reveals ulp programs in .s files.
Also checked the layout of the ESP32-S2 and S3 examples here, but those have CONFIG_ULP_COPROC_TYPE_RISCV=y in the sdkconfig however the C6 has CONFIG_ULP_COPROC_TYPE_LP_CORE=y
https://github.com/Jason2866/platform-espressif32/tree/Arduino/IDF5/examples/espidf-ulp-riscv
Full log
The text was updated successfully, but these errors were encountered: