Merge pull request #3213 from jerryneedell/jerryn_pystack
adjust stack for SAMD21 to accommodate larger pystack
This commit is contained in:
commit
9fc7118861
|
@ -1 +1 @@
|
||||||
Subproject commit e9411c4244984b69ec6928370ede40cec014c10b
|
Subproject commit eb4b21e216efd8ec0c4862a938e81b56be961724
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue