pyboard frozen modules folder
pyboard frozen modules folder
Reading old posts it seems that you used to create a modules folder in stmhal, but now that there is a ports folder, where exactly are frozen modules located for the pyboard ?
Re: pyboard frozen modules folder
OK, figured it out, use the stm32 folder.
But how do I enable the _threads module ?
I have tried enabling in these files, but it does not appear to work:
/ports/stm32/mpconfigport.mk
/ports/stm32/boards/pvbv11/mpconfigboard.h
But how do I enable the _threads module ?
I have tried enabling in these files, but it does not appear to work:
/ports/stm32/mpconfigport.mk
/ports/stm32/boards/pvbv11/mpconfigboard.h
Code: Select all
## enable _threads
MICROPY_PY_THREAD = 1
Re: pyboard frozen modules folder
You have to have a threading library implemented on whatever micro+OS combination you’re using.devnull wrote:OK, figured it out, use the stm32 folder.
But how do I enable the _threads module ?
I have tried enabling in these files, but it does not appear to work:
/ports/stm32/mpconfigport.mk
/ports/stm32/boards/pvbv11/mpconfigboard.h
Code: Select all
## enable _threads MICROPY_PY_THREAD = 1
Sent from my iPhone using Tapatalk