Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CDarius committed Mar 26, 2024
1 parent 969dfc0 commit 1dc376b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/espressif/boards/m5stack_cores3/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down
1 change: 0 additions & 1 deletion ports/espressif/boards/m5stack_cores3/mpconfigboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion ports/espressif/boards/m5stack_cores3/pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) },
Expand Down

0 comments on commit 1dc376b

Please sign in to comment.