Can I run inference with Orca on STM32 devices?

Is there a way to connect an orca accelerator to any device by stm32 series of microcontrollers? I have the stm32mp257f-ev1 and i successfully installed degirum and degirum tools on their custom YoctoLinux distro but i am clueless to whether the connection itself it feasible via pcie converter or something similar. Thanks in advance!

Hi @alema416
Does the SoC in the system have PCIe or USB?

It has mini PCIe. Maybe with an adaptor? I have the m.2 version of orca.

@epomozov
Can you please take a look at this?

Hello @alema416,

Thank you for trying to use the ORCA accelerator with different platforms.
To make the PCIe M.2 adapter work, you need:

  1. sudo apt install flex libssl-dev libncurses-dev
  2. git clone GitHub - DeGirum/lincdadrv: CDA Linux Driver
    Source the sdk environment cross compiler toolchain install path env script
  3. environment-setup-aarch64-poky-linux
  4. The LD_FLAGS are not setup properly so unset it
  5. export LD_FLAGS=
  6. cd src/lincdadrv
  7. make BUILDDIR=/home/user/target-os-dir/build/tmp/work/imx8mpevk-poky-linux/linux-imx/5.4-r0/build

Please try to make it work. If you meet any issue, let us know. We will try to help you.
Best regards.

I will get back to you when I get my hands on the adapter. For the time being, thank you for the fast response.