vroland / epdiy

EPDiy is a driver board for affordable e-Paper (or E-ink) displays.
https://vroland.github.io/epdiy-hardware/
GNU Lesser General Public License v3.0
1.25k stars 178 forks source link

Errors on esp32s3 compile #317

Closed malachib closed 1 month ago

malachib commented 1 month ago

Getting a linker errors during screen_diag compile:

/Users/malachi/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/epdiy/libepdiy.a(epd_board_lilygo_t5_47.c.obj):(.literal.epd_board_poweron+0x4): undefined reference to `i2s_gpio_attach'
/Users/malachi/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/epdiy/libepdiy.a(epd_board_lilygo_t5_47.c.obj): in function `epd_board_poweron':
/Users/malachi/Projects/ext/esp/epdiy/src/board/epd_board_lilygo_t5_47.c:113: undefined reference to `i2s_gpio_attach'

Seems like a component referencing issue. Using ESP-IDF 5.1.4

EDIT

I want to thank you for your efforts. I have the Lilygo T5 and I 100% regret buying it. After a dozen+ hours invested, it still won't come up with ESP-IDF. I am extremely irritated, but not with you, with Lilygo for selling this thing. Only Arduino support is pathetic

martinberlin commented 1 month ago

Sorry but we decided not to support https://www.lilygo.cc/products/t5-4-7-inch-e-paper-v2-3 Lilygo ESP32S3 board since it's made based on epdiy version 2 (While epdiy is already in version 7 of the Hardware / Firmware) It's possible to do it, please check my branch here: https://github.com/martinberlin/epdiy-rotation/tree/lilygos3

But we are not going to implement it since it requires adding a lot of pre-compiler IF's and it's really not our fault that Lilygo choose this awkward way to build their PCB. For more information about why we took this decision please watch this Video.

If you want to try the full speed of S3 and epdiy v7 please send your own PCBs to fabrication or get one in my shop here (Now at a discount price)

malachib commented 1 month ago

I can understand that, given the general support I've received from them. $40 not well spent, that's for sure. Thanks for your efforts. Time to leave them a lousy review

martinberlin commented 4 weeks ago

No problem. Still keep in mind like I mentioned you can just use my branch in the epdiy fork mentioned and build stuff with IDF. But yes I agree it’s not a very useful board in its current state and the display failed for me having that hardware dead lines…