winnermicro / micropython

MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
https://micropython.org
MIT License
9 stars 2 forks source link

mpthreadport.c, main.c: Give stacksize in bytes quantity #6

Closed robert-hh1 closed 4 years ago

robert-hh1 commented 4 years ago

The stacksize at calls to tls_os_task_create() have to be given in bytes quantity. Opposed to the documentation, which tells that the number of stack elements have to be specified.

Collateral non-related changes just for the building and testing:

wdyichen commented 4 years ago

Thanks for your work