diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-07-03 00:12:46 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-07-03 00:12:46 +0300 |
commit | d83177b24867c42fb850714e328c7f1636067908 (patch) | |
tree | cb7013ac8fb61593b03b49dd6ecf5d2906331a80 /unix | |
parent | e965d2b82af1d233703490ebf2c8432a14ef5c99 (diff) | |
download | micropython-d83177b24867c42fb850714e328c7f1636067908.tar.gz micropython-d83177b24867c42fb850714e328c7f1636067908.zip |
unix/mpconfigport_minimal.h: Allow to print a string within 1KB of heap.
By adjusting parser allocation policy.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/mpconfigport_minimal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/mpconfigport_minimal.h b/unix/mpconfigport_minimal.h index be35e6ec76..2ab95c67af 100644 --- a/unix/mpconfigport_minimal.h +++ b/unix/mpconfigport_minimal.h @@ -26,6 +26,12 @@ // options to control how Micro Python is built +#define MICROPY_ALLOC_QSTR_CHUNK_INIT (64) +#define MICROPY_ALLOC_PARSE_RULE_INIT (8) +#define MICROPY_ALLOC_PARSE_RULE_INC (8) +#define MICROPY_ALLOC_PARSE_RESULT_INIT (8) +#define MICROPY_ALLOC_PARSE_RESULT_INC (8) +#define MICROPY_ALLOC_PARSE_CHUNK_INIT (64) #define MICROPY_ALLOC_PATH_MAX (PATH_MAX) #define MICROPY_ENABLE_GC (1) #define MICROPY_ENABLE_FINALISER (0) |