From ffdc3f81dfcb56093f51a01695335e26dd5ee4a6 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Thu, 22 Sep 2016 18:23:27 -0700 Subject: [PATCH] atmel-samd: Note a potential REPL ram savings. --- atmel-samd/mpconfigport.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/atmel-samd/mpconfigport.h b/atmel-samd/mpconfigport.h index f14b089c30..cbd5146453 100644 --- a/atmel-samd/mpconfigport.h +++ b/atmel-samd/mpconfigport.h @@ -11,6 +11,9 @@ #define MICROPY_QSTR_EXTRA_POOL mp_qstr_frozen_const_pool #define MICROPY_ALLOC_PATH_MAX (256) #define MICROPY_ALLOC_PARSE_CHUNK_INIT (16) +// TODO(tannewt): Reduce this number if we want the REPL to function under 512 +// free bytes. +// #define MICROPY_ALLOC_PARSE_RULE_INIT (64) #define MICROPY_EMIT_X64 (0) #define MICROPY_EMIT_THUMB (0) #define MICROPY_EMIT_INLINE_THUMB (0)