py/mpconfig: Actually allow to override MICROPY_BYTES_PER_GC_BLOCK.

This commit is contained in:
Paul Sokolovsky 2015-12-03 01:57:50 +02:00
parent 30d0cf4885
commit b4eccfd02d
1 changed files with 2 additions and 0 deletions

View File

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