-
Notifications
You must be signed in to change notification settings - Fork 105
problem in test_threads() #45
Comments
I'm currently in the same situation and wondering what are these patches mentioned. |
Please take this with a grain of salt because I'm not familiar with this build toolchain and only through unholy rituals I figured out that it seems that esp32-idf-sys does include the patch but platformio's build process isn't applying it for some reason. This produces a working build for me:
|
Great, thanks a lot, this works for me. Your
I have now checked that with this template the patch is applied (and thread join is working), but I am not familiar enough with the toolchain to find out what the difference between the two setups is. |
Thanks for the research. Once I'm back I'll check why the patch does not apply cleanly and fix. |
The patch does not apply simply because in recent PlatformIO they've changed the esp-idf copy they distribute to no longer be a true git repo. I.e., As a result, The only workaround I've found so far is to temporarily run As for why not using |
OK so there is a new release 0.27.1 of embuild which should fix the issue. To switch to it, do the following:
|
Hi,
I have been able to compile and run this demo on a ESP32, however it only works when I comment out the test_threads() call. With test_threads() I get
and the ESP32 reboots. Playing around a bit with the code, the crash seems to occur in the join which mentions a patch in the code. I am not sure if this is due to an incorrect install of the toolchain from my side? On startup the ESP prints ESP-IDF: 4.3.1. I have seen this closed issue for esp-idf and am not sure if the mentioned patch is included in my version. I am aware of the same issue on the ESP-C3, but to my understanding these use are different compiler. If the issue is the same please close my current issue.
The text was updated successfully, but these errors were encountered: