micropython/ports
David Lechner 5e6cee07ab unix/mpthreadport: Fix crash when thread stack size <= 8k.
The stack size adjustment for detecting stack overflow in threads was not
taking into account that the requested stack size could be <= 8k, in which
case the subtraction would overflow.  This is fixed in this commit by
ensuring that the adjustment can't be more than the available size.

This fixes the test tests/thread/thread_stacksize1.py which sometimes
crashes with a segmentation fault because of an uncaught NLR jump, which is
a "maximum recursion depth exceeded" exception.

Suggested-by: @dpgeorge
2020-03-27 13:59:18 +11:00
..
bare-arm py/mpconfig.h: Enable MICROPY_MODULE_GETATTR by default. 2020-03-26 01:21:04 +11:00
cc3200 all: Remove spaces between nested paren and inside function arg paren. 2020-03-25 00:39:46 +11:00
esp32 esp32: Enable and freeze uasyncio. 2020-03-26 01:25:46 +11:00
esp8266 esp8266: Enable and freeze uasyncio. 2020-03-26 01:25:46 +11:00
javascript
mimxrt
minimal py/mpconfig.h: Enable MICROPY_MODULE_GETATTR by default. 2020-03-26 01:21:04 +11:00
nrf ports: Add lib/libm/roundf.c to bare-metal Makefile's. 2020-03-25 01:22:00 +11:00
pic16bit
powerpc
qemu-arm qemu-arm: Set default board as mps2-an385 to get more flash for tests. 2020-03-26 01:21:04 +11:00
samd
stm32 stm32/mpconfigport.h: Remove unused root pointer for BTstack bindings. 2020-03-27 00:30:37 +11:00
teensy all: Remove spaces between nested paren and inside function arg paren. 2020-03-25 00:39:46 +11:00
unix unix/mpthreadport: Fix crash when thread stack size <= 8k. 2020-03-27 13:59:18 +11:00
windows windows/windows_mphal: Fix missing semicolon. 2020-03-25 00:59:34 +11:00
zephyr zephyr: Update machine.Pin class to use new zephyr gpio api. 2020-03-25 00:29:42 +11:00