taitix
taitix
I tried setting CLEAR_ON_SWEEP to 0, but still getting the same assertion failure for the code above. I found another maybe related issue in the forum: https://loboris.eu/forum/showthread.php?tid=213
Below is shorter code to cause LoadProhibited. I'm not sure if it's related to socket at this point... ``` from time import sleep_ms import socket, gc, _thread def socket_func(): s...
Thanks for looking into the c code. I managed to shorten the example. I also found that if I comment out "from time import sleep_ms", LoadProhibited doesn't occur. ``` import...
Hmm... While looking at the gc code, I found this line: `#if MICROPY_PY_THREAD && MICROPY_PY_THREAD_GIL` https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/blob/fede6f610c9952c7242fc309c2bb4efc9afb0919/MicroPython_BUILD/components/micropython/py/gc.c#L100 is different from the original micropython code: `#if MICROPY_PY_THREAD && !MICROPY_PY_THREAD_GIL` https://github.com/micropython/micropython-esp32/blob/2f4dac5f121a59fc187c1d9c1f9eade365b3aba1/py/gc.c#L95 When GIL...
The problem was that when automatic garbage collection is triggered, my multithread project (especially when using MicroWebServ) randomly crashes (oftentimes Load Prohibited). Because I have to wait very long for...
I have similar issue with a red ILI9341 module with XPT module. It seems this is a software issue since examples from the following arduino library works fine: https://github.com/Bodmer/TFT_eSPI I...