2 parents eec144d + 46fc8a8 commit 8f57606Copy full SHA for 8f57606
1 file changed
ports/atmel-samd/boards/pyportal/pins.c
@@ -8,6 +8,7 @@
8
// out on connectors are labeled with their MCU name available from
9
// microcontroller.pin.
10
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
11
+ { MP_OBJ_NEW_QSTR(MP_QSTR_SPEAKER), MP_ROM_PTR(&pin_PA02) },
12
{ MP_OBJ_NEW_QSTR(MP_QSTR_AUDIO_OUT), MP_ROM_PTR(&pin_PA02) },
13
{ MP_OBJ_NEW_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_PA02) }, // analog out/in
14
{ MP_OBJ_NEW_QSTR(MP_QSTR_SPEAKER_ENABLE), MP_ROM_PTR(&pin_PA27) },
0 commit comments