42 lines
894 B
INI
42 lines
894 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
|
||
|
|
||
|
[platformio]
|
||
|
default_envs = attiny85d
|
||
|
|
||
|
[env]
|
||
|
build_flags = -Wall
|
||
|
lib_deps =
|
||
|
Adafruit NeoPixel
|
||
|
Encoder
|
||
|
|
||
|
[env:attiny85]
|
||
|
build_type = release
|
||
|
platform = atmelavr
|
||
|
board = attiny85
|
||
|
framework = arduino
|
||
|
upload_protocol = usbtiny
|
||
|
board_build.f_cpu = 16000000L
|
||
|
; board_fuses.lfuse = 0xAA
|
||
|
; board_fuses.hfuse = 0xBB
|
||
|
; board_fuses.efuse = 0xCC
|
||
|
|
||
|
[env:attiny85d]
|
||
|
build_type = debug
|
||
|
extends = env:attiny85
|
||
|
build_flags = -D DEBUG
|
||
|
|
||
|
|
||
|
[env:uno]
|
||
|
build_type = debug
|
||
|
platform = atmelavr
|
||
|
board = uno
|
||
|
framework = arduino
|
||
|
build_flags = -D DEBUG
|