; 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 = Encoder [env:attiny85] build_type = release platform = atmelavr board = attiny85 framework = arduino upload_protocol = usbtiny [env:attiny85_debug] build_type = debug extends = env:attiny85 [env:attiny85_init_debug] build_type = debug extends = env:attiny85_debug build_flags = -D DEBUG_INIT [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__ [env:uno] build_type = debug lib_deps = Adafruit NeoPixel platform = atmelavr board = uno framework = arduino build_flags = -D DEBUG