summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-10-02 00:33:26 +0100
committerDamien George <damien.p.george@gmail.com>2015-10-02 00:33:26 +0100
commit90b1cc51039b9a8e728fd5ac1b8f083449b6a589 (patch)
treefc5fc6a476569984415ac5d9aeda1fc2269f7a2e
parent58e0f4ac50b3dc732cbfe0d7b04bb41951ac1329 (diff)
downloadmicropython-90b1cc51039b9a8e728fd5ac1b8f083449b6a589.tar.gz
micropython-90b1cc51039b9a8e728fd5ac1b8f083449b6a589.zip
minimal: Tune parser chunk allocation policy for very small heap.
-rw-r--r--minimal/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h
index b9c97d2d34..6547b1ae14 100644
--- a/minimal/mpconfigport.h
+++ b/minimal/mpconfigport.h
@@ -4,6 +4,7 @@
#define MICROPY_QSTR_BYTES_IN_HASH (1)
#define MICROPY_ALLOC_PATH_MAX (256)
+#define MICROPY_ALLOC_PARSE_CHUNK_INIT (16)
#define MICROPY_EMIT_X64 (0)
#define MICROPY_EMIT_THUMB (0)
#define MICROPY_EMIT_INLINE_THUMB (0)