How to build a firmware with _thread module?
Posted: Fri Jul 21, 2017 4:11 am
PYB has firmware with thread module, but how to build a custom firmware with _thread module?
Please see the new forum at
https://forum.micropython.org/
Code: Select all
make BOARD=PYBV10 clean
Code: Select all
#ifndef MICROPY_PY_THREAD
#define MICROPY_PY_THREAD (1)
#endif
Code: Select all
#ifndef MICROPY_PY_THREAD
#define MICROPY_PY_THREAD (1)
#endif
Code: Select all
make BOARD=PYBLITEV10 V=1
How to solve this issue.Thanks advance!In file included from ../py/mpstate.h:32:0,
from ../py/mpstate.c:27:
../py/mpthread.h:36:26: fatal error: mpthreadport.h: No such file or directory
compilation terminated.
../py/mkrules.mk:47: recipe for target 'build/py/mpstate.o' failed
make[1]: *** [build/py/mpstate.o] Error 1
make[1]: Leaving directory '/home/phonelink/micropython/mpy-cross'
../../py/mkrules.mk:104: recipe for target '../../mpy-cross/mpy-cross' failed
make: *** [../../mpy-cross/mpy-cross] Error 2