From b4eccfd02dc8d7c39a6546bc7b051676140d341e Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 3 Dec 2015 01:57:50 +0200 Subject: [PATCH] py/mpconfig: Actually allow to override MICROPY_BYTES_PER_GC_BLOCK. --- py/mpconfig.h | 2 ++ 1 file changed, 2 insertions(+) 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