mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 16:11:41 +01:00
rtcio: support rtcio on c6
This commit is contained in:
@@ -194,7 +194,6 @@ esp_err_t rtc_gpio_force_hold_dis_all(void)
|
||||
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
#endif // SOC_RTCIO_HOLD_SUPPORTED
|
||||
|
||||
#if SOC_RTCIO_WAKE_SUPPORTED
|
||||
@@ -226,8 +225,6 @@ bool rtc_gpio_is_valid_gpio(gpio_num_t gpio_num)
|
||||
{
|
||||
#if SOC_RTCIO_INPUT_OUTPUT_SUPPORTED
|
||||
return (gpio_num < GPIO_PIN_COUNT && rtc_io_num_map[gpio_num] >= 0);
|
||||
#elif CONFIG_IDF_TARGET_ESP32C6 // TODO: IDF-6027
|
||||
return (gpio_num >= 0 && gpio_num < 8);
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user