platformio/platform-espressif32

New Board Request: TTGO-T-Display

ivmaks opened this issue ยท 13 comments

Please add support for TTGO-T-Display board:
https://github.com/Xinyuan-LilyGO/TTGO-T-Display

DaQue commented

Have 1 and two more stuck in customs right now.

Please open an issue here https://github.com/espressif/arduino-esp32/issues in the first place, so the board will be added to the Arduino framework officially.

The board was added to the Arduino framework.
espressif/arduino-esp32#3693

@g19i85g It looks like the PR wasn't merged, so the board is still not available https://github.com/espressif/arduino-esp32/tree/master/variants

I got it to compile and run using the TTGO-T1 board instead, but on that board they moved SCL to GPIO23 instead of default 22 because that shares a pin with the built in LED. I've changed it back to 22, but I2C still doesn't work. REally hope they get this sorted as i've based my latest project on this only to realise today that PIO doesn't support T-display (even though hardware built, ooops!)

If it helps anyone the i2c issue was solved by changing the default address. Can't explain how changing a board in platformio would change the default i2c address but that fixed it.

Actually, for a quick solve I found ivmak's comment really helpfull. Simply copy the build_flags entries from the platformio.ini from Kuba Andrรฝsek's github example and it works instantly:
example platformio.ini

Basically, the problem seams to be the missed defined pins for talking to the display.

avdz commented

The provided workaround works. I also noticed that a similar file is provided in the TFT_eSPI library by LilyGO.
However it would still be nice if the board is added to the Board Explorer.

Yes, I am surprised this board is still not in the system after 18 months. It's becoming quite popular now looking at my youtube feed!

Just here to add my "me too"

According to @valeros first the board must be available in https://github.com/espressif/arduino-esp32.
In the past there was this pull request espressif/arduino-esp32#3693 which was closed by the pull request author and so never gets merged. If someone is able to start a new PR there and reference it here, this would be perfect.