Skip to content
Commit 19c8fa24 authored by Celina Sophie Kalus's avatar Celina Sophie Kalus Committed by Fabio Baltieri
Browse files

ipc: rpmsg_service: Support IPM without data transfer



RPMsg currently sends four dummy bytes over the IPM when sending a
notification/interrupt to another CPU. However, most IPM drivers
support sending messages with no data transfer, and for some IPM
drivers, like the STM32 HSEM IPM driver, data transfer is not
possible at all, thus breaking compatibility. To fix this, send an
empty message with size 0 instead of a dummy message if the STM32
HSEM IPM driver is active.

Signed-off-by: default avatarCelina Sophie Kalus <hello@celinakalus.de>
parent 83192c71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment