-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
34 lines (30 loc) · 1010 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
; 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:attiny84]
platform = atmelavr
board = attiny84
framework = arduino
; Set fuses to use internal 8MHz oscillator
board_fuses.lfuse = 0xE2
board_fuses.hfuse = 0xDF
board_fuses.efuse = 0xFF
board_build.f_cpu = 8000000L
upload_flags =
-C
; use "tool-avrdude-megaavr" for the atmelmegaavr platform
${platformio.packages_dir}/tool-avrdude/avrdude.conf
-p
$BOARD_MCU
-c
usbtiny
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i -v -Ulfuse:w:$board_fuses.lfuse:m -Uhfuse:w:$board_fuses.hfuse:m -Uefuse:w:$board_fuses.efuse:m -F
lib_deps =
arkhipenko/TaskScheduler
nicohood/PinChangeInterrupt @ ^1.2.9