set(srcs "test_app_main.c"
         "test_dma2d.c"
         "test_async_color_convert.c"
         "dma2d_test_utils.c")

# 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}
                       INCLUDE_DIRS "."
                       PRIV_REQUIRES unity esp_mm esp_psram esp_driver_dma efuse
                       WHOLE_ARCHIVE)
