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
33
59int dfu_exfat_app_upgrade_exists(const struct device *dev, struct infuse_version *upgrade);
60
73int dfu_exfat_app_upgrade_copy(const struct device *dev, struct infuse_version upgrade,
74 uint8_t flash_area_id, infuse_progress_cb_t erase_progress_cb,
75 infuse_progress_cb_t write_progress_cb);
76
80
81#ifdef __cplusplus
82}
83#endif
84
85#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.
#define infuse_version
Definition version.h:37
Common progress callback.
void(* infuse_progress_cb_t)(uint32_t progress, uint32_t total)
Common progress callback type definition.
Definition progress_cb.h:30
Infuse application versioning.