tinytemp/platformio.ini

39 lines
806 B
INI

[platformio]
default_envs = tiny85
[env:nanoatmega328]
platform = atmelavr
board = nanoatmega328
framework = arduino
board_build.f_cpu = 16000000L
lib_deps =
milesburton/DallasTemperature
targets = upload, monitor
upload_port = /dev/ttyUSB0
momitor_speed = 9600
monitor_port = /dev/ttyUSB1
[env:tiny85]
platform = atmelavr
framework = arduino
#board = digispark-tiny
board = attiny85
board_build.f_cpu = 4000000L
build_flags =
-DRH_ASK_ATTINY_USE_TIMER1
-DRH_ASK_TX_ONLY
lib_deps =
milesburton/DallasTemperature
https://github.com/vlastahajek/RH_ASKTiny
upload_protocol = stk500v1
upload_flags =
-P$UPLOAD_PORT
-b$UPLOAD_SPEED
-V
targets = upload, monitor
#targets = upload
upload_speed = 19200
upload_port = /dev/ttyUSB0
momitor_speed = 9600
monitor_port = /dev/ttyACM0