LedRing/platformio.ini

59 lines
1.3 KiB
INI
Raw Normal View History

2020-03-08 23:33:00 +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]
2025-01-24 12:03:35 +01:00
default_envs = attiny841_debug
2020-03-08 23:33:00 +01:00
[env]
build_flags = -Wall
lib_deps =
Encoder
[env:attiny85]
build_type = release
platform = atmelavr
board = attiny85
framework = arduino
upload_protocol = usbtiny
2021-02-28 11:12:15 +01:00
[env:attiny85_debug]
2020-03-08 23:33:00 +01:00
build_type = debug
extends = env:attiny85
2021-02-28 11:12:15 +01:00
[env:attiny85_init_debug]
build_type = debug
extends = env:attiny85_debug
build_flags = -D DEBUG_INIT
2025-01-24 12:03:35 +01:00
[env:attiny841]
build_type = release
platform = atmelavr
board = attiny841
framework = arduino
upload_protocol = usbtiny
; default is 42 which divides by 8 internal clock to wich gives a system clock of 1MHz
; whith C2 we do not divide and system runs at 8MHz
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 DEBUG_INIT -D __BUILD_DEBUG__
2020-03-08 23:33:00 +01:00
[env:uno]
build_type = debug
2025-01-24 12:03:35 +01:00
lib_deps =
Adafruit NeoPixel
2020-03-08 23:33:00 +01:00
platform = atmelavr
board = uno
framework = arduino
build_flags = -D DEBUG