Skip to content

Commit 64f4928

Browse files
committed
Add support for Ai Thinker ESP32-CAM boards
1 parent 3b35469 commit 64f4928

File tree

1 file changed

+2
-0
lines changed
  • ports/espressif/boards/ai-thinker-esp32-cam

1 file changed

+2
-0
lines changed

ports/espressif/boards/ai-thinker-esp32-cam/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
6868
{ MP_ROM_QSTR(MP_QSTR_CAMERA_SIOD), MP_ROM_PTR(&pin_GPIO26) }, // SDA
6969
{ MP_ROM_QSTR(MP_QSTR_CAMERA_SIOC), MP_ROM_PTR(&pin_GPIO27) }, // SCL
7070

71+
{ MP_ROM_QSTR(MP_QSTR_U0R), MP_ROM_PTR(&pin_GPIO3) },
72+
{ MP_ROM_QSTR(MP_QSTR_U0T), MP_ROM_PTR(&pin_GPIO1) },
7173

7274
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO4) },
7375
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO13) },

0 commit comments

Comments
 (0)