diff options
author | Devaev Maxim <[email protected]> | 2019-04-24 00:42:30 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-24 00:45:19 +0300 |
commit | 87435dd5c5dea44a71606ae43601e91c6fb27f8d (patch) | |
tree | f57bfdd70bbedffb11dc646b289ceb587822fe44 /hid/platformio.ini | |
parent | 94dc4e76b41f13ea4a3f1e924f258c953f829fcf (diff) |
hid: prod and test envs
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 |