Skip to content

Commit 0df6146

Browse files
authored
Merge pull request #5467 from evildave666/lolin_s2_mini_i2csingleton
Add i2c singleton for Lolin S2 Mini
2 parents 2d2d9b4 + 97e64eb commit 0df6146

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)