unix/mpconfigport_minimal.h: Allow to print a string within 1KB of heap.

By adjusting parser allocation policy.
This commit is contained in:
Paul Sokolovsky 2016-07-03 00:12:46 +03:00
parent e965d2b82a
commit d83177b248
1 changed files with 6 additions and 0 deletions

View File

@ -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)