Plus: I am already running at CONFIG_ARDUINO_LOOP_STACK_SIZE=32768 to prevent it being some weird out of stack memory issue with those large, dynamically sized stack buffers.
Hello @maxgerhardt please find a patch attached. This should fix both the issues #13 and #14
Do apply the patch and let me know if this fixes it for you.
The test functions don't survive being called twice in a row (see test_app):
Plus: I am already running at
CONFIG_ARDUINO_LOOP_STACK_SIZE=32768
to prevent it being some weird out of stack memory issue with those large, dynamically sized stack buffers.Project used: https://github.com/maxgerhardt/pio-esp32-espnn-example Full logs: https://github.com/maxgerhardt/pio-esp32-espnn-example/blob/main/log.txt Uses ESP-NN of the latest 34e97138de6e80ab6e047262c1c8b77514739a39 commit.