Page 1 of 1

pyboard frozen modules folder

Posted: Mon May 07, 2018 1:03 pm
by devnull
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

Posted: Mon May 07, 2018 2:07 pm
by devnull
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

Re: pyboard frozen modules folder

Posted: Mon May 07, 2018 10:51 pm
by jickster
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
You have to have a threading library implemented on whatever micro+OS combination you’re using.


Sent from my iPhone using Tapatalk