esp-idf/components/esp_driver_uart/test_apps/uart/main/CMakeLists.txt

9 wiersze
350 B
CMake

# In order for the cases defined by `TEST_CASE` to be linked into the final elf,
# the component can be registered as WHOLE_ARCHIVE
idf_component_register(
SRCS "test_app_main.c" "test_uart.c" "test_uart_auto_lightsleep.c"
REQUIRES esp_driver_uart unity esp_psram test_utils esp_driver_gpio esp_pm
PRIV_INCLUDE_DIRS .
WHOLE_ARCHIVE
)