From de5e0ed2e080502cfcccdda541dbb44e0d51dfe2 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 9 May 2016 19:02:40 +0300 Subject: esp8266/main: Bump heap size to 28K. This is kind of compensation for 4K FatFs buffer size which is eaten away from it on FS mount. This should still leave enough of networking ("OS") heap. --- esp8266/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'esp8266/main.c') diff --git a/esp8266/main.c b/esp8266/main.c index 45ee85ac88..21172edb31 100644 --- a/esp8266/main.c +++ b/esp8266/main.c @@ -38,7 +38,7 @@ #include "gccollect.h" #include "user_interface.h" -STATIC char heap[24 * 1024]; +STATIC char heap[28 * 1024]; STATIC void mp_reset(void) { mp_stack_set_top((void*)0x40000000); -- cgit v1.2.3 From cb7693bab4875250e4df2bf8c3d1b99fdb0655d9 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 22 May 2016 04:08:22 +0300 Subject: esp8266/main: Update _boot module loading for recent frozen modules refactors. --- esp8266/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'esp8266/main.c') diff --git a/esp8266/main.c b/esp8266/main.c index 21172edb31..9cc955e44c 100644 --- a/esp8266/main.c +++ b/esp8266/main.c @@ -58,7 +58,7 @@ STATIC void mp_reset(void) { MP_STATE_PORT(term_obj) = MP_OBJ_NULL; pin_init0(); #if MICROPY_MODULE_FROZEN - pyexec_frozen_module("_boot"); + pyexec_frozen_module("_boot.py"); pyexec_file("boot.py"); pyexec_file("main.py"); #endif -- cgit v1.2.3