2021-02-03 11:49:34 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
|
|
|
|
include(pico-sdk/pico_sdk_init.cmake)
|
|
|
|
|
|
|
|
project(pico_uart_bridge)
|
|
|
|
|
|
|
|
pico_sdk_init()
|
2022-11-04 09:58:51 +00:00
|
|
|
|
2021-02-03 11:49:34 +00:00
|
|
|
add_executable(uart_bridge uart-bridge.c usb-descriptors.c)
|
|
|
|
|
|
|
|
target_include_directories(uart_bridge PUBLIC
|
2021-02-04 08:02:27 +00:00
|
|
|
./
|
|
|
|
pico-sdk/lib/tinyusb/src)
|
2021-02-03 11:49:34 +00:00
|
|
|
|
|
|
|
target_link_libraries(uart_bridge
|
2022-11-03 17:12:56 +00:00
|
|
|
hardware_flash
|
2021-02-03 11:49:34 +00:00
|
|
|
pico_multicore
|
|
|
|
pico_stdlib
|
|
|
|
tinyusb_device)
|
|
|
|
|
|
|
|
pico_add_extra_outputs(uart_bridge)
|