Error building open amp lib

Hello all, I am trying to build open-amp lib for my platform IO ( zephyr OS ) based project. I have created a new project based on stm32H747 disco board. able to compile hello world example. I then tried adding open-amp using below configs. now when I compile I get error about libmetal headers, not able to find.

  • CONFIG_IPM=y
  • CONFIG_IPM_STM32_IPCC=y
  • CONFIG_OPENAMP=y
  • CONFIG_OPENAMP_SLAVE=y
  • CONFIG_OPENAMP_RSC_TABLE=y

compilation error -.platformio\packages\framework-zephyr-open-amp\open-amp\lib\include/openamp/virtio_ring.h:12:10: fatal error: metal/compiler.h: No such file or directory
#include <metal/compiler.h>any idea how to add/include libmetal dependencies

@ivankravets any suggestion from your side. I am ready to switch to other controller like STM32MP1 if it helps me proceed further.

Hi @prayassamriya ! Does it work if you use the upstream version of the ststm32 dev-platform with the latest Zephyr 2.6.0:

[env:disco_h747xi]
platform = https://github.com/platformio/platform-ststm32.git
framework = zephyr
board = disco_h747xi

Hi Valeros,
I know this is an old topic, but I am facing a similar issue.
See my thread STM32H747XI-DISCO (env:disco_h747xi) and stm32cube-hal-blinky can not build

I tried what you suggest here, this is the ouput:

Processing disco_h747xi (platform: ststm32; framework: https://github.com/platformio/platform-ststm32.git; board: disco_h747xi)
-------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/disco_h747xi.html
PLATFORM: ST STM32 (15.4.0) > STM32H747I-DISCO
HARDWARE: STM32H747XIH6 400MHz, 512KB RAM, 2MB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, cmsis-dap, jlink)
PACKAGES: 
 - toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
Error: This board doesn't support https://github.com/platformio/platform-ststm32.git framework!
============================================================= [FAILED] Took 0.25 seconds =============================================================