-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
61 lines (53 loc) · 1.35 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
51
52
53
54
55
56
57
58
59
60
; 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]
description = Kuechenuhr
default_envs = nanoatmega328
; default_envs = ATtiny1604
[common]
compile_flags =
-Os
-I $PROJECT_DIR/include
mybuild_flags =
[env]
platform = atmelavr
framework = arduino
platform_packages =
lib_deps =
olikraus/U8g2@^2.35.7
mathertel/RotaryEncoder@^1.5.3
kair/Button_SL @ ^1.1.4
build_type = release
build_flags =
${common.compile_flags}
${common.mybuild_flags}
monitor_speed = 9600
upload_flags =
-v
-e
[env:nanoatmega328]
board = nanoatmega328new
board_upload.maximum_size = 32256
monitor_speed = 74880
[env:pro8MHzatmega328]
board = pro8MHzatmega328
monitor_speed = 74880
[env:ATtiny1604]
platform = atmelmegaavr
board = ATtiny1604
board_build.f_cpu = 10000000L
board_hardware.oscillator = internal
board_hardware.bod = disabled ; saves power
;Specifies if the EEPROM memory should be retained when uploading using a programmer. Default is yes
;board_hardware.eesave = no
upload_speed = 115200
upload_protocol = jtag2updi
upload_flags =
-v