35 lines
834 B
INI
35 lines
834 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
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[env:attiny85]
|
|
platform = atmelavr
|
|
board = attiny85
|
|
framework = arduino
|
|
build_src_filter = +<switch.cpp>
|
|
lib_extra_dirs =
|
|
../../lib
|
|
upload_protocol = stk500v1
|
|
upload_flags =
|
|
-P$UPLOAD_PORT
|
|
-b$UPLOAD_SPEED
|
|
upload_port = /dev/ttyACM0
|
|
upload_speed = 19200
|
|
|
|
[env:pro_mini]
|
|
platform = atmelavr
|
|
board = pro16MHzatmega168
|
|
framework = arduino
|
|
build_src_filter = +<oil_sensor.cpp>
|
|
lib_deps =
|
|
teckel12/NewPing@^1.9.4
|
|
sui77/rc-switch @ ^2.6.4
|
|
lib_extra_dirs =
|
|
../../lib
|