mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
0d9d4f60df
This commit adds "freertos_test_utils.h/c" that contains utility functions used in FreeRTOS unit tests.
16 lines
881 B
CMake
16 lines
881 B
CMake
# For refactored FreeRTOS unit tests, we need to support #include "xxx.h" of FreeRTOS headers
|
|
idf_component_get_property(FREERTOS_ORIG_INCLUDE_PATH freertos ORIG_INCLUDE_PATH)
|
|
|
|
idf_component_register(SRC_DIRS integration # For freertos_test_utils.c
|
|
integration/event_groups
|
|
integration/queue
|
|
integration/stream_buffer
|
|
integration/tasks
|
|
integration/timers
|
|
miscellaneous
|
|
performance
|
|
port
|
|
PRIV_INCLUDE_DIRS . ./integration "${FREERTOS_ORIG_INCLUDE_PATH}"
|
|
PRIV_REQUIRES cmock test_utils esp_system driver esp_timer)
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|