Compilation error with Edge Impulse Zephyr library on Alif E7

Hello,

I’m working on a project using Edge Impulse + Zephyr on the Alif E7 Development Kit, and I’m encountering a blocking compilation issue inside the Edge Impulse library Zephyr library.

My environment

  • Board: Alif Ensemble E7 (Cortex-M55 + Ethos-U55)
  • Zephyr SDK: 0.16.9
  • west version: 1.5.0
  • Zephyr main repository: v3.7.1
  • Deployment type: Zephyr library from Edge Impulse

The error

During the build, I consistently get the following compilation error:

Does anyone know where this error comes from and how I can fix it?

Hi @Rizelaine

as the error suggest, you need to add -flax-vector-conversions to the compilation flag,
ie
zephyr_library_compile_options(-flax-vector-conversions)

To the CMakeList file

regards,
fv