summaryrefslogtreecommitdiffstatshomepage
path: root/zephyr/main.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-04 19:09:39 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-04 19:09:39 +0300
commit688cc79294a16ac9cc291985a75184813d300ccd (patch)
treed3ce95bf515102542bee20d0bf9c00d2cf06d07a /zephyr/main.c
parent13f7a7b86b52e3db3ab5968503eae5cf57f13004 (diff)
downloadmicropython-688cc79294a16ac9cc291985a75184813d300ccd.tar.gz
micropython-688cc79294a16ac9cc291985a75184813d300ccd.zip
zephyr/Makefile: Allow to adjust heap size from make command line.
Diffstat (limited to 'zephyr/main.c')
-rw-r--r--zephyr/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/main.c b/zephyr/main.c
index 8d319098b2..b58558f0be 100644
--- a/zephyr/main.c
+++ b/zephyr/main.c
@@ -58,7 +58,7 @@ void do_str(const char *src, mp_parse_input_kind_t input_kind) {
}
static char *stack_top;
-static char heap[16 * 1024];
+static char heap[MICROPY_HEAP_SIZE];
int real_main(void) {
int stack_dummy;