blob: 1d6e078da50e4d89fb31f4650dbb873e4da0c55a [file] [log] [blame]
if (NOT TARGET hardware_sha256)
return()
endif()
pico_add_library(pico_sha256)
target_sources(pico_sha256 INTERFACE
${CMAKE_CURRENT_LIST_DIR}/sha256.c
)
target_include_directories(pico_sha256_headers SYSTEM INTERFACE
${CMAKE_CURRENT_LIST_DIR}/include
)
pico_mirrored_target_link_libraries(pico_sha256 INTERFACE
hardware_dma
hardware_sha256
pico_sync
)