Describe the bug
Arduino IDE 2.2.1 fresh installed, fresh installed lcdgfx library, st7735 and ili9341 demos not compile for esp8266 board with this error:
libraries\lcdgfx\src/lcd_hal/esp/esp32_spi.h:34:10: fatal error: driver/spi_master.h: No such file or directory
34 | #include "driver/spi_master.h"
| ^~~~~
compilation terminated.
To Reproduce
Steps to reproduce the behavior:
install Arduino IDE 2.2.1, install lcdgfx library 1.1.5 from library manager
Click on 'compile'
Scroll down to read error
See error :
libraries\lcdgfx\src/lcd_hal/esp/esp32_spi.h:34:10: fatal error: driver/spi_master.h: No such file or directory
34 | #include "driver/spi_master.h"
| ^~~~~
compilation terminated.
Expected behavior
sd1306 library demos compiling and works well with this particular MCU board and this particular ili9341 display, so hardware is OK.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
library version : Using library lcdgfx at version 1.1.5
It looks like #define CONFIG_ESP32_SPI_AVAILABLE is misplaced in lcdgfx/src/lcd_hal/arduino/io.h
Commenting it out helped for me as a temporary solution
Describe the bug Arduino IDE 2.2.1 fresh installed, fresh installed lcdgfx library, st7735 and ili9341 demos not compile for esp8266 board with this error: libraries\lcdgfx\src/lcd_hal/esp/esp32_spi.h:34:10: fatal error: driver/spi_master.h: No such file or directory 34 | #include "driver/spi_master.h" | ^
~~~~compilation terminated.To Reproduce Steps to reproduce the behavior:
~~~~compilation terminated.Expected behavior sd1306 library demos compiling and works well with this particular MCU board and this particular ili9341 display, so hardware is OK.
Screenshots If applicable, add screenshots to help explain your problem.
Please complete the following information:
Additional context no additional context