reduce GC heap size when BLE is used (#1884)

This commit is contained in:
Peli de Halleux 2019-02-27 15:24:25 -08:00 committed by GitHub
parent b74fda334e
commit 5389392b4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,11 @@ void debuglog(const char *format, ...);
#define xmalloc malloc #define xmalloc malloc
#define xfree free #define xfree free
#if CONFIG_ENABLED(MICROBIT_BLE_ENABLED)
#define GC_BLOCK_SIZE 256
#else
#define GC_BLOCK_SIZE 1000 #define GC_BLOCK_SIZE 1000
#endif
#define DMESG NOLOG #define DMESG NOLOG