Hello,
Actually I am trying to store an signature string to identify if this is a first boot or not
eg
#define signature "THIS IS NOT FIRST BOOT"
How to store string in flash using SPI_FLASH_WRITE ,kindly post an example for better understanding
Thanks
How to store string in flash using SPI_FLASH_WRITE .
-
- Posts: 16
- Joined: Wed Jun 13, 2018 11:48 am
Re: How to store string in flash using SPI_FLASH_WRITE .
I used the NVS for such tasks https://github.com/espressif/esp-idf/tr ... vs_rw_blob
It does not use spi_flash_write(dest_addr, src, size); directly though, the underlying calls do contain this function call.
It does not use spi_flash_write(dest_addr, src, size); directly though, the underlying calls do contain this function call.
Who is online
Users browsing this forum: No registered users and 117 guests