-->
Page 2 of 2

Re: ESP8266 Arduino I2S Demo

PostPosted: Mon Jun 05, 2017 8:46 am
by cbartik
Update:

While I've now got this demo "working" with the diode mentioned above bypassed, it only works for a limited number of playbacks before getting a memory leak.

If I printout the free heap size after each playback, I am losing 2112 bytes after each loop. Can anyone else confirm this? I've made a few slight modifications to the main application loop (namely, removing the webserver interface because I wanted playback from an external range sensor, which I'm currently emulating with the GPIO0 button), but I don't think that they are responsible. I've commented out the wav playback functions and my heap size remains static.

Re: ESP8266 Arduino I2S Demo

PostPosted: Tue Jun 06, 2017 2:41 pm
by gbafamily1
Have you tried 2.4.0 rc1 or the latest git version? There is a memory leak fix.

https://github.com/esp8266/Arduino/pull/3191