Skip to content

Commit bcd138f

Browse files
committed
feat(esp_driver_uart): add ci test for hp uart wakeup modes
1 parent d115a3d commit bcd138f

File tree

3 files changed

+459
-9
lines changed

3 files changed

+459
-9
lines changed

components/esp_driver_uart/test_apps/uart/main/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@ if(CONFIG_SOC_UART_SUPPORT_SLEEP_RETENTION AND CONFIG_PM_ENABLE)
1010
list(APPEND srcs "test_uart_retention.c")
1111
endif()
1212

13+
# Only if the target support uart wakeup
14+
if(CONFIG_SOC_LIGHT_SLEEP_SUPPORTED)
15+
list(APPEND srcs "test_hp_uart_wakeup.c")
16+
endif()
17+
1318
# In order for the cases defined by `TEST_CASE` to be linked into the final elf,
1419
# the component can be registered as WHOLE_ARCHIVE
1520
idf_component_register(
1621
SRCS ${srcs}
17-
REQUIRES esp_driver_uart unity esp_psram test_utils esp_driver_gpio esp_pm
22+
REQUIRES esp_driver_uart unity esp_psram test_utils esp_driver_gpio esp_pm esp_timer
1823
PRIV_INCLUDE_DIRS .
1924
WHOLE_ARCHIVE
2025
)

0 commit comments

Comments
 (0)