Hello,
ST Restricted
-----Original Message----- From: Murali Karicheri via Openamp-rp <openamp- rp@lists.openampproject.org> Sent: Friday, June 23, 2023 5:00 PM To: openamp-rp@lists.openampproject.org Subject: [Openamp-rp] Re: open-amp for bare-metal on STM32H7
Hello Arnaud,
I was able to create a project in STMCubeIDE for open-amp ping pong application and run successfully on STM32H745i-disco board. Since you have mentioned that this is compatible with RPMSG application on Zephyr, I will use this version for now to interface with Zephyr and will defer upgrade to latest version. Still if you have any information as to what changes are needed to STM code to upgrade to the latest version of open-amp, please let me know. I may be able to work on this and contribute to upstream.
As the stm32cubeIDE does not support cmake for now ( this should come soon) it is not straightforward to update it. I suggest you to create a post on https://community.st.com/ for that
If you want to try it by your self 1) cmake -DCMAKE_TOOLCHAIN_FILE=template-generic -DCROSS_PREFIX=$CROSS_COMPILE with $CROSS_COMPILE that point to the arm gcc prefix
2) Rename some files ( compatibility of the ST projects with multi IDE) rename from lib/system/generic/device.c to lib/system/generic/generic_device.c rename from lib/system/generic/init.c to lib/system/generic/generic_init.c rename from lib/system/generic/io.c to lib/system/generic/generic_io.c rename from lib/system/generic/shmem.c to lib/system/generic/generic_shmem.c
3) Fix in Stm32cube project issues linked to the lrebase of the openamp libs
Regards Arnaud
Regards, Murali -- Openamp-rp mailing list -- openamp-rp@lists.openampproject.org To unsubscribe send an email to openamp-rp- leave@lists.openampproject.org