File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ typedef long mp_off_t;
139
139
#define CIRCUITPY_MCU_FAMILY samd21
140
140
#define MICROPY_PY_SYS_PLATFORM "Atmel SAMD21"
141
141
#define PORT_HEAP_SIZE (16384 + 4096)
142
+ #define CIRCUITPY_DEFAULT_STACK_SIZE 4096
142
143
#define MICROPY_CPYTHON_COMPAT (0)
143
144
#define MICROPY_MODULE_WEAK_LINKS (0)
144
145
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
@@ -153,6 +154,7 @@ typedef long mp_off_t;
153
154
#define CIRCUITPY_MCU_FAMILY samd51
154
155
#define MICROPY_PY_SYS_PLATFORM "MicroChip SAMD51"
155
156
#define PORT_HEAP_SIZE (0x20000) // 128KiB
157
+ #define CIRCUITPY_DEFAULT_STACK_SIZE 8192
156
158
#define MICROPY_CPYTHON_COMPAT (1)
157
159
#define MICROPY_MODULE_WEAK_LINKS (1)
158
160
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
@@ -400,8 +402,4 @@ void run_background_tasks(void);
400
402
#define CIRCUITPY_AUTORELOAD_DELAY_MS 500
401
403
#define CIRCUITPY_BOOT_OUTPUT_FILE "/boot_out.txt"
402
404
403
- // TODO(tannewt): Make this 6k+ for any non-express M4 boards because they cache sectors on the
404
- // stack.
405
- #define CIRCUITPY_DEFAULT_STACK_SIZE 4096
406
-
407
405
#endif // __INCLUDED_MPCONFIGPORT_H
You can’t perform that action at this time.
0 commit comments