Portenta H7 - C++ module

Hello everyone,
I wonder if it is possible to implement a C++ file into my micropython code.
I’d like to use some function written inside the C++ file in script.

Thank you very much.

The only way I can think of would be adding a module to the firmware and compiling it yourself.

See github page for instructions.

If you aren’t successful, and you still want to write something in C++, you could always migrate to the Arduino environment. let me know if you need some help with the migration.

Hope this helps!

Thank you very much! I’m trying to migrate to arduino environment but I’m struggling to make the ethernet connection work.
I want to connect the portenta board to my laptop using the ethernet port, but it keeps sayin “cable not connected” and I can’t receive any packets. While when I programmed (using socket) the board in OpenMV this ethernet connection works as expected. Can you help me?

Are you saying it’s working with our firmware and not working with Arduino’s firmware ? If so then you should ask the question on Arduino’s forums: