micropython/ports
Damien George ee3c9ccb54 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:51:11 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
embed
esp32 esp32: Increase NimBLE task stack size and overflow detection headroom. 2024-02-16 10:51:11 +11:00
esp8266 ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
mimxrt mimxrt/modmachine: Fix deepsleep wakeup pin ifdef. 2024-02-16 10:47:40 +11:00
minimal ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
nrf nrf/main: Add /flash and /flash/lib to sys.path. 2023-12-22 11:15:19 +11:00
pic16bit ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
powerpc ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
qemu-arm ports: Switch build to use common lib/libm list of source files. 2023-12-08 15:42:41 +11:00
renesas-ra renesas-ra/ra/ra_i2c: Fix 1 byte and 2 bytes read issue. 2024-02-16 10:49:24 +11:00
rp2 rp2: Change machine.I2S and rp2.DMA to use shared DMA IRQ handlers. 2024-02-16 10:48:51 +11:00
samd ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
stm32 ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
unix ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
webassembly ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
windows ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
zephyr ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00