File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ extern uint8_t _ld_filesystem_start;
37
37
extern uint8_t _ld_filesystem_end ;
38
38
extern uint8_t _ld_default_stack_size ;
39
39
40
- // 20kiB stack
41
40
#define CIRCUITPY_DEFAULT_STACK_SIZE ((uint32_t)&_ld_default_stack_size)
42
41
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
43
42
#define MICROPY_PY_FUNCTION_ATTRS (0)
@@ -47,6 +46,10 @@ extern uint8_t _ld_default_stack_size;
47
46
#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_START_ADDR ((uint32_t)&_ld_filesystem_start)
48
47
#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE ((uint32_t)(&_ld_filesystem_end - &_ld_filesystem_start))
49
48
49
+ // Allocate 32 bytes at a time instead of the default 16 so that allocated buffers
50
+ // are aligned to cache lines.
51
+ #define MICROPY_BYTES_PER_GC_BLOCK (32)
52
+
50
53
#include "py/circuitpy_mpconfig.h"
51
54
52
55
#define MICROPY_PORT_ROOT_POINTERS \
You can’t perform that action at this time.
0 commit comments