Skip to content

Commit dc325a3

Browse files
authored
Merge pull request #10273 from KanyonKris/patch-1
Add user LED to pins.c
2 parents b3ff084 + 657b3ba commit dc325a3

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

ports/espressif/boards/seeed_xiao_esp32c6/pins.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
4747
{ MP_ROM_QSTR(MP_QSTR_MTCK), MP_ROM_PTR(&pin_GPIO6) },
4848
{ MP_ROM_QSTR(MP_QSTR_LP_I2C_SDA), MP_ROM_PTR(&pin_GPIO6) },
4949

50+
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO15) },
51+
{ MP_ROM_QSTR(MP_QSTR_LED_INVERTED), MP_ROM_PTR(&pin_GPIO15) },
52+
5053
{ MP_ROM_QSTR(MP_QSTR_MTDO), MP_ROM_PTR(&pin_GPIO7) },
5154
{ MP_ROM_QSTR(MP_QSTR_LP_I2C_SCL), MP_ROM_PTR(&pin_GPIO7) },
5255

0 commit comments

Comments
 (0)