rc-gateway/devices/oil_sensor/platformio.ini
Nicu Hodos 89da9a80e8 re-organize:
- move code for all devices in dedicated folder
- move code for gateway in the root folder
2025-09-20 10:00:42 +02:00

35 lines
846 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 =
../../libraries
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 =
../../libraries