blob: 018391d9cfc0d6be88de6b87c685bd66fe8a3300 [file] [log] [blame]
pico_simple_hardware_headers_only_target(divider)
if (PICO_RP2040)
target_sources(hardware_divider INTERFACE ${CMAKE_CURRENT_LIST_DIR}/divider.S)
else()
target_sources(hardware_divider INTERFACE ${CMAKE_CURRENT_LIST_DIR}/divider.c)
endif()
target_link_libraries(hardware_divider_headers INTERFACE hardware_structs)