mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
33 lines
806 B
INI
33 lines
806 B
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; http://docs.platformio.org/page/projectconf.html
|
|
|
|
[common]
|
|
lib_deps =
|
|
HID-Project@2.6.1
|
|
TimerOne@1.1
|
|
|
|
[env:serial_prod]
|
|
platform = atmelavr
|
|
board = micro
|
|
framework = arduino
|
|
upload_port = /dev/ttyACM0
|
|
lib_deps = ${common.lib_deps}
|
|
build_flags = -DCMD_SERIAL=Serial1
|
|
extra_scripts = post:patch.py
|
|
|
|
[env:serial_test]
|
|
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
|