From a6c9060d818c38a72ba2758dfaeadd722f2294b8 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 2 Nov 2016 00:22:43 +0300 Subject: [PATCH] esp8266/main: Bump heap size to 36K. ESP8266 SDK2.0 fixes (at least, I can't reproduce it) an infamous bug with crash during scan. 36K seams to be a safe value based on a download test (test_dl.py), over 1GB was downloaded. More testing is needed, but let's have other people participate by committing it now. --- esp8266/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp8266/main.c b/esp8266/main.c index 033ab7afed..a2e747d211 100644 --- a/esp8266/main.c +++ b/esp8266/main.c @@ -39,7 +39,7 @@ #include "gccollect.h" #include "user_interface.h" -STATIC char heap[28 * 1024]; +STATIC char heap[36 * 1024]; STATIC void mp_reset(void) { mp_stack_set_top((void*)0x40000000);