mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-10 16:07:58 +00:00
feat(esp_hw_support): support lightsleep and deepsleep on esp32h21
This commit is contained in:
@@ -126,6 +126,19 @@ const int s_test_map[TEST_GPIO_PIN_COUNT] = {
|
||||
};
|
||||
#define TEST_RTCIO_INTR_PIN_INDEX 5 // IO12
|
||||
#define TEST_RTCIO_DEEP_SLEEP_PIN_INDEX 5 // IO12
|
||||
#elif CONFIG_IDF_TARGET_ESP32H21
|
||||
#define TEST_GPIO_PIN_COUNT 7
|
||||
const int s_test_map[TEST_GPIO_PIN_COUNT] = {
|
||||
GPIO_NUM_5, //GPIO5
|
||||
GPIO_NUM_6, //GPIO6
|
||||
GPIO_NUM_7, //GPIO7
|
||||
GPIO_NUM_8, //GPIO8
|
||||
GPIO_NUM_9, //GPIO9
|
||||
GPIO_NUM_10, //GPIO10
|
||||
GPIO_NUM_11, //GPIO11
|
||||
};
|
||||
#define TEST_RTCIO_INTR_PIN_INDEX 6 // IO11
|
||||
#define TEST_RTCIO_DEEP_SLEEP_PIN_INDEX 6 // IO11
|
||||
#elif CONFIG_IDF_TARGET_ESP32P4
|
||||
// Has no input-only rtcio pins, all pins support pull-up/down
|
||||
#define RTCIO_SUPPORT_PU_PD(num) 1
|
||||
|
||||
Reference in New Issue
Block a user