Hi Wolle!
I tried to make a actual build (Feb,2nd) for ILI9488 display with TP9488 and build failed:
Compiling .pio\build\esp32s3\src\main.cpp.o
Compiling .pio\build\esp32s3\libdb2\tftLib\tft_dsi.cpp.o
Compiling .pio\build\esp32s3\libdb2\tftLib\tft_rgb.cpp.o
Compiling .pio\build\esp32s3\libdb2\tftLib\tft_spi.cpp.o
In file included from src/main.cpp:2:
src/mwr_src/function.hpp:6:16: warning: 'tft' initialized and declared 'extern'
6 | extern TFT_SPI tft(spiBus, TFT_CS);
| ^~~
src/mwr_src/function.hpp:6:20: error: 'spiBus' was not declared in this scope
6 | extern TFT_SPI tft(spiBus, TFT_CS);
| ^~~~~~
src/main.cpp:200:9: error: redefinition of 'TFT_SPI tft'
200 | TFT_SPI tft(spiBus, TFT_CS);
| ^~~
src/mwr_src/function.hpp:6:16: note: 'TFT_SPI tft' previously declared here
6 | extern TFT_SPI tft(spiBus, TFT_CS);
| ^~~
*** [.pio\build\esp32s3\src\main.cpp.o] Error 1
========================================================================================================= [FAILED] Took 20.04 seconds =========================================================================================================
Environment Status Duration
esp32s3 FAILED 00:00:20.040
The problem is in SPI call. Could you help?
Hi Wolle!
I tried to make a actual build (Feb,2nd) for ILI9488 display with TP9488 and build failed:
Compiling .pio\build\esp32s3\src\main.cpp.o
Compiling .pio\build\esp32s3\libdb2\tftLib\tft_dsi.cpp.o
Compiling .pio\build\esp32s3\libdb2\tftLib\tft_rgb.cpp.o
Compiling .pio\build\esp32s3\libdb2\tftLib\tft_spi.cpp.o
In file included from src/main.cpp:2:
src/mwr_src/function.hpp:6:16: warning: 'tft' initialized and declared 'extern'
6 | extern TFT_SPI tft(spiBus, TFT_CS);
| ^~~
src/mwr_src/function.hpp:6:20: error: 'spiBus' was not declared in this scope
6 | extern TFT_SPI tft(spiBus, TFT_CS);
| ^~~~~~
src/main.cpp:200:9: error: redefinition of 'TFT_SPI tft'
200 | TFT_SPI tft(spiBus, TFT_CS);
| ^~~
src/mwr_src/function.hpp:6:16: note: 'TFT_SPI tft' previously declared here
6 | extern TFT_SPI tft(spiBus, TFT_CS);
| ^~~
*** [.pio\build\esp32s3\src\main.cpp.o] Error 1
========================================================================================================= [FAILED] Took 20.04 seconds =========================================================================================================
Environment Status Duration
esp32s3 FAILED 00:00:20.040
The problem is in SPI call. Could you help?