reduce GC heap size when BLE is used (#1884)
This commit is contained in:
parent
b74fda334e
commit
5389392b4e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user