8000 add i2c singleton for s2 mini · fraziern/circuitpython@97e64eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 97e64eb

Browse files
committed
add i2c singleton for s2 mini
1 parent 2d2d9b4 commit 97e64eb

File tree

1 file changed

+1
-0
lines changed
  • ports/espressif/boards/lolin_s2_mini

1 file changed

+1
-0
lines changed

ports/espressif/boards/lolin_s2_mini/pins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,6 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
8686
{ MP_ROM_QSTR(MP_QSTR_IO45), MP_ROM_PTR(&pin_GPIO45) },// GPIO45
8787
{ MP_ROM_QSTR(MP_QSTR_IO46), MP_ROM_PTR(&pin_GPIO46) },// GPIO46
8888
*/
89+
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) }, // board singleton implicit from schematic/shield standard
8990
};
9091
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);

0 commit comments

Comments
 (0)
0