← index #7862PR #15583
Off-topic · high · value 0.612
QUERY · ISSUE

How use _thread library?

openby wangdy-codeopened 2021-09-27updated 2021-10-15
port-esp32

### borad:esp32

I expect to use this library to create a thread to detect whether a thread with the same function has been created and delete the previous thread with the same function.

CANDIDATE · PULL REQUEST

esp32: Use configured stack-limit-margin when creating threads.

closedby dpgeorgeopened 2024-08-02updated 2024-08-07
port-esp32

Summary

This gives more stack margin for threads on ESP32C3 (it should have been done this way from the beginning). That's important for IDF v5.2, see https://github.com/micropython/micropython/pull/15523#issuecomment-2264356843

Testing

Ran the main test suite on an ESP32C3 using IDF v5.0.5. All tests pass (sans known failure math_domain_special.py).

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied