Skip to content

Commit 557cede

Browse files
committed
atmel-samd: Introduce audiobusio.PDMIn for recording audio from PDM
microphones.
1 parent 48375ba commit 557cede

File tree

19 files changed

+3681
-110
lines changed

19 files changed

+3681
-110
lines changed

atmel-samd/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ CFLAGS_CORTEX_M0 = \
120120
-DTCC_ASYNC=false \
121121
-DADC_CALLBACK_MODE=false \
122122
-DEVENTS_INTERRUPT_HOOKS_MODE=false \
123+
-DI2S_CALLBACK_MODE=false \
123124
-DTC_ASYNC=true \
124125
-DUSB_DEVICE_LPM_SUPPORT \
125126
-DCIRCUITPY_CANARY_WORD=0xADAF00 \
@@ -162,6 +163,7 @@ SRC_ASF = $(addprefix asf/sam0/,\
162163
drivers/events/events_sam_d_r/events.c \
163164
drivers/extint/extint_callback.c \
164165
drivers/extint/extint_sam_d_r/extint.c \
166+
drivers/i2s/i2s.c \
165167
drivers/nvm/nvm.c \
166168
drivers/port/port.c \
167169
drivers/sercom/i2c/i2c_sam0/i2c_master.c \
@@ -233,6 +235,8 @@ SRC_COMMON_HAL = \
233235
analogio/__init__.c \
234236
analogio/AnalogIn.c \
235237
analogio/AnalogOut.c \
238+
audiobusio/__init__.c \
239+
audiobusio/PDMIn.c \
236240
audioio/__init__.c \
237241
audioio/AudioOut.c \
238242
board/__init__.c \

0 commit comments

Comments
 (0)