diff options
Diffstat (limited to 'hid/pico/src/CMakeLists.txt')
-rw-r--r-- | hid/pico/src/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hid/pico/src/CMakeLists.txt b/hid/pico/src/CMakeLists.txt index 743759c2..facab804 100644 --- a/hid/pico/src/CMakeLists.txt +++ b/hid/pico/src/CMakeLists.txt @@ -8,7 +8,6 @@ target_sources(${target_name} PRIVATE ph_usb_kbd.c ph_usb_mouse.c ph_ps2.c - ph_ps2_phy.c ph_ps2_kbd.c ph_ps2_mouse.c ph_cmds.c @@ -17,12 +16,14 @@ target_sources(${target_name} PRIVATE ph_com_spi.c ph_com_uart.c ph_debug.c + + ${PS2_PATH}/ps2phy.c ) 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}) +target_include_directories(${target_name} PRIVATE ${CMAKE_CURRENT_LIST_DIR} ${PS2_PATH}) -pico_generate_pio_header(${target_name} ${CMAKE_CURRENT_LIST_DIR}/ph_ps2_phy.pio) +pico_generate_pio_header(${target_name} ${PS2_PATH}/ps2phy.pio) target_link_libraries(${target_name} PRIVATE pico_stdlib |