Hello, I have a problem with compilation of C module to micropython for stm32 port.
With include library dynruntime.h.
The error is:
In file included from ../../extmod/Cled/cblik.c:2:
../../py/dynruntime.h:37:2: error: #error "dynruntime.h included in non-dynamic-module build."
37 | #error "dynruntime.h included in non-dynamic-module build."
Thank you for advice.
C module
Re: C module
This forum will be made read-only soon. Please post at GitHub Discussions.
It sounds like the error message is telling you exactly what's going on -- 37 | #error "dynruntime.h included in non-dynamic-module build."
If you're just writing a regular module, you should not be including dynruntime.h. It is only for use by dynamic native modules (e.g. https://docs.micropython.org/en/latest/ ... atmod.html )
It's hard to know without more information about what you're doing.
It sounds like the error message is telling you exactly what's going on -- 37 | #error "dynruntime.h included in non-dynamic-module build."
If you're just writing a regular module, you should not be including dynruntime.h. It is only for use by dynamic native modules (e.g. https://docs.micropython.org/en/latest/ ... atmod.html )
It's hard to know without more information about what you're doing.