RAKWireless / RAKwireless-Audio-library

RAKwireless Audio library or the audio solution Modules
MIT License
1 stars 2 forks source link

PlatformIO cannot find PDM.h #6

Closed fantasyEthan closed 6 months ago

fantasyEthan commented 1 year ago

Hardware: RAK11200+RAK18032 Software: VSCode, PlatformIO PC: Macbook Pro 2021 (14inch) M1

My platformio.ini

image

Build Image

image image

I can run correctly in Arduino, but failed to build in PlatformIO

beegee-tokyo commented 1 year ago

The RAKwireless Audio Library depends on patches that are done in the RAKwireless BSP for Arduino. In PlatformIO you are using the original Espressif BSP which doesn't have these patches.

fantasyEthan commented 1 year ago

So I can only use Arduino instead of PlatformIO for my use right?

beegee-tokyo commented 1 year ago

At the moment yes, our team is looking into PIO now, but I cannot say if we can publish our own PIO BSP soon.