mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
pico hid: ps/2 bytes and packets queue (#142)
This commit is contained in:
@@ -8,19 +8,19 @@ target_sources(${target_name} PRIVATE
|
||||
ph_usb_kbd.c
|
||||
ph_usb_mouse.c
|
||||
ph_ps2.c
|
||||
ph_ps2_phy.c
|
||||
ph_cmds.c
|
||||
ph_com.c
|
||||
ph_com_bridge.c
|
||||
ph_com_spi.c
|
||||
ph_com_uart.c
|
||||
ph_debug.c
|
||||
# TODO: PS2: ${PS2_PATH}/foo.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})
|
||||
|
||||
pico_generate_pio_header(${target_name} ${CMAKE_CURRENT_LIST_DIR}/ph_ps2.pio)
|
||||
pico_generate_pio_header(${target_name} ${CMAKE_CURRENT_LIST_DIR}/ph_ps2_phy.pio)
|
||||
|
||||
target_link_libraries(${target_name} PRIVATE
|
||||
pico_stdlib
|
||||
@@ -29,6 +29,5 @@ target_link_libraries(${target_name} PRIVATE
|
||||
hardware_spi
|
||||
hardware_watchdog
|
||||
tinyusb_device
|
||||
# TODO: PS2: ... or make a library
|
||||
)
|
||||
pico_add_extra_outputs(${target_name})
|
||||
|
||||
Reference in New Issue
Block a user