Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions drivers/mbox/mbox_nrf_vevif_task_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@

#define DT_DRV_COMPAT nordic_nrf_vevif_task_tx

#include <zephyr/kernel.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/mbox.h>

#include <haly/nrfy_vpr.h>

#define TASKS_IDX_MAX NRF_VPR_TASKS_TRIGGER_MAX
#define VEVIF_RETRIGGER_DELAY 12

struct mbox_vevif_task_tx_conf {
NRF_VPR_Type *vpr;
Expand Down Expand Up @@ -39,6 +41,10 @@ static int vevif_task_tx_send(const struct device *dev, uint32_t id, const struc

nrfy_vpr_task_trigger(config->vpr, nrfy_vpr_trigger_task_get(id));

k_busy_wait(VEVIF_RETRIGGER_DELAY);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#include <zephyr/kernel.h> missing for k_busy wait


nrfy_vpr_task_trigger(config->vpr, nrfy_vpr_trigger_task_get(id));

return 0;
}

Expand Down