Merge pull request #3213 from jerryneedell/jerryn_pystack

adjust stack for SAMD21 to accommodate larger pystack
This commit is contained in:
Dan Halbert 2020-07-28 11:40:56 -04:00 committed by GitHub
commit 9fc7118861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit e9411c4244984b69ec6928370ede40cec014c10b Subproject commit eb4b21e216efd8ec0c4862a938e81b56be961724

View File

@ -28,7 +28,7 @@
#define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up" #define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up"
// Increase stack size slightly due to CPX library import nesting // Increase stack size slightly due to CPX library import nesting
#define CIRCUITPY_DEFAULT_STACK_SIZE (4760) //divisible by 8 #define CIRCUITPY_DEFAULT_STACK_SIZE (4248) //divisible by 8
#define USER_NEOPIXELS_PIN (&pin_PB23) #define USER_NEOPIXELS_PIN (&pin_PB23)

View File

@ -30,7 +30,7 @@
#define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up" #define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up"
// Increase stack size slightly due to CPX library import nesting // Increase stack size slightly due to CPX library import nesting
#define CIRCUITPY_DEFAULT_STACK_SIZE (4760) // divisible by 8 #define CIRCUITPY_DEFAULT_STACK_SIZE (4248) // divisible by 8
#define DEFAULT_I2C_BUS_SCL (&pin_PB03) #define DEFAULT_I2C_BUS_SCL (&pin_PB03)
#define DEFAULT_I2C_BUS_SDA (&pin_PB02) #define DEFAULT_I2C_BUS_SDA (&pin_PB02)

View File

@ -28,7 +28,7 @@
#define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up" #define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up"
// Increase stack size slightly due to CPX library import nesting. // Increase stack size slightly due to CPX library import nesting.
#define CIRCUITPY_DEFAULT_STACK_SIZE (4760) // divisible by 8 #define CIRCUITPY_DEFAULT_STACK_SIZE (4248) // divisible by 8
#define USER_NEOPIXELS_PIN (&pin_PB23) #define USER_NEOPIXELS_PIN (&pin_PB23)

View File

@ -109,7 +109,7 @@
#endif #endif
#ifndef CIRCUITPY_DEFAULT_STACK_SIZE #ifndef CIRCUITPY_DEFAULT_STACK_SIZE
#define CIRCUITPY_DEFAULT_STACK_SIZE 4096 #define CIRCUITPY_DEFAULT_STACK_SIZE 3584
#endif #endif
#ifndef SAMD21_BOD33_LEVEL #ifndef SAMD21_BOD33_LEVEL

View File

@ -799,7 +799,7 @@ void supervisor_run_background_tasks_if_tick(void);
#endif #endif
#ifndef CIRCUITPY_PYSTACK_SIZE #ifndef CIRCUITPY_PYSTACK_SIZE
#define CIRCUITPY_PYSTACK_SIZE 1024 #define CIRCUITPY_PYSTACK_SIZE 1536
#endif #endif
#define CIRCUITPY_BOOT_OUTPUT_FILE "/boot_out.txt" #define CIRCUITPY_BOOT_OUTPUT_FILE "/boot_out.txt"