I am trying to build the cexample module with the steps from the docs:
cd micropython/ports/unix
make USER_C_MODULES=…/…/examples/usercmodule
I get following error:
…/…/extmod/modtime.c:32:10: fatal error: py_clock.h: No such file or directory
If I change, in modtime.c
#include “py_clock.h”
with
#include “…/…/…/…/omv/modules/py_clock.h”
I get the following error:
/usr/bin/ld: build-standard/extmod/modtime.o:(.data.rel.ro.mp_module_time_globals_table+0xb8): undefined reference to „py_clock_type”
Any ideea how can I fix it?