- move code for all devices in dedicated folder - move code for gateway in the root folder
28 lines
745 B
INI
28 lines
745 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
|
|
lib_deps =
|
|
adafruit/Adafruit Unified Sensor @ ^1.1.4
|
|
adafruit/DHT sensor library@^1.4.3
|
|
sui77/rc-switch @ ^2.6.4
|
|
lib_extra_dirs =
|
|
../../libraries
|
|
build_flags = -D DHT_SENSOR=0
|
|
upload_protocol = stk500v1
|
|
upload_flags =
|
|
-P$UPLOAD_PORT
|
|
-b$UPLOAD_SPEED
|
|
upload_port = /dev/ttyACM0
|
|
upload_speed = 19200
|