cmake_minimum_required(VERSION 3.12) # Pull in SDK (must be before project) include(pico_sdk_import.cmake) project(test_project C CXX ASM) set(CMAKE_C_STANDARD 11) set(CMAKE_CXX_STANDARD 17) pico_sdk_init() add_executable(qclk main.c ) pico_enable_stdio_usb(qclk 1) pico_enable_stdio_uart(qclk 0) pico_add_extra_outputs(qclk) target_link_libraries(qclk pico_stdlib hardware_i2c pico_i2c_slave)