Skip to content

Commit 4923caf

Browse files
committed
Increase CPX stack size by 256
1 parent 1daac3a commit 4923caf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ports/atmel-samd/boards/circuitplayground_express/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up"
2929

3030
// Increase stack size slightly due to CPX library import nesting
31-
#define CIRCUITPY_DEFAULT_STACK_SIZE (4504)
31+
#define CIRCUITPY_DEFAULT_STACK_SIZE (4760) //divisible by 8
3232

3333
#define DEFAULT_I2C_BUS_SCL (&pin_PB03)
3434
#define DEFAULT_I2C_BUS_SDA (&pin_PB02)

ports/atmel-samd/boards/circuitplayground_express_crickit/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up"
2929

3030
// Increase stack size slightly due to CPX library import nesting
31-
#define CIRCUITPY_DEFAULT_STACK_SIZE (4504)
31+
#define CIRCUITPY_DEFAULT_STACK_SIZE (4760) // divisible by 8
3232

3333
#define DEFAULT_I2C_BUS_SCL (&pin_PB03)
3434
#define DEFAULT_I2C_BUS_SDA (&pin_PB02)

ports/atmel-samd/boards/circuitplayground_express_displayio/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up"
2929

3030
// Increase stack size slightly due to CPX library import nesting.
31-
#define CIRCUITPY_DEFAULT_STACK_SIZE (4504) // divisible by 8
31+
#define CIRCUITPY_DEFAULT_STACK_SIZE (4760) // divisible by 8
3232

3333
#define DEFAULT_I2C_BUS_SCL (&pin_PB03)
3434
#define DEFAULT_I2C_BUS_SDA (&pin_PB02)

0 commit comments

Comments
 (0)