mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
188c21319d
This commit adds a README.md containing guidelines on how to refactor the FreeRTOS unit tests for upstreaming. A portTestMacro.h header was also added which contains port implementation specific macros used by the test cases.
15 lines
805 B
CMake
15 lines
805 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/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")
|