Open Berg0162 opened 2 weeks ago
See this link for a workaround: https://github.com/Bodmer/TFT_eSPI/issues/3346
Thanks for this suggestion! I have changed the file: Processors/TFT_eSPI_ESP32.h and added #include "driver/gpio.h"
// Include processor specific header
#include "soc/spi_reg.h"
#include "driver/spi_master.h"
#include "driver/gpio.h"
#include "hal/gpio_ll.h"
Updated to version arduino-ESP32 version 3.0.1 ....
The above mentioned compile error complaining about gpio_get_level is persistent in the new situation: Compilation error: exit status 1
This is NOT solving the problem!
Try add it in TFT_eSPI_ESP32_S3.h. Worked for me.
"Try add it in TFT_eSPI_ESP32_S3.h. Worked for me."
Worked for me too.
"Try add it in TFT_eSPI_ESP32_S3.h. Worked for me."
Worked for me too.
Yes, I can compile but the screen remains black. It worked before
I have added #include "driver/gpio.h"
to the file: Processors/TFT_eSPI_ESP32_S3.h
// Processor ID reported by getSetup()
#define PROCESSOR_ID 0x32
// Include processor specific header
#include "soc/spi_reg.h"
#include "driver/spi_master.h"
#include "hal/gpio_ll.h"
#include "driver/gpio.h"
I have tested this with arduino-ESP32 version 2.0.17 and the latest version: 3.0.1 Indeed, for both versions: NO Compile error anymore with my code -> problem solved!
Please include this in the next TFT_eSPI version!
Board: LilyGo T-display S3 --> Board manager setting: "ESP32S3 Dev Module" with the right Tools settings Arduino IDE version: 2.3.2; CLI Version: 0.35.3 TFT_eSPI version: 2.5.43; previous version: 2.5.34
Arduino-ESP32 version: 2.0.17 --> All my code compiles without problems and works fine with TFT_eSPI (versions 2.5.43 and 2.5.34) !!
After installing: Arduino-ESP32 version 3.0.0;
Compilation error: exit status 1
After re-installing Arduino-ESP32 version: 2.0.17 ---> NO Compilation error Compliation Error is NOT dependent on the TFT_eSPI version. All my code works fine with TFT_eSPI and the LilyGo board of version 2.0.17 and previous
Our friends with Espressif have made changes (once again) that break up the TFT_eSPI library for this board (and others?).