blob: 0fbad185476cdeb239a2f2d127637cec6eb1810d (
plain)
1
2
3
4
5
6
7
|
if(NOT PICO_PLATFORM STREQUAL "rp2040")
return()
endif()
target_sources(pbdrv-mod PRIVATE "${CMAKE_CURRENT_LIST_DIR}/mod.c")
target_link_libraries(pbdrv-mod hardware_i2c pico_i2c_slave)
|