micropython/ports
Damien George cd66aa05cf esp32: Increase NimBLE task stack size and overflow detection headroom.
The Python BLE IRQ handler will most likely run on the NimBLE task, so its
C stack must be large enough to accommodate reasonably complicated Python
code (eg a few call depths).  So increase this stack size.

Also increase the headroom from 1024 to 2048 bytes.  This is needed because
(1) the esp32 architecture uses a fair amount of stack in general; and (2)
by the time execution gets to setting the Python stack top via
`mp_stack_set_top()` in this interlock code, about 600 bytes of stack are
already used, which reduces the amount available for Python.

Fixes issue #12349.

Signed-off-by: Damien George <damien@micropython.org>
2024-02-16 10:19:26 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 extmod/modvfs: Add new "vfs" module with mount/umount and Vfs classes. 2024-02-07 13:25:08 +11:00
embed embed: Improve stack top estimation. 2024-02-15 10:07:32 +11:00
esp32 esp32: Increase NimBLE task stack size and overflow detection headroom. 2024-02-16 10:19:26 +11:00
esp8266 ports: Use vfs module instead of os. 2024-02-07 13:25:09 +11:00
mimxrt ports: On cold boot, enable USB after boot.py completes. 2024-02-15 12:31:26 +11:00
minimal minimal: Use printf instead of echo -e. 2024-02-15 16:36:22 +11:00
nrf ports: On cold boot, enable USB after boot.py completes. 2024-02-15 12:31:26 +11:00
pic16bit py/mpconfig: Disable qstr hashing at minimum feature level. 2024-01-25 16:38:17 +11:00
powerpc py/mpconfig: Disable qstr hashing at minimum feature level. 2024-01-25 16:38:17 +11:00
qemu-arm qemu-arm/mpconfigport: Use MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES. 2024-01-29 13:07:31 +11:00
renesas-ra ports: On cold boot, enable USB after boot.py completes. 2024-02-15 12:31:26 +11:00
rp2 ports: On cold boot, enable USB after boot.py completes. 2024-02-15 12:31:26 +11:00
samd ports: On cold boot, enable USB after boot.py completes. 2024-02-15 12:31:26 +11:00
stm32 stm32/Makefile: Ignore uninitialised variable warning in H5 HAL SD code. 2024-02-07 14:55:07 +11:00
unix unix: Don't include system headers when features are disabled. 2024-02-15 16:54:17 +11:00
webassembly ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
windows extmod/modtls: Move the native ssl module to tls. 2024-02-07 12:58:52 +11:00
zephyr ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00