mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
15 lines
491 B
CMake
15 lines
491 B
CMake
set(srcs "test_app_main.c"
|
|
"test_parlio_rx.c"
|
|
"test_parlio_tx.c")
|
|
|
|
# TODO: IDF-7840, semaphore in 'spi_bus_lock.c' is not IRAM safe
|
|
if(CONFIG_PARLIO_ISR_IRAM_SAFE)
|
|
list(REMOVE_ITEM srcs "test_parlio_rx")
|
|
endif()
|
|
|
|
# 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 ${srcs}
|
|
PRIV_REQUIRES unity driver
|
|
WHOLE_ARCHIVE)
|