mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 17:41:54 +08:00
ps2
This commit is contained in:
@@ -10,23 +10,33 @@
|
||||
|
||||
[common]
|
||||
lib_deps =
|
||||
HID-Project@2.6.1
|
||||
TimerOne@1.1
|
||||
build_flags =
|
||||
-DCMD_SERIAL=Serial1
|
||||
|
||||
[env:serial_prod]
|
||||
[env:usb]
|
||||
platform = atmelavr
|
||||
board = micro
|
||||
framework = arduino
|
||||
upload_port = /dev/ttyACM0
|
||||
lib_deps = ${common.lib_deps}
|
||||
build_flags = -DCMD_SERIAL=Serial1
|
||||
lib_deps =
|
||||
${common.lib_deps}
|
||||
HID-Project@2.6.1
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
-DHID_USB
|
||||
extra_scripts = post:patch.py
|
||||
|
||||
[env:serial_test]
|
||||
[env:ps2]
|
||||
platform = atmelavr
|
||||
board = micro
|
||||
framework = arduino
|
||||
upload_port = /dev/ttyACM0
|
||||
lib_deps = ${common.lib_deps}
|
||||
build_flags = -DCMD_SERIAL=Serial
|
||||
extra_scripts = post:patch.py
|
||||
lib_deps =
|
||||
${common.lib_deps}
|
||||
git+https://github.com/Harvie/ps2dev#v0.0.3
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
-DHID_PS2
|
||||
-DPS2_KBD_CLOCK_PIN=3
|
||||
-DPS2_KBD_DATA_PIN=2
|
||||
|
||||
Reference in New Issue
Block a user