Skip to content

Commit a959806

Browse files
added audioio to espressif
1 parent 65556b4 commit a959806

File tree

8 files changed

+766
-4
lines changed

8 files changed

+766
-4
lines changed

ports/espressif/boards/adafruit_feather_esp32_v2/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ CIRCUITPY_ESP_FLASH_SIZE = 8MB
1010
CIRCUITPY_ESP_PSRAM_SIZE = 2MB
1111
CIRCUITPY_ESP_PSRAM_MODE = qio
1212
CIRCUITPY_ESP_PSRAM_FREQ = 40m
13+
14+
CIRCUITPY_AUDIOIO = 1

ports/espressif/boards/adafruit_feather_esp32_v2/pins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
1515

1616
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_GPIO25) },
1717
{ MP_ROM_QSTR(MP_QSTR_D25), MP_ROM_PTR(&pin_GPIO25) },
18+
{ MP_ROM_QSTR(MP_QSTR_SPEAKER), MP_ROM_PTR(&pin_GPIO25) },
1819

1920
{ MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_PTR(&pin_GPIO34) },
2021
{ MP_ROM_QSTR(MP_QSTR_D34), MP_ROM_PTR(&pin_GPIO34) },

0 commit comments

Comments
 (0)