threading for Nucleo F767ZI ?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
uc69
Posts: 4
Joined: Sat Oct 07, 2017 9:26 am

threading for Nucleo F767ZI ?

Post by uc69 » Sun Oct 08, 2017 9:00 pm

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.

shaoziyang
Posts: 363
Joined: Sun Apr 17, 2016 1:55 pm

Re: threading for Nucleo F767ZI ?

Post by shaoziyang » Mon Oct 09, 2017 1:18 pm

Add lines below in file mpconfigboard.h before compile.

Code: Select all

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

uc69
Posts: 4
Joined: Sat Oct 07, 2017 9:26 am

Re: threading for Nucleo F767ZI ?

Post by uc69 » Tue Oct 10, 2017 8:54 am

Hello,
Thank you ! Recompiling with the 2 defines and trying the examples found for PyCom, they work !
Great, cheers,
J.

Post Reply