mirror of
https://github.com/Noltari/pico-uart-bridge.git
synced 2024-12-28 02:06:06 +00:00
410eef18ef
With these changes, both HW UARTs will be exposed as two independent USB-UART bridge controllers. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
23 lines
411 B
CMake
23 lines
411 B
CMake
# SPDX-License-Identifier: MIT
|
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
include(pico-sdk/pico_sdk_init.cmake)
|
|
|
|
project(pico_uart_bridge)
|
|
|
|
pico_sdk_init()
|
|
|
|
add_executable(uart_bridge uart-bridge.c usb-descriptors.c)
|
|
|
|
target_include_directories(uart_bridge PUBLIC
|
|
./
|
|
pico-sdk/lib/tinyusb/src)
|
|
|
|
target_link_libraries(uart_bridge
|
|
pico_multicore
|
|
pico_stdlib
|
|
tinyusb_device)
|
|
|
|
pico_add_extra_outputs(uart_bridge)
|