Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spi_flash_write() replaced with esp_flash_write() #224

Open
vritzka opened this issue Jun 16, 2023 · 1 comment
Open

spi_flash_write() replaced with esp_flash_write() #224

vritzka opened this issue Jun 16, 2023 · 1 comment

Comments

@vritzka
Copy link

vritzka commented Jun 16, 2023

spi_flash_write(EVE_GT911_data, EVE_GT911_len);

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 vritzka changed the title spi_flash_write() replaced with esp_flash_write spi_flash_write() replaced with esp_flash_write() Jun 16, 2023
@hiruna
Copy link

hiruna commented Sep 12, 2023

@vritzka see #222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants