update strapping pin info for -C61

This commit is contained in:
Frank
2026-03-29 22:34:28 +02:00
parent e47b08938f
commit 0b57cbcc17

View File

@@ -1120,7 +1120,7 @@ void serializePins(JsonObject root)
#elif defined(CONFIG_IDF_TARGET_ESP32C61)
if (gpio == 9) caps |= PIN_CAP_BOOT; // pull low to enter bootloader mode
if (gpio == 8) caps |= PIN_CAP_BOOTSTRAP; // must be high when GPIO9 is low for download mode
if (gpio == 7) caps |= PIN_CAP_BOOTSTRAP; // additional C61 strapping pin per Espressif boot-configuration docs
if (gpio == 7 || gpio == 3 || gpio == 4) caps |= PIN_CAP_BOOTSTRAP; // GPIO7, MTMS, and MTDI are also strapping pins
#elif defined(CONFIG_IDF_TARGET_ESP32P4)
if (gpio == 35) caps |= PIN_CAP_BOOT; // pull low to enter bootloader mode
if (gpio == 36) caps |= PIN_CAP_BOOTSTRAP; // must be high when GPIO35 is low for download mode