Skip to content

Commit 341428b

Browse files
committed
Added SPEAKER pin to HalloWing M4 for code compatibility
1 parent 76d463e commit 341428b

File tree

1 file changed

+2
-0
lines changed
  • ports/atmel-samd/boards/hallowing_m4_express

1 file changed

+2
-0
lines changed

ports/atmel-samd/boards/hallowing_m4_express/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
66
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_PA02) },
7+
{ MP_ROM_QSTR(MP_QSTR_SPEAKER), MP_ROM_PTR(&pin_PA02) },
8+
79
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_PA05) },
810
{ MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_PTR(&pin_PA06) },
911
{ MP_ROM_QSTR(MP_QSTR_TOUCH1), MP_ROM_PTR(&pin_PA06) },

0 commit comments

Comments
 (0)