26#include <zephyr/device.h>
33#ifdef CONFIG_SOC_SERIES_NRF53X
35#ifdef CONFIG_PCD_CMD_ADDRESS
37#define PCD_CMD_ADDRESS CONFIG_PCD_CMD_ADDRESS
43#ifdef PM_PCD_SRAM_ADDRESS
44#define PCD_CMD_ADDRESS PM_PCD_SRAM_ADDRESS
47#define PCD_CMD_ADDRESS PM__PCD_SRAM_ADDRESS
127#ifdef CONFIG_PCD_READ_NETCORE_APP_VERSION
135int pcd_network_core_app_version(uint8_t *buf,
size_t len);
143int 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:54
@ PCD_STATUS_FAILED
Definition: pcd.h:57
@ PCD_STATUS_READ_VERSION
Definition: pcd.h:58
@ PCD_STATUS_COPY
Definition: pcd.h:55
@ PCD_STATUS_DONE
Definition: pcd.h:56
void pcd_fw_copy_invalidate(void)
Invalidate the PCD CMD, indicating that the copy failed.
void pcd_lock_ram(void)
Lock the RAM section used for IPC with the network core bootloader.
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.
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.