61 lines
1.3 KiB
INI
61 lines
1.3 KiB
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 = attiny841_debug
|
|
|
|
[env]
|
|
build_flags = -Wall
|
|
lib_deps =
|
|
paulstoffregen/Encoder@^1.4.4
|
|
|
|
[env:attiny85]
|
|
build_type = release
|
|
platform = atmelavr
|
|
board = attiny85
|
|
framework = arduino
|
|
upload_protocol = usbtiny
|
|
|
|
[env:attiny85_debug]
|
|
extends = env:attiny85
|
|
build_flags = -D __BUILD_DEBUG__
|
|
|
|
[env:attiny85_init_debug]
|
|
extends = env:attiny85_debug
|
|
build_flags = -D DEBUG_INIT
|
|
|
|
[env:attiny841]
|
|
build_type = release
|
|
platform = atmelavr
|
|
board = attiny841
|
|
framework = arduino
|
|
upload_protocol = usbtiny
|
|
board_build.f_cpu = 8000000L
|
|
board_fuses.lfuse = 0xC2
|
|
board_fuses.hfuse = 0xDF
|
|
board_fuses.efuse = 0xFF
|
|
|
|
[env:attiny841_debug]
|
|
extends = env:attiny841
|
|
build_flags = -D __BUILD_DEBUG__
|
|
|
|
[env:uno]
|
|
build_type = debug
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
Adafruit NeoPixel
|
|
platform = atmelavr
|
|
board = uno
|
|
framework = arduino
|
|
build_flags = -D __BUILD_DEBUG__
|
|
|
|
[env:uno_analog]
|
|
extends = env:uno
|
|
build_flags = ${env:uno.build_flags} -D ANALOG_BUTTON |