Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
exfat.h
Go to the documentation of this file.
1
15
16#ifndef INFUSE_SDK_INCLUDE_INFUSE_DFU_EXFAT_H_
17#define INFUSE_SDK_INCLUDE_INFUSE_DFU_EXFAT_H_
18
19#include <zephyr/device.h>
20#include <zephyr/storage/flash_map.h>
21
22#include <infuse/version.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
34
60int dfu_exfat_app_upgrade_exists(const struct device *dev, struct infuse_version *upgrade);
61
74int dfu_exfat_app_upgrade_copy(const struct device *dev, struct infuse_version upgrade,
75 uint8_t flash_area_id, infuse_progress_cb_t erase_progress_cb,
76 infuse_progress_cb_t write_progress_cb);
77
81
82#ifdef __cplusplus
83}
84#endif
85
86#endif /* INFUSE_SDK_INCLUDE_INFUSE_DFU_EXFAT_H_ */
int dfu_exfat_app_upgrade_copy(const struct device *dev, struct mcuboot_img_sem_ver upgrade, uint8_t flash_area_id, infuse_progress_cb_t erase_progress_cb, infuse_progress_cb_t write_progress_cb)
Copy DFU file from filesystem onto flash area.
int dfu_exfat_app_upgrade_exists(const struct device *dev, struct mcuboot_img_sem_ver *upgrade)
Check whether a valid DFU file exists on the filesystem.
void(* infuse_progress_cb_t)(uint32_t progress, uint32_t total)
Common progress callback type.
Definition progress_cb.h:32
#define infuse_version
Infuse version structure, uses the MCUboot semantic version definition.
Definition version.h:42
Common progress callback.
Infuse application versioning.