Custom definitions of ei_* functions

Hello.

I want to use the generic C++ export in a Zynq SoC that contains a dual ARM Cortex A9 core. I use the FPGA matrix to gather data from sensors and provide those data to the cores.

Therefore, I need to redefine the ei_* functions (ei_printf, ei_malloc, ei_calloc etc) as decribed here. Yet, the links that are supposed to help me to do so are all broken :sob: (example)

Is there any other page(s) where I can find the information I need ?

Thank you in advance !

I managed to solve my issue.

I created a Zynq folder in the porting repo with the debug_log.cpp and ei_classifier_poprting.cpp files. I just modified the ei_printf function to comply with Xilinx Zynq functions.

Regards!

1 Like

Hi @bmulliez

If you can share more detail on your project or a gitrepo it would be helpful for others that are interested in FPGA. We dont have enough content on the FPGA and Zync for sure. Only one or two projects I can remember, did you follow our porting guide? Porting guide | Edge Impulse Documentation

Best

Eoin