diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-12-03 01:57:50 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-12-03 01:58:25 +0200 |
commit | b4eccfd02dc8d7c39a6546bc7b051676140d341e (patch) | |
tree | ece13db7986aa7275d8635e6b130c6171558ab91 /py | |
parent | 30d0cf48851422b5c251308cad0e82af9d509291 (diff) | |
download | micropython-b4eccfd02dc8d7c39a6546bc7b051676140d341e.tar.gz micropython-b4eccfd02dc8d7c39a6546bc7b051676140d341e.zip |
py/mpconfig: Actually allow to override MICROPY_BYTES_PER_GC_BLOCK.
Diffstat (limited to 'py')
-rw-r--r-- | py/mpconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 922f865e2f..ef078d3b72 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -98,7 +98,9 @@ // Number of bytes in memory allocation/GC block. Any size allocated will be // rounded up to be multiples of this. +#ifndef MICROPY_BYTES_PER_GC_BLOCK #define MICROPY_BYTES_PER_GC_BLOCK (4 * BYTES_PER_WORD) +#endif // Number of words allocated (in BSS) to the GC stack (minimum is 1) #ifndef MICROPY_ALLOC_GC_STACK_SIZE |