summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-08-05 22:08:13 -0700
committerGitHub <noreply@github.com>2018-08-05 22:08:13 -0700
commit2029c4e87e3e71ada07c8be91fe6877edf4a606b (patch)
tree89bca17a8e3bfe53ed090c601a3d252dbfaf8bff
parentdfa2581ffd131cc13556fbf4e5e408e002c372ee (diff)
parent498fec64e22893faf28f36baf6e6d9907878739c (diff)
Merge pull request #1087 from dhalbert/increase-dyn-stack-size
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