Etsam/All,
Setup Zephyr as normal. I used the zephyr-sdk-0.13.1 for toolchain and qemu etc. I used a local python3 venv and pip3 to get west and cmake
Right now you have to run west twice; once to build and once to run qemu. Don't use -p with west on the second one (optional and OK on first)
$ west build -b mps2_an521 zephyr/samples/subsys/ipc/openamp $ west build -b mps2_an521 zephyr/samples/subsys/ipc/openamp -t run
The sample does not use remoteproc just rpmsg.
The mps2_an521 board is a dual cortex-M33 platform. It has QEMU and real HW support but I will not use the HW as it is expensive.
An RFC PR to fix the need for 2 west invocations is here: https://github.com/zephyrproject-rtos/zephyr/pull/40240
Thanks go to Arnaud for the pointer to this sample.
Thanks, Bill
Thanks Bill! This is very useful.
-----Original Message----- From: Bill Mills bill.mills@linaro.org Sent: Wednesday, November 10, 2021 11:57 AM To: openamp-system-reference@lists.openampproject.org; Anjum, Etsam Etsam_Anjum@mentor.com Cc: Arnaud POULIQUEN arnaud.pouliquen@st.com Subject: MCU to MCU in Zephyr
Etsam/All,
Setup Zephyr as normal. I used the zephyr-sdk-0.13.1 for toolchain and qemu etc. I used a local python3 venv and pip3 to get west and cmake
Right now you have to run west twice; once to build and once to run qemu. Don't use -p with west on the second one (optional and OK on first)
$ west build -b mps2_an521 zephyr/samples/subsys/ipc/openamp $ west build -b mps2_an521 zephyr/samples/subsys/ipc/openamp -t run
The sample does not use remoteproc just rpmsg.
The mps2_an521 board is a dual cortex-M33 platform. It has QEMU and real HW support but I will not use the HW as it is expensive.
An RFC PR to fix the need for 2 west invocations is here: https://github.com/zephyrproject-rtos/zephyr/pull/40240
Thanks go to Arnaud for the pointer to this sample.
Thanks, Bill
-- Bill Mills Principal Technical Consultant, Linaro +1-240-643-0836 TZ: US Eastern Work Schedule: Tues/Wed/Thur
openamp-system-reference@lists.openampproject.org