summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-02 00:22:43 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-02 00:22:43 +0300
commita6c9060d818c38a72ba2758dfaeadd722f2294b8 (patch)
tree063080b13ed03640104a43c3a2a2288fcb585ebc
parentb97c17e125b9eaf5dfa9a5d540175377c79e34fd (diff)
downloadmicropython-a6c9060d818c38a72ba2758dfaeadd722f2294b8.tar.gz
micropython-a6c9060d818c38a72ba2758dfaeadd722f2294b8.zip
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.
-rw-r--r--esp8266/main.c2
1 files changed, 1 insertions, 1 deletions
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);