summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-08-03 22:22:00 -0400
committerDan Halbert <halbert@halwitz.org>2018-08-03 22:35:20 -0400
commit498fec64e22893faf28f36baf6e6d9907878739c (patch)
tree89bca17a8e3bfe53ed090c601a3d252dbfaf8bff
parentdfa2581ffd131cc13556fbf4e5e408e002c372ee (diff)
increase new dynamic stack size to a comfortable value for now
-rw-r--r--ports/atmel-samd/mpconfigport.h2
-rw-r--r--ports/nrf/mpconfigport.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/atmel-samd/mpconfigport.h b/ports/atmel-samd/mpconfigport.h
index 2f19bc1f2..01294a250 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 28bc52ed1..281f31917 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