-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
50 lines (47 loc) · 1.38 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
; 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 = ATtiny1614
[env]
framework = arduino
[env:ATtiny85]
; https://github.com/SpenceKonde/ATTinyCore
; https://www.engbedded.com/fusecalc/
platform = atmelavr
board = attiny85
board_build.mcu = attiny85
board_build.f_cpu = 8000000L
board_upload.protocol = usbasp
board_fuses.lfuse = 0xE2
board_fuses.hfuse = 0xD7
board_fuses.efuse = 0xFF
build_flags =
-D BOARD=85
lib_deps =
datacute/Tiny4kOLED@^1.5.4
datacute/TinyOLED-Fonts@^1.1.0
adafruit/TinyWireM@^1.1.0
mathertel/RotaryEncoder@^1.5.0
[env:ATtiny1614]
; https://github.com/SpenceKonde/megaTinyCore/blob/master/PlatformIO.md#platformioini-template
; https://github.com/platformio/platform-atmelmegaavr/blob/master/boards/ATtiny1614.json
platform = atmelmegaavr
board = ATtiny1614
board_build.mcu = attiny1614
board_build.f_cpu = 20000000L
board_hardware.bod = 1.8v
board_hardware.eesave = yes
board_upload.protocol = jtag2updi
build_flags =
-D BOARD=1614
lib_deps =
datacute/Tiny4kOLED@^1.5.4
datacute/TinyOLED-Fonts@^1.1.0
mathertel/RotaryEncoder@^1.5.0