Go to the source code of this file.
|
| namespace | audio_driver |
| | Namespace for audio driver components.
|
◆ PIN_WAVESHARE_ESP32P4WIFI6_SD_CS
| #define PIN_WAVESHARE_ESP32P4WIFI6_SD_CS 42 |
Pins for the Waveshare ESP32-P4-WIFI6 (ESP32-P4 + ES8311).
Pin map from Waveshare's esp32_p4_platform BSP (bsp/esp32_p4_platform.h), confirmed on real hardware: speaker playback and microphone recording both work. The speaker amplifier is enabled via GPIO53 (active-high). The board must be built with ChipVariant=postv3 (v3.x ESP32-P4).
The TF card slot is defined for SD.h (SPI mode): the SPI bus is started on its pins automatically; pass PIN_WAVESHARE_ESP32P4WIFI6_SD_CS to AudioSourceSD. The same slot also works with SD_MMC, whose ESP32-P4 default pins already match this board.
- Author
- Phil Schatzmann
- Copyright
- GPLv3 Chip select of the TF card slot in SPI mode (DAT3)