Fix project name

This commit is contained in:
shylie 2024-09-24 20:59:04 -04:00
parent cf3f9e9e85
commit 1ca3d882a7

View File

@ -2,15 +2,15 @@ cmake_minimum_required(VERSION 3.13...3.27)
include(pico_sdk_import.cmake)
project(usb-video C CXX ASM)
project(pico-ice-video C CXX ASM)
pico_sdk_init()
add_subdirectory(pico-ice-sdk)
add_executable(usb-video main.cpp usb_descriptors.c)
target_link_libraries(usb-video pico_ice_sdk pico_ice_usb pico_stdio_usb pico_bootsel_via_double_reset)
target_include_directories(usb-video PUBLIC ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_BINARY_DIR})
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})
pico_add_extra_outputs(usb-video)
pico_enable_stdio_usb(usb-video 0)
pico_enable_stdio_uart(usb-video 0)
pico_add_extra_outputs(pico-ice-video)
pico_enable_stdio_usb(pico-ice-video 0)
pico_enable_stdio_uart(pico-ice-video 0)