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

By adjusting parser allocation policy.
pull/2211/head
Paul Sokolovsky 2016-07-03 00:12:46 +03:00
rodzic e965d2b82a
commit d83177b248
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

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