We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 93cc505 + fbc7897 commit b2ec77eCopy full SHA for b2ec77e
12 files changed
docs/requirements.txt
@@ -3,3 +3,5 @@ recommonmark==0.6.0
3
sphinxcontrib-svg2pdfconverter==0.1.0
4
astroid
5
sphinx-autoapi
6
+isort
7
+black
frozen/Adafruit_CircuitPython_BusDevice
ports/atmel-samd/boards/circuitplayground_express/mpconfigboard.h
@@ -28,7 +28,7 @@
28
#define BOARD_USER_SAFE_MODE_ACTION "pressing both buttons at start up"
29
30
// Increase stack size slightly due to CPX library import nesting
31
-#define CIRCUITPY_DEFAULT_STACK_SIZE (4760) //divisible by 8
+#define CIRCUITPY_DEFAULT_STACK_SIZE (4248) //divisible by 8
32
33
#define USER_NEOPIXELS_PIN (&pin_PB23)
34
ports/atmel-samd/boards/circuitplayground_express_crickit/mpconfigboard.h
@@ -30,7 +30,7 @@
-#define CIRCUITPY_DEFAULT_STACK_SIZE (4760) // divisible by 8
+#define CIRCUITPY_DEFAULT_STACK_SIZE (4248) // divisible by 8
35
#define DEFAULT_I2C_BUS_SCL (&pin_PB03)
36
#define DEFAULT_I2C_BUS_SDA (&pin_PB02)
ports/atmel-samd/boards/circuitplayground_express_displayio/mpconfigboard.h
// Increase stack size slightly due to CPX library import nesting.
ports/atmel-samd/boards/fluff_m0/pins.c
@@ -13,7 +13,9 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
13
14
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_PA31) },
15
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_PA00) },
16
+ { MP_ROM_QSTR(MP_QSTR_SDO), MP_ROM_PTR(&pin_PA00) },
17
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_PA30) },
18
+ { MP_ROM_QSTR(MP_QSTR_SDI), MP_ROM_PTR(&pin_PA30) },
19
20
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_PA11) },
21
{ MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_PA11) },
@@ -31,6 +33,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_PTR(&pin_PA19) },
{ MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_PA17) },
{ MP_ROM_QSTR(MP_QSTR_D14), MP_ROM_PTR(&pin_PA27) },
+ { MP_ROM_QSTR(MP_QSTR_EN), MP_ROM_PTR(&pin_PA27) },
37
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_PA28) },
38
39
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
ports/atmel-samd/boards/seeeduino_wio_terminal/pins.c
@@ -1,4 +1,5 @@
1
#include "shared-bindings/board/__init__.h"
2
+#include "shared-module/displayio/__init__.h"
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
@@ -86,5 +87,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
86
87
88
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
89
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
90
+
91
+ { MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display) },
92
};
93
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);
ports/atmel-samd/mpconfigport.h
@@ -109,7 +109,7 @@
109
#endif
110
111
#ifndef CIRCUITPY_DEFAULT_STACK_SIZE
112
-#define CIRCUITPY_DEFAULT_STACK_SIZE 4096
+#define CIRCUITPY_DEFAULT_STACK_SIZE 3584
113
114
115
#ifndef SAMD21_BOD33_LEVEL
ports/atmel-samd/peripherals
py/circuitpy_mpconfig.h
@@ -799,7 +799,7 @@ void supervisor_run_background_tasks_if_tick(void);
799
800
801
#ifndef CIRCUITPY_PYSTACK_SIZE
802
-#define CIRCUITPY_PYSTACK_SIZE 1024
+#define CIRCUITPY_PYSTACK_SIZE 1536
803
804
805
#define CIRCUITPY_BOOT_OUTPUT_FILE "/boot_out.txt"
0 commit comments