36 lines
907 B
INI
36 lines
907 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
|
|
|
|
[env:attiny85]
|
|
platform = atmelavr
|
|
board = attiny85
|
|
framework = arduino
|
|
upload_protocol = custom
|
|
upload_port = /dev/ttyACM0
|
|
upload_speed = 19200
|
|
upload_flags =
|
|
-C
|
|
${platformio.packages_dir}/tool-avrdude/avrdude.conf
|
|
-p
|
|
$BOARD_MCU
|
|
-P
|
|
$UPLOAD_PORT
|
|
-b
|
|
$UPLOAD_SPEED
|
|
-c
|
|
stk500v1
|
|
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
|
|
lib_deps = connornishijima/TinySnore@^1.0.1
|
|
|
|
monitor_speed=115200
|
|
board_build.f_cpu=1000000L
|
|
board_fuses.lfuse = 0x62
|
|
board_fuses.hfuse = 0xD7
|
|
board_fuses.efuse = 0xFF |