From 498fec64e22893faf28f36baf6e6d9907878739c Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Fri, 3 Aug 2018 22:22:00 -0400 Subject: [PATCH] increase new dynamic stack size to a comfortable value for now --- ports/atmel-samd/mpconfigport.h | 2 +- ports/nrf/mpconfigport.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/atmel-samd/mpconfigport.h b/ports/atmel-samd/mpconfigport.h index 2f19bc1f22..01294a2501 100644 --- a/ports/atmel-samd/mpconfigport.h +++ b/ports/atmel-samd/mpconfigport.h @@ -340,6 +340,6 @@ void run_background_tasks(void); // TODO(tannewt): Make this 6k+ for any non-express M4 boards because they cache sectors on the // stack. -#define CIRCUITPY_DEFAULT_STACK_SIZE 2048 +#define CIRCUITPY_DEFAULT_STACK_SIZE 4096 #endif // __INCLUDED_MPCONFIGPORT_H diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h index 28bc52ed12..281f31917c 100644 --- a/ports/nrf/mpconfigport.h +++ b/ports/nrf/mpconfigport.h @@ -242,6 +242,6 @@ void run_background_tasks(void); #define MICROPY_VM_HOOK_RETURN run_background_tasks(); //#define CIRCUITPY_BOOT_OUTPUT_FILE "/boot_out.txt" -#define CIRCUITPY_DEFAULT_STACK_SIZE 2048 +#define CIRCUITPY_DEFAULT_STACK_SIZE 4096 #endif