samples: drivers: ipm: added IPM over IVSHMEM sample

To demonstrate how to configure Zephyr to use the IPM
driver over the IVSHMEM subsystem. Since this driver
is intended to generate inter QEMU VM notifications
it was better to create a sample app using the shell
for quick demonstration for the users.

Signed-off-by: Felipe Neves <felipe.neves@linaro.org>
This commit is contained in:
Felipe Neves 2023-07-17 09:55:43 -03:00 committed by Fabio Baltieri
commit da3ae1af61
9 changed files with 259 additions and 1 deletions

View file

@ -76,7 +76,7 @@ static int cmd_ivshmem_shmem(const struct shell *sh,
shell_fprintf(sh, SHELL_NORMAL,
"IVshmem up and running: \n"
"\tShared memory: 0x%x of size %u bytes\n"
"\tShared memory: 0x%lx of size %lu bytes\n"
"\tPeer id: %u\n"
"\tNotification vectors: %u\n",
mem, size, id, vectors);