2024-09-25 00:52:23 +00:00
|
|
|
cmake_minimum_required(VERSION 3.13...3.27)
|
|
|
|
|
|
|
|
include(pico_sdk_import.cmake)
|
|
|
|
|
2024-09-25 00:59:04 +00:00
|
|
|
project(pico-ice-video C CXX ASM)
|
2024-09-25 00:52:23 +00:00
|
|
|
pico_sdk_init()
|
|
|
|
|
|
|
|
add_subdirectory(pico-ice-sdk)
|
|
|
|
|
2024-09-25 00:59:04 +00:00
|
|
|
add_executable(pico-ice-video main.cpp usb_descriptors.c)
|
|
|
|
target_link_libraries(pico-ice-video pico_ice_sdk pico_ice_usb pico_stdio_usb pico_bootsel_via_double_reset)
|
|
|
|
target_include_directories(pico-ice-video PUBLIC ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_BINARY_DIR})
|
2024-09-25 00:52:23 +00:00
|
|
|
|
2024-09-25 00:59:04 +00:00
|
|
|
pico_add_extra_outputs(pico-ice-video)
|
|
|
|
pico_enable_stdio_usb(pico-ice-video 0)
|
|
|
|
pico_enable_stdio_uart(pico-ice-video 0)
|