Skip to content

Commit 5d8b6c6

Browse files
committed
Add SCL/SDA pin definition for stm32f411ce_blackpill
1 parent f2c69e4 commit 5d8b6c6

File tree

1 file changed

+3
-0
lines changed
  • ports/stm/boards/stm32f411ce_blackpill

1 file changed

+3
-0
lines changed

ports/stm/boards/stm32f411ce_blackpill/pins.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
3535
{ MP_ROM_QSTR(MP_QSTR_C14), MP_ROM_PTR(&pin_PC14) },
3636
{ MP_ROM_QSTR(MP_QSTR_C13), MP_ROM_PTR(&pin_PC13) },
3737
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_PC13) },
38+
39+
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_PB07) },
40+
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_PB06) },
3841
};
3942
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);

0 commit comments

Comments
 (0)