2019-11-06 13:52:44 +01:00
|
|
|
;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]
|
2019-11-29 10:58:47 +01:00
|
|
|
default_envs = attiny84
|
2019-11-06 13:52:44 +01:00
|
|
|
|
|
|
|
[env]
|
|
|
|
build_flags = -D BUILD_ENV_NAME=$PIOENV
|
2019-11-29 10:58:47 +01:00
|
|
|
lib_deps = LedControl, Encoder
|
2019-11-06 13:52:44 +01:00
|
|
|
|
|
|
|
[env:attiny85]
|
|
|
|
platform = atmelavr
|
|
|
|
board = attiny85
|
|
|
|
framework = arduino
|
|
|
|
upload_protocol = usbtiny
|
|
|
|
board_build.f_cpu = 1000000L
|
|
|
|
|
2019-11-29 10:58:47 +01:00
|
|
|
[env:attiny84]
|
|
|
|
platform = atmelavr
|
|
|
|
board = attiny84
|
|
|
|
framework = arduino
|
|
|
|
upload_protocol = usbtiny
|
|
|
|
board_build.f_cpu = 800000L
|
|
|
|
|
|
|
|
|
2019-11-06 13:52:44 +01:00
|
|
|
[env:uno]
|
|
|
|
platform = atmelavr
|
|
|
|
board = uno
|
|
|
|
framework = arduino
|