ESP32 Hosted
ESP32 Hosted (ESP-Hosted-MCU) is a solution that allows you to use ESP32 modules as communication co-processors. This solution provides wireless connectivity (Wi-Fi and Bluetooth) to the host module, enabling it to communicate with other devices.
# Example configuration entryesp32_hosted: variant: ESP32C6 reset_pin: GPIOXX cmd_pin: GPIOXX clk_pin: GPIOXX d0_pin: GPIOXX d1_pin: GPIOXX d2_pin: GPIOXX d3_pin: GPIOXX active_high: true
wifi: ssid: !secret wifi_ssid password: !secret wifi_passwordConfiguration variables
Section titled “Configuration variables”-
variant (Required, string): The variant of the ESP32 co-processor that is used by the host. One of
ESP32,ESP32S2,ESP32S3,ESP32C2,ESP32C3andESP32C6. -
clk_pin (Required, Pin): The SDIO clock pin.
-
cmd_pin (Required, Pin): The SDIO command pin.
-
d0_pin (Required, Pin): The SDIO d0 pin.
-
d1_pin (Required, Pin): The SDIO d1 pin.
-
d2_pin (Required, Pin): The SDIO d2 pin.
-
d3_pin (Required, Pin): The SDIO d3 pin.
-
slot (Optional, int): The SDIO slot number. Defaults to 1.
-
reset_pin (Required, Pin): The reset pin of the co-processor.
-
active_high (Required, boolean): If enabled, the co-processor is active when reset is high. If disabled, the co-processor is active when reset is low.
Updating co-processor firmware
Section titled “Updating co-processor firmware”You can update the firmware on your ESP32 co-processor using the Esp32 Hosted platform. This allows you to deploy firmware updates to the co-processor without manually reflashing it.