Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
helpers.h
Go to the documentation of this file.
1
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_DFU_HELPERS_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_DFU_HELPERS_H_
12
13#include <stdlib.h>
14#include <stdbool.h>
15
16#include <zephyr/storage/flash_map.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
37int infuse_dfu_image_erase(const struct flash_area *fa, size_t image_len, bool mcuboot_trailer);
38
47
55
60#ifdef __cplusplus
61}
62#endif
63
64#endif /* INFUSE_SDK_INCLUDE_INFUSE_DFU_HELPERS_H_ */
int infuse_dfu_nrf91_modem_delta_prepare(void)
Prepare the nRF91 modem for a delta image upgrade.
int infuse_dfu_image_erase(const struct flash_area *fa, size_t image_len, bool mcuboot_trailer)
Erase a flash area to be ready for a new image.
int infuse_dfu_nrf91_modem_delta_finish(void)
Finalise a nRF91 modem delta image upgrade.