13#if !defined(IS_ZEPHYR)
87#if !defined(IS_ZEPHYR)
90 AD_LOGD(
"PinsESP32S3AISmartSpeakerClass::begin");
101 if (!SD_MMC.setPins(40, 42, 41, -1, -1, -1)) {
102 AD_LOGE(
"SDMMC setPins failed");
106 AD_LOGE(
"SDMMC only supported in Arduino");
#define EXIO4
Definition ESP32S3AISmartSpeaker.h:17
#define EXIO12
Definition ESP32S3AISmartSpeaker.h:25
#define EXIO9
Definition ESP32S3AISmartSpeaker.h:22
#define EXIO11
Definition ESP32S3AISmartSpeaker.h:24
#define EXIO10
Definition ESP32S3AISmartSpeaker.h:23
#define AD_LOGD(...)
Definition Logger.h:12
#define AD_LOGE(...)
Definition Logger.h:15
Defitintion for audio board pins and an audio driver.
Definition AudioBoard.h:13
All pins for i2s, spi, i2c and other pins.
Definition DriverDeviceInfo.h:20
bool sdmmc_active
Definition DriverDeviceInfo.h:273
GPIOExt gpio
Definition DriverDeviceInfo.h:271
virtual bool begin()
Sets up all pins e.g. by calling pinMode()
Definition DriverDeviceInfo.h:193
bool addI2C(InfoI2C pin)
Definition DriverDeviceInfo.h:56
bool addI2S(InfoI2S pin)
Definition DriverDeviceInfo.h:26
bool addPin(InfoGPIO pin)
Definition DriverDeviceInfo.h:86
bool sd_active
Definition DriverDeviceInfo.h:272
bool addSPI(InfoSPI pin)
Definition DriverDeviceInfo.h:41
void setAltGPIO(API_GPIO &gpioExt, int offset=1000)
Definition GPIOExt.h:62
Pins for ESP32 S3 AI Smart Speaker - use the PinsESP32S3AISmartSpeaker object! We support the TCA9555...
Definition ESP32S3AISmartSpeaker.h:40
PinsESP32S3AISmartSpeakerClass()
Definition ESP32S3AISmartSpeaker.h:42
TCA9555 & getTCA9555()
Definition ESP32S3AISmartSpeaker.h:112
TCA9555 tca9555
Definition ESP32S3AISmartSpeaker.h:115
bool begin() override
Sets up all pins e.g. by calling pinMode()
Definition ESP32S3AISmartSpeaker.h:89
Driver for the TCA9555 I2C I/O expander (header-only).
Definition TCA9555.h:25
bool digitalWrite(GpioPin pin, bool value) override
Set the output state of a pin.
Definition TCA9555.h:72
static PinsESP32S3AISmartSpeakerClass PinsESP32S3AISmartSpeaker
Definition ESP32S3AISmartSpeaker.h:121
static AudioDriverCombined AudioDriverES8311_ES7210(AudioDriverES8311, AudioDriverES7210)
static AudioBoard ESP32S3AISmartSpeaker
Definition ESP32S3AISmartSpeaker.h:124
Namespace for audio driver components.
Definition AudioBoard.h:5
struct audio_driver::SPIClass SPI
SPI pins: In Arduino we initialize the SPI, on other platform we just provide the pin information.
Definition IDriverDeviceInfo.h:76