Flash¶
The internal flash memory can be erased and written to via the flash API.
The API is asynchronous, the actual writing happens in the background. The calls can fail directly or during the flash write. The data buffer need to be available while mira_flash_is_working()
returns MIRA_TRUE
.
A more detailed description of how to use the flash API can be found in the MiraOS example "flash_write".