# cmake version cmake_minimum_required(VERSION 3.13) # include the sdk.cmake file include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake) # give the project a name (anything you want) project(tlacitko_preruseni C CXX ASM) # initialize the sdk pico_sdk_init() set( executable "tlacitko_preruseni" ) add_executable( ${executable} ) target_sources(${executable} PRIVATE tlacitko_preruseni.c) target_link_libraries(${executable} PRIVATE pico_stdlib hardware_gpio ) # enable usb output, disable uart output pico_enable_stdio_usb( ${executable} 1) pico_enable_stdio_uart(${executable} 0) pico_add_extra_outputs(${executable})