# Coprocessor OTA Example — host (MCU) # Role: HOST (MCU / ESP-IDF) CONFIG_ESP_HOSTED=y CONFIG_ESP_HOSTED_HOST_FEAT_WIFI=y # Custom partition table — ota_0/1 for HTTPS, storage for LittleFS, slave_fw for Partition. CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" # 8MB replaced below CONFIG_FREERTOS_HZ=1000 # --- Waveshare ESP32-P4-Nano --- CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y CONFIG_ESPTOOLPY_FLASHSIZE="16MB" CONFIG_ESP_CONSOLE_UART_DEFAULT=y CONFIG_SLAVE_IDF_TARGET_ESP32C6=y # C6 image comes from a raw flash partition (slave_fw), written at flash time CONFIG_OTA_METHOD_PARTITION=y