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 soc WHOLE_ARCHIVE)