bitbank2 / bb_spi_lcd

SPI LCD/OLED library which can be built for Arduino and Linux
GNU General Public License v3.0
89 stars 13 forks source link

'esp_lcd_i80_bus_config_t' has no non-static data member named 'psram_trans_align' #7

Closed cyberman54 closed 2 years ago

cyberman54 commented 2 years ago

.pio/libdeps/usb/bb_spi_lcd/src/bb_parallel.cpp:60:1: error: 'esp_lcd_i80_bus_config_t' has no non-static data member named 'psram_trans_align'

Probably same with .sram_trans_align

bitbank2 commented 2 years ago

I'm using Arduino IDE 1.8.19 with ESP32 2.0.4 and I'm not seeing that error on any target MCUs. What versions of everything are you using?

cyberman54 commented 2 years ago

I'm using ESP32 2.0.3, because with 2.0.4 currently LittleFS/SPIFFS is broken.

cyberman54 commented 2 years ago

It compiles under 2.0.4, looks like the API was changed. Since values psram_trans_align and sram_trans_align are not used by this lib, they could be commented out in the struct, this would safe backward compatibility.

bitbank2 commented 2 years ago

ok, thanks for checking. I'll make the change.