Skip to content

Commit 2029c4e

Browse files
authored
Merge pull request micropython#1087 from dhalbert/increase-dyn-stack-size
increase new dynamic stack size to a comfortable value for now
2 parents dfa2581 + 498fec6 commit 2029c4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ports/atmel-samd/mpconfigport.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,6 @@ void run_background_tasks(void);
340340

341341
// TODO(tannewt): Make this 6k+ for any non-express M4 boards because they cache sectors on the
342342
// stack.
343-
#define CIRCUITPY_DEFAULT_STACK_SIZE 2048
343+
#define CIRCUITPY_DEFAULT_STACK_SIZE 4096
344344

345345
#endif // __INCLUDED_MPCONFIGPORT_H

ports/nrf/mpconfigport.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,6 @@ void run_background_tasks(void);
242242
#define MICROPY_VM_HOOK_RETURN run_background_tasks();
243243

244244
//#define CIRCUITPY_BOOT_OUTPUT_FILE "/boot_out.txt"
245-
#define CIRCUITPY_DEFAULT_STACK_SIZE 2048
245+
#define CIRCUITPY_DEFAULT_STACK_SIZE 4096
246246

247247
#endif

0 commit comments

Comments
 (0)