diff options
author | Devaev Maxim <[email protected]> | 2020-08-12 12:39:04 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-08-12 12:39:04 +0300 |
commit | 37b3ac74d55d18d76d2a2c51bfb2ffcf031c2927 (patch) | |
tree | 1bccaad4284d6f5b8a1c84877eec7edaac2c4ed2 /hid/platformio.ini | |
parent | 9ee24e5cf46ed7aebd2b6acbd33943e132b74d6f (diff) |
mixed mode for arduino hid
Diffstat (limited to 'hid/platformio.ini')
-rw-r--r-- | hid/platformio.ini | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/hid/platformio.ini b/hid/platformio.ini index b5319230..c6c7c34b 100644 --- a/hid/platformio.ini +++ b/hid/platformio.ini @@ -24,7 +24,8 @@ lib_deps = build_flags = ${common.build_flags} - -DHID_USB + -DHID_USB_KBD + -DHID_USB_MOUSE extra_scripts = post:patch.py [env:ps2] @@ -37,6 +38,22 @@ lib_deps = git+https://github.com/Harvie/ps2dev#v0.0.3 build_flags = ${common.build_flags} - -DHID_PS2 + -DHID_PS2_KBD + -DPS2_KBD_CLOCK_PIN=7 + -DPS2_KBD_DATA_PIN=5 + +[env:mixed] +platform = atmelavr +board = micro +framework = arduino +upload_port = /dev/ttyACM0 +lib_deps = + ${common.lib_deps} + git+https://github.com/Harvie/ps2dev#v0.0.3 +build_flags = + ${common.build_flags} + -DHID_PS2_KBD + -DHID_USB_MOUSE -DPS2_KBD_CLOCK_PIN=7 -DPS2_KBD_DATA_PIN=5 |