Creating new module for OpenMV

Hello I hope I have not annoued you by my questions concerning C coding.
I have been investigating you omv project. Now I can create new methods for existing omv modules and compile native modules(.mpy files).
But current time I would like to create my own module which I can summon in OpenMV IDE by “import my_module” string.

I have created it but OpenMV IDE informed me that module wasn’t exist.
Seems that my module was compiled but not linked or my_module is not existed in OpenMV IDE database.

So my question is. Is it necessary to have names of modules in OpenMV IDE database to use it?

No, it needs to be added to builtin modules in mpconfigport.h.

Problem is solved.
I found mpconfigport.h file where I added my code. And now my module can be imported.

Thanks :smiley: :smiley: :smiley:

Can you explain in the details how to add a module in OpenMV firmware? Thank you