WLED: Usermods TTGO-T-Display does not compile
What happened?
When trying to compile https://github.com/Aircoookie/WLED/tree/main/usermods/TTGO-T-Display [On github] you would get errors
Compiling .pio/build/esp32dev/lib831/TFT_eSPI/TFT_eSPI.cpp.o
Compiling .pio/build/esp32dev/libf3e/arduinoFFT/arduinoFFT.cpp.o
In file included from .pio/libdeps/esp32dev/TFT_eSPI/TFT_eSPI.h:101:0,
from .pio/libdeps/esp32dev/TFT_eSPI/TFT_eSPI.cpp:16:
.pio/libdeps/esp32dev/TFT_eSPI/Processors/TFT_eSPI_ESP32.h:14:25: fatal error: hal/gpio_ll.h: No such file or directory
compilation terminated.
*** [.pio/build/esp32dev/lib831/TFT_eSPI/TFT_eSPI.cpp.o] Error 1
========================= [FAILED] Took 97.41 seconds =========================
Environment Status Duration
------------- -------- ------------
esp32dev FAILED 00:01:37.406
I recall facing the same error with other usermods and it was related to below
https://github.com/Bodmer/TFT_eSPI/discussions/3048
Other usermods compile fine on older source
To Reproduce Bug
Uncomment the TFT_eSPI line within the [common] section as mentioned in the usermod readme
Expected Behavior
No compile error
Install Method
Self-Compiled
What version of WLED?
0.15.0 (build 2412100)
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
https://github.com/dosipod/WLED_15/actions/runs/12267662189/job/34228167624
Anything else?
Take it easy
Code of Conduct
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 1
- Comments: 20 (20 by maintainers)
@spiff72 I’ve merged your changes with current main, and integrated this module with the new
custom_usermodssystem. (PR #4600) The dependent library will be automatically included, and it should set the correct board using a little script, so it doesn’t have to be modified. Unfortunately I can’t test that it actually does anything beyond build as I don’t have this board. Would you mind taking a look and let me know if it’s working well?I have made some adjustments to the usermod (I updated the readme for it, along with some other adjustments that incorporated all of the required changes into the platformio_override.ini file). It does force an older version of the display driver library, though.