3 ms·
It is not too difficult, just extremely verbose (even for a simple int arg function): https://docs.micropython.org/en/latest/develop/cmodules.html https://docs.
by neilpanchal 6y ago
It is not too difficult, just extremely verbose (even for a simple int arg function): https://docs.micropython.org/en/latest/develop/cmodules.html https://docs.micropython.org/en/latest/develop/cmodules.html
This might help: https://github.com/stinos/micropython-wrap https://github.com/stinos/micropython-wrap
- jokoon 6y agothanks, this is nice but building it seems complex. FFI seems more suitable. EDIT: actually neither FFI or this wrapper you linked are what I need. I need to execute micropython from C++, not the other way around.