Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Other
3.79k
stars
1.09k
forks
source link
fatal error: SPI.h: No such file or directory #3317
I'm using lastest verison of TFT_eSPI lib with an ESP32-WROOM-32 Devkit.
It just declares the header as #include and nothing more.
When attempting to compile the project, the following error is displayed:
In file included from .pio/libdeps/wemos_d1_mini32/TFT_eSPI/TFT_eSPI.cpp:16:
.pio/libdeps/wemos_d1_mini32/TFT_eSPI/TFT_eSPI.h:33:12: fatal error: SPI.h: No such file or directory
Looking for SPI.h dependency? Check our library registry!
I'm using lastest verison of TFT_eSPI lib with an ESP32-WROOM-32 Devkit. It just declares the header as #include and nothing more.
When attempting to compile the project, the following error is displayed:
In file included from .pio/libdeps/wemos_d1_mini32/TFT_eSPI/TFT_eSPI.cpp:16: .pio/libdeps/wemos_d1_mini32/TFT_eSPI/TFT_eSPI.h:33:12: fatal error: SPI.h: No such file or directory
include
compilation terminated. *** [.pio\build\wemos_d1_mini32\libfaf\TFT_eSPI\TFT_eSPI.cpp.o] Error 1 ~/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-uart.c: In function 'uartSetPins': ~/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-uart.c:153:9: warning: 'return' with no value, in function returning non-void return; ^
~~/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-uart.c:149:6: note: declared here bool uartSetPins(uint8_t uart_num, int8_t rxPin, int8_t txPin, int8_t ctsPin, int8_t rtsPin) ^~~============================================================================================== [FAILED] Took 4.41 seconds ====================================================================Notes:
SPI lib already installed and works correctly with other dev boards
I use 2.5.43 version.
I use #include <User_Setups/Setup42_ILI9341_ESP32.h> & #define ILI9341_DRIVER