Files
LoetkolbenWSS80/platformio.ini
2023-11-05 16:02:08 +01:00

59 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
[env:ATmega88P]
platform = atmelavr
board = ATmega88P
framework = arduino
board_build.f_cpu = 1000000L
lib_deps = fastled/FastLED@^3.6.0
[env:program_via_DiamexISP]
board = ATmega88P
framework = arduino
platform = atmelavr
upload_protocol = avrispv2
upload_port = COM10
upload_speed = 19200
upload_flags =
-c avrispv2
-p
$BOARD_MCU
-P
$UPLOAD_PORT
-b
$UPLOAD_SPEED
-c avrispv2
upload_command = avrdude -p atmega88p -P COM10 -b 19200 -c stk500v2 -U flash:w:.pio\build\program_via_DiamexISP\firmware.hex:i
lib_deps = fastled/FastLED@^3.6.0
[env:attiny261]
board = ATmega88P
framework = arduino
platform = atmelavr
upload_protocol = arduino
upload_speed = 115200
board_build.f_cpu = 8000000L
upload_port = COM10
board_fuses.lfuse = 0xE2
board_fuses.hfuse = 0xD9
board_fuses.efuse = 0xFF
upload_flags =
-C
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
-p
$BOARD_MCU
-P
$UPLOAD_PORT
-c
stk500v2
upload_command = avrdude -B 115200 $UPLOAD_FLAGS -U flash:w:$SOURCE:i
lib_deps = fastled/FastLED@^3.6.0