26#include <zephyr/device.h>
110#ifdef CONFIG_PCD_READ_NETCORE_APP_VERSION
118int pcd_network_core_app_version(uint8_t *buf,
size_t len);
126int pcd_find_fw_version(
void);
int pcd_network_core_update(const void *src_addr, size_t len)
Sets up the PCD command structure with the location and size of the firmware update....
pcd_status
Definition pcd.h:34
@ PCD_STATUS_FAILED
Definition pcd.h:37
@ PCD_STATUS_READ_VERSION
Definition pcd.h:38
@ PCD_STATUS_COPY
Definition pcd.h:35
@ PCD_STATUS_LOCK_DEBUG
Definition pcd.h:39
@ PCD_STATUS_DONE
Definition pcd.h:36
void pcd_fw_copy_invalidate(void)
Invalidate the PCD CMD, indicating that the copy failed.
void pcd_done(void)
Update the PCD CMD to indicate that the operation has completed successfully.
int pcd_fw_copy(const struct device *fdev)
Perform the DFU image transfer.
void pcd_lock_ram(bool lock_conf)
Lock the RAM section used for IPC with the network core bootloader.
int pcd_network_core_update_initiate(const void *src_addr, size_t len)
Sets up the PCD command structure with the location and size of the firmware update....
const void * pcd_cmd_data_ptr_get(void)
Get value of 'data' member of pcd cmd.
enum pcd_status pcd_fw_copy_status_get(void)
Check the PCD CMD to find the status of the update.
Common definitions for the PCD API.