mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'feature/esp32p4_gpio_support' into 'master'
feat(gpio): add gpio support on ESP32C5 Closes IDF-8717 See merge request espressif/esp-idf!28669
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -506,7 +506,7 @@ static void gpio_interconnect_input_output_pin(uint32_t input_pin, uint32_t outp
|
||||
{
|
||||
// signal256 -> output pin -> signal_idx -> input_pin
|
||||
// Set output pin IE to be able to connect to the signal
|
||||
PIN_INPUT_ENABLE(GPIO_PIN_MUX_REG[output_pin]);
|
||||
gpio_ll_input_enable(&GPIO, output_pin);
|
||||
esp_rom_gpio_connect_in_signal(output_pin, signal_idx, 0);
|
||||
// Input pin OE to be able to connect to the signal is done by the esp_rom_gpio_connect_out_signal function
|
||||
esp_rom_gpio_connect_out_signal(input_pin, signal_idx, 0, 0);
|
||||
@@ -860,7 +860,9 @@ TEST_CASE("GPIO_USB_DP_pin_pullup_disable_test", "[gpio]")
|
||||
}
|
||||
#endif //SOC_USB_SERIAL_JTAG_SUPPORTED
|
||||
|
||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32P4) // TODO: IDF-7528 Remove when light sleep is supported on ESP32P4
|
||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32P4, ESP32C5)
|
||||
// TODO: IDF-7528 Remove when light sleep is supported on ESP32P4
|
||||
// TODO: IDF-8638 Remove when light sleep is supported on ESP32C5
|
||||
// Ignored in CI because it needs manually connect TEST_GPIO_INPUT_LEVEL_LOW_PIN to 3.3v to wake up from light sleep
|
||||
TEST_CASE("GPIO_light_sleep_wake_up_test", "[gpio][ignore]")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user