Page 1 of 1

threading for Nucleo F767ZI ?

Posted: Sun Oct 08, 2017 9:00 pm
by uc69
Hello,
I cannot get the threading module for the F767ZI Nucleo board. I cannot find detail instructions on how to build a firmware with _thread.
As it is an STM32 MCU like on the PyBoard, it should be available ?
Thanks,
J.

Re: threading for Nucleo F767ZI ?

Posted: Mon Oct 09, 2017 1:18 pm
by shaoziyang
Add lines below in file mpconfigboard.h before compile.

Code: Select all

#define MICROPY_PY_THREAD           (1)
#define MICROPY_PY_THREAD_GIL       (1) 

Re: threading for Nucleo F767ZI ?

Posted: Tue Oct 10, 2017 8:54 am
by uc69
Hello,
Thank you ! Recompiling with the 2 defines and trying the examples found for PyCom, they work !
Great, cheers,
J.