; 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 ; attiny85 programmed via Arduino Uno, fuses and speed set to 8Mhz: [env:attiny85] platform = atmelavr board = attiny85 framework = arduino ; Arduino Uno as ISP: (arduino / custom also seen): upload_protocol = stk500v1 ; each flag in a new line upload_flags = -P$UPLOAD_PORT -b$UPLOAD_SPEED ; edit these lines upload_port = /dev/ttyACM0 upload_speed = 19200 ; lib_deps = mikem/RadioHead@^1.113; This is not working with the attiny85. We need 1.116 which is not available for platformio yet. ; http://eleccelerator.com/fusecalc/fusecalc.php?chip=attiny85 board_build.f_cpu = 8000000L force_verbose = True ; set environment variables in a python script for project specific settings ; does not work because variables not available in build! ; extra_scripts = ; pre:env.py ; Platformio Project Tasks -> Set Fuses! board_fuses.lfuse = 0xE2 board_fuses.hfuse = 0xDF ; for unit testing. In Platformio -> Project Tasks open native->Advanced click test. [env:native] platform = native build_flags = -std=gnu++11 lib_deps = ArduinoFake