Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
Flash image header file. More...
#include <zephyr/storage/stream_flash.h>
Go to the source code of this file.
Data Structures | |
struct | flash_img_context |
struct | flash_img_check |
Structure for verify flash region integrity. More... | |
Functions | |
int | flash_img_init_id (struct flash_img_context *ctx, uint8_t area_id) |
Initialize context needed for writing the image to the flash. | |
int | flash_img_init (struct flash_img_context *ctx) |
Initialize context needed for writing the image to the flash. | |
size_t | flash_img_bytes_written (struct flash_img_context *ctx) |
Read number of bytes of the image written to the flash. | |
int | flash_img_buffered_write (struct flash_img_context *ctx, const uint8_t *data, size_t len, bool flush) |
Process input buffers to be written to the image slot 1. | |
int | flash_img_check (struct flash_img_context *ctx, const struct flash_img_check *fic, uint8_t area_id) |
Verify flash memory length bytes integrity from a flash area. | |
Flash image header file.
This header file declares prototypes for the flash image APIs used for DFU.