diff --git a/ports/espressif/boards/m5stack_cores3/board.c b/ports/espressif/boards/m5stack_cores3/board.c index ecdf5286a4d5..968384624fa9 100644 --- a/ports/espressif/boards/m5stack_cores3/board.c +++ b/ports/espressif/boards/m5stack_cores3/board.c @@ -69,7 +69,7 @@ static bool display_init(void) { &pin_GPIO35, // DC &pin_GPIO3, // CS NULL, // RST - 32000000, // baudrate + 40000000, // baudrate 0, // polarity 0 // phase ); diff --git a/ports/espressif/boards/m5stack_cores3/mpconfigboard.mk b/ports/espressif/boards/m5stack_cores3/mpconfigboard.mk index 80fa9cf66611..ee83760dca48 100644 --- a/ports/espressif/boards/m5stack_cores3/mpconfigboard.mk +++ b/ports/espressif/boards/m5stack_cores3/mpconfigboard.mk @@ -26,4 +26,3 @@ FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Display_Shapes FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Display_Text FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_FakeRequests FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Requests -FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_SD diff --git a/ports/espressif/boards/m5stack_cores3/pins.c b/ports/espressif/boards/m5stack_cores3/pins.c index bec5734080b4..f9a85269ac10 100644 --- a/ports/espressif/boards/m5stack_cores3/pins.c +++ b/ports/espressif/boards/m5stack_cores3/pins.c @@ -81,7 +81,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = { // Misc { MP_ROM_QSTR(MP_QSTR_I2C_INTERRUPT), MP_ROM_PTR(&pin_GPIO21) }, - { MP_ROM_QSTR(MP_QSTR_SDCARD_CS), MP_ROM_PTR(&pin_GPIO34) }, + { MP_ROM_QSTR(MP_QSTR_SDCARD_CS), MP_ROM_PTR(&pin_GPIO4) }, { MP_ROM_QSTR(MP_QSTR_BOOT0), MP_ROM_PTR(&pin_GPIO0) }, { MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },