;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

[platformio]
default_envs = attiny84

[env]
build_flags = -D BUILD_ENV_NAME=$PIOENV
lib_deps = LedControl, Encoder

[env:attiny85]
platform = atmelavr
board = attiny85
framework = arduino
upload_protocol = usbtiny
board_build.f_cpu = 1000000L

[env:attiny84]
platform = atmelavr
board = attiny84
framework = arduino
upload_protocol = usbtiny
board_build.f_cpu = 800000L


[env:uno]
platform = atmelavr
board = uno
framework = arduino
