Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
exfat.h File Reference

Firmware upgrade from mounted exFAT filesystem. More...

#include <zephyr/device.h>
#include <zephyr/storage/flash_map.h>
#include <infuse/version.h>

Go to the source code of this file.

Typedefs

typedef void(* dfu_exfat_progress_cb_t) (size_t copied, size_t total)
 Progress callback for DFU copy.
 

Functions

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.
 
int dfu_exfat_app_upgrade_copy (const struct device *dev, struct mcuboot_img_sem_ver upgrade, uint8_t flash_area_id, dfu_exfat_progress_cb_t progress_cb)
 Copy DFU file from filesystem onto flash area.
 

Detailed Description

Firmware upgrade from mounted exFAT filesystem.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2

{version} == {major}_{minor}_{patch}

Application firmware paths: /dfu/app/{v_new}.bin