From cbab23eb6b6a183abc9cc17213f245e50066eede Mon Sep 17 00:00:00 2001 From: Chris Boot Date: Mon, 6 Jan 2025 23:45:54 +0000 Subject: [PATCH] Enable CIRCUITPY_AUDIOBUSIO_PDMIN for the built-in mic --- ports/espressif/boards/m5stack_stick_c_plus2/mpconfigboard.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/espressif/boards/m5stack_stick_c_plus2/mpconfigboard.mk b/ports/espressif/boards/m5stack_stick_c_plus2/mpconfigboard.mk index 6ab4670cd769..ae0736c42085 100644 --- a/ports/espressif/boards/m5stack_stick_c_plus2/mpconfigboard.mk +++ b/ports/espressif/boards/m5stack_stick_c_plus2/mpconfigboard.mk @@ -15,3 +15,6 @@ CIRCUITPY_ESP_PSRAM_SIZE = 2MB # down when BTN_C/PWR is held down. We skip the wait and instead enter safe # mode if BTN_A is held down during boot with no timeout. CIRCUITPY_SKIP_SAFE_MODE_WAIT = 1 + +# Enable PDMIn for the microphone +CIRCUITPY_AUDIOBUSIO_PDMIN = 1