The PDM Microphone Usage on Seeed Studio XIAO nRF52840 Sense | Seeed Studio Wiki describe how to use the GitHub - Seeed-Studio/Seeed_Arduino_Mic
However, compilation fails with the following message
FQBN: Seeeduino:nrf52:xiaonRF52840Sense
Using board 'xiaonRF52840Sense' from platform in folder: /home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1
Using core 'nRF5' from platform in folder: /home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1
/home/USER/.arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -c -g -Werror=return-type -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10607 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.1.1\"" -DNRF52840_XXAA -DUSBCON -DUSE_TINYUSB -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52_ADAFRUIT -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=0 -DCFG_SYSVIEW=0 -I/home/USER/.arduino15/packages/Seeeduino/tools/CMSIS/5.7.0/CMSIS/Core/Include/ -I/home/USER/.arduino15/packages/Seeeduino/tools/CMSIS/5.7.0/CMSIS/DSP/Include/ -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/nordic -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/nordic/nrfx -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/nordic/nrfx/hal -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/nordic/nrfx/mdk -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/nordic/nrfx/soc -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/nordic/nrfx/drivers/include -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/nordic/nrfx/drivers/src -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52 -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/freertos/Source/include -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/freertos/config -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/freertos/portable/GCC/nrf52 -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/freertos/portable/CMSIS/nrf52 -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/sysview/SEGGER -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5/sysview/Config -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/cores/nRF5 -I/home/USER/.arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/variants/Seeed_XIAO_nRF52840_Sense -I/home/USER/Projets/Arduino/libraries/Seeed_Arduino_Mic/src /home/USER/.var/app/cc.arduino.IDE2/cache/arduino/sketches/2418C4A7E8CFD158C8F46AA569315D7A/sketch/mic_serial_plotter.ino.cpp -o /home/USER/.var/app/cc.arduino.IDE2/cache/arduino/sketches/2418C4A7E8CFD158C8F46AA569315D7A/preproc/ctags_target_for_gcc_minus_e.cpp
In file included from /home/USER/.var/app/cc.arduino.IDE2/cache/.arduinoIDE-unsaved202361-30-1va1z4m.4yf1/mic_serial_plotter/mic_serial_plotter.ino:1:
/home/USER/Projets/Arduino/libraries/Seeed_Arduino_Mic/src/mic.h:26:2: error: #error "This library targets Wio Terminal boards and XIAO BLE at the moment"
26 | #error "This library targets Wio Terminal boards and XIAO BLE at the moment"
| ^~~~~
The repository release reads
Initial release, only supports Wio Terminal
Configuration:
- Arduino IDE 2.1.0
- Xiao nRF board package 1.1.1
- Seeed_Arduino_Mic 1.0
Thank you!