summaryrefslogtreecommitdiff
path: root/hid/pico/src/CMakeLists.txt
diff options
context:
space:
mode:
authorNo0ne <[email protected]>2023-08-14 08:34:31 +0200
committerMaxim Devaev <[email protected]>2023-08-25 12:41:47 +0300
commit94041d45fc789b1ed498c010486b1f4439b5a458 (patch)
treeb016887afe2dd924f0481bf8a950998c2f0f8ffe /hid/pico/src/CMakeLists.txt
parent36df38972c4b6c39f026ed6633982295a79076bf (diff)
pico hid: ps/2 keyboard support getting started (#139)
Diffstat (limited to 'hid/pico/src/CMakeLists.txt')
-rw-r--r--hid/pico/src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/hid/pico/src/CMakeLists.txt b/hid/pico/src/CMakeLists.txt
index cb1c7feb..0426110c 100644
--- a/hid/pico/src/CMakeLists.txt
+++ b/hid/pico/src/CMakeLists.txt
@@ -20,9 +20,12 @@ target_link_options(${target_name} PRIVATE -Xlinker --print-memory-usage)
target_compile_options(${target_name} PRIVATE -Wall -Wextra)
target_include_directories(${target_name} PRIVATE ${CMAKE_CURRENT_LIST_DIR})
+pico_generate_pio_header(${target_name} ${CMAKE_CURRENT_LIST_DIR}/ph_ps2.pio)
+
target_link_libraries(${target_name} PRIVATE
pico_stdlib
pico_unique_id
+ hardware_pio
hardware_spi
hardware_watchdog
tinyusb_device