diff options
Diffstat (limited to 'hid/platformio.ini')
-rw-r--r-- | hid/platformio.ini | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/hid/platformio.ini b/hid/platformio.ini index f70cd66c..1b3cbc43 100644 --- a/hid/platformio.ini +++ b/hid/platformio.ini @@ -8,13 +8,23 @@ ; Please visit documentation for the other options and examples ; http://docs.platformio.org/page/projectconf.html -[env:micro] +[common] +lib_deps = + +[env:serial_prod] platform = atmelavr board = micro framework = arduino upload_port = /dev/ttyACM0 -monitor_speed = 115200 +lib_deps = ${common.lib_deps} +build_flags = -DCMD_SERIAL=Serial1 -lib_deps = +[env:serial_test] +platform = atmelavr +board = micro +framework = arduino +upload_port = /dev/ttyACM0 +lib_deps = ${common.lib_deps} +build_flags = -DCMD_SERIAL=Serial |