lvgl_esp32_drivers icon indicating copy to clipboard operation
lvgl_esp32_drivers copied to clipboard

spi_flash_write() replaced with esp_flash_write()

Open vritzka opened this issue 1 year ago • 1 comments

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

vritzka avatar Jun 16 '23 09:06 vritzka

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

hiruna avatar Sep 12 '23 02:09 hiruna