mirror of
https://github.com/wled/WLED.git
synced 2026-04-20 14:12:55 +00:00
update strapping pin info for -C61
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user