Skip to content
Snippets Groups Projects
Commit d83177b2 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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

By adjusting parser allocation policy.
parent e965d2b8
Branches
No related tags found
No related merge requests found
...@@ -26,6 +26,12 @@ ...@@ -26,6 +26,12 @@
// options to control how Micro Python is built // 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_ALLOC_PATH_MAX (PATH_MAX)
#define MICROPY_ENABLE_GC (1) #define MICROPY_ENABLE_GC (1)
#define MICROPY_ENABLE_FINALISER (0) #define MICROPY_ENABLE_FINALISER (0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment