lvgl / lvgl_esp32_drivers

Drivers for ESP32 to be used with LVGL
MIT License
340 stars 287 forks source link

spi_flash_write() replaced with esp_flash_write() #224

Open vritzka opened 1 year ago

vritzka commented 1 year ago

https://github.com/lvgl/lvgl_esp32_drivers/blob/26fe6e7703162ac9b0ee82405e858dc37b885d1f/lvgl_tft/EVE_commands.c#L934

spi_flash_write was replaced with esp_flash_write.

esp_flash_write has more parameters:

esp_err_t esp_flash_write(esp_flash_t chip, const void buffer, uint32_t address, uint32_t length)

chip can be NULL, but I am unsure about the address parameter we need to use here.
Can someone help to make this code work with idf 5?

legacy update informations

hiruna commented 1 year ago

@vritzka see https://github.com/lvgl/lvgl_esp32_drivers/issues/222