Xinyuan-LilyGO / T-Dongle-S3

An ESP32S3 development board that can freely use WIFI, BLE, TF, LED, TFT_LCD functions.
MIT License
105 stars 36 forks source link

TFT is not working #26

Open antonflorin opened 1 month ago

antonflorin commented 1 month ago

I cannot use any exemple of TFT (I used the documentation of the device and the indications on the git page). When I compile and write the app to the device, the device it stops working, even the serial connection it stops.

TsKyrk commented 1 month ago

Using Win10 here.

I have the same issue : I can't get Android IDE to compile a working binary. Once flashed with Factory.ino or TFT.ino the TFT display remains black and the serial link connection becomes unstable (due to continuous reboots it seems).

If you are using Windows, you can restore the factory firmware using T-Dongle-S3/firmware/flash to device.bat The device must first be unplugged and replugged while the reset button is being pressed.

Moreover I've successfully compiled a working firmware but using PlatformIO + applying the recommendation of this PR : https://github.com/Xinyuan-LilyGO/T-Dongle-S3/pull/23 Which consists in removing 3 lines in platformio.ini :

platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#2.0.5

My guess is that an online dependency has been deleted recently and the T-dongle-S3 repo has not been corrected accordingly. But since I am a newbie, I can't really be sure : maybe I am just missing something.

I would also appreciate some help to get Android IDE to work with this device. I was not ready to dive into PlatformIO yet.

Jason2866 commented 1 month ago

The problem is the bodmer/TFT_eSPI library. It is not working with newer Arduino core versions. All versions after core 2.0.14 will fail. See https://github.com/espressif/arduino-esp32/issues/9618#issuecomment-2114839060

sbrandsma commented 1 month ago

The problem is the bodmer/TFT_eSPI library. It is not working with newer Arduino core versions. All versions after core 2.0.14 will fail. See espressif/arduino-esp32#9618 (comment)

You saved me a lot of time! Switching back to 2.0.10 (picked a random version below 2.0.14) worked!

TsKyrk commented 1 month ago

Here came our savior @Jason2866 ! I've switched back to package "ESP32 by Espressif Systems v2.0.14" and now I can compile Factory.ino. Thank you very much for your help. I hope their future releases will fix the issues.