Skip to content

Commit e30ca0c

Browse files
authored
Merge pull request micropython#8731 from adafruit/BlitzCityDIY-patch-1
Add MIC and STEMMA_I2C to MEMENTO
2 parents 84bc469 + ead3bf1 commit e30ca0c

File tree

1 file changed

+3
-0
lines changed
  • ports/espressif/boards/adafruit_esp32s3_camera

1 file changed

+3
-0
lines changed

ports/espressif/boards/adafruit_esp32s3_camera/pins.c

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
3131

3232
{ MP_ROM_QSTR(MP_QSTR_CARD_CS), MP_ROM_PTR(&pin_GPIO48) },
3333

34+
{ MP_ROM_QSTR(MP_QSTR_MIC), MP_ROM_PTR(&pin_GPIO2) },
35+
3436
{ MP_ROM_QSTR(MP_QSTR_IRQ), MP_ROM_PTR(&pin_GPIO3) },
3537

3638
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO1) },
@@ -65,6 +67,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
6567
{ MP_ROM_QSTR(MP_QSTR_CAMERA_PWDN), MP_ROM_PTR(&pin_GPIO21) },
6668

6769
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
70+
{ MP_ROM_QSTR(MP_QSTR_STEMMA_I2C), MP_ROM_PTR(&board_i2c_obj) },
6871
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
6972
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)},
7073
};

0 commit comments

Comments
 (0)