Merge branch 'bugfix/idfci-13866_v5.4' into 'release/v5.4'

backport v5.4: config wakeup gpio pin internal pullup to avoid input floating

See merge request espressif/esp-idf!52776
This commit is contained in:
Jiang Jiang Jian
2026-09-15 16:52:04 +08:00

View File

@@ -254,7 +254,7 @@ static int process_gpio_wakeup(int argc, char **argv)
.pin_bit_mask = BIT64(io_wakeup_num),
.mode = GPIO_MODE_INPUT,
.pull_down_en = false,
.pull_up_en = false,
.pull_up_en = true,
.intr_type = (io_wakeup_level == 0) ? GPIO_INTR_LOW_LEVEL : GPIO_INTR_HIGH_LEVEL
};
ESP_ERROR_CHECK(gpio_config(&config));