Merge branch 'support/deep_sleep_test_for_esp32h2' into 'master'

Support: enable CI test for esp32h2 deep_sleep

Closes IDF-7838

See merge request espressif/esp-idf!25002
This commit is contained in:
Lou Tian Hao
2023-08-01 17:37:10 +08:00
11 changed files with 20 additions and 27 deletions
@@ -2,6 +2,4 @@ idf_component_register(SRCS "cmd_system.c" "cmd_system_common.c"
INCLUDE_DIRS .
REQUIRES console spi_flash driver)
if(NOT CONFIG_IDF_TARGET_ESP32H2) # IDF-6268
target_sources(${COMPONENT_LIB} PRIVATE cmd_system_sleep.c)
endif()
target_sources(${COMPONENT_LIB} PRIVATE cmd_system_sleep.c)
@@ -14,7 +14,5 @@
void register_system(void)
{
register_system_common();
#ifndef CONFIG_IDF_TARGET_ESP32H2 // IDF-6268
register_system_sleep();
#endif
}