summaryrefslogtreecommitdiff
path: root/hid/pico/src/CMakeLists.txt
diff options
context:
space:
mode:
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