summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-16 02:49:13 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-16 02:49:13 -0600
commit93f054683dd5fc5b79541f4922cb34a38cb5c341 (patch)
tree5fed989181dbf1c7714c6c4fe7b910344e8ba30d /CMakeLists.txt
parent7c30fe0be98a3028964d437f5c31cc968fbf9755 (diff)
keyboard hello world?
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f229d17..bb5abcf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,9 +10,16 @@ pico_sdk_init()
add_executable(sbc_harness)
target_sources(sbc_harness PUBLIC
main.c
+ usb_common.c
+ usb_keyboard.c
)
target_include_directories(sbc_harness PUBLIC ${CMAKE_CURRENT_LIST_DIR}) # So TinyUSB can find tusb_config.h
-target_link_libraries(sbc_harness pico_stdlib)
+target_link_libraries(sbc_harness
+ pico_stdlib
+ pico_unique_id
+ tinyusb_device
+ tinyusb_board
+)
pico_enable_stdio_usb(sbc_harness 0)
pico_enable_stdio_uart(sbc_harness 1)
pico_enable_stdio_semihosting(sbc_harness 0)