diff options
author | Devaev Maxim <[email protected]> | 2020-08-06 07:03:29 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-08-06 07:03:29 +0300 |
commit | 1196285045aeb5748c531972ec0da04066f394a2 (patch) | |
tree | 1269a4983a6b28ef68bd32e06235ce249b266f53 /hid/platformio.ini | |
parent | 05984cee5dd698d21d2c4d717cc0fd9ce6dd92e7 (diff) |
ps2
Diffstat (limited to 'hid/platformio.ini')
-rw-r--r-- | hid/platformio.ini | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/hid/platformio.ini b/hid/platformio.ini index e1952afa..113a4148 100644 --- a/hid/platformio.ini +++ b/hid/platformio.ini @@ -10,23 +10,33 @@ [common] lib_deps = +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} +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 |