-
Notifications
You must be signed in to change notification settings - Fork 46
/
platformio.ini
221 lines (169 loc) · 4.04 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
; ###### common env #####################################
[env]
lib_deps =
jchristensen/JC_Button@^2.1.2
miguelbalboa/MFRC522@^1.4.10
makuna/DFPlayer Mini Mp3 by [email protected]
adafruit/Adafruit NeoPixel@^1.11.0
build_flags =
-std=c++17
-D__IN_VS_CODE__
build_unflags =
-std=gnu++11
framework = arduino
; ###### Classic ########################################
[env:TonUINO_Classic_3]
platform = atmelavr
board = nanoatmega328
build_flags =
${env.build_flags}
-D TonUINO_Classic=1
monitor_speed = 115200
[env:TonUINO_Classic_5]
platform = atmelavr
board = nanoatmega328
build_flags =
${env.build_flags}
-D TonUINO_Classic=1
-D FIVEBUTTONS=1
monitor_speed = 115200
[env:TonUINO_Classic_3x3]
platform = atmelavr
board = nanoatmega328
build_flags =
${env.build_flags}
-D TonUINO_Classic=1
-D BUTTONS3X3=1
monitor_speed = 115200
; ###### Classic with Every #############################
[env:TonUINO_Every_3]
platform = atmelmegaavr
board = ATmega4809
board_build.variant = nano-every
build_flags =
${env.build_flags}
-D TonUINO_Every=1
board_upload.use_1200bps_touch = yes
monitor_speed = 115200
[env:TonUINO_Every_5]
platform = atmelmegaavr
board = ATmega4809
board_build.variant = nano-every
build_flags =
${env.build_flags}
-D TonUINO_Every=1
-D FIVEBUTTONS=1
board_upload.use_1200bps_touch = yes
monitor_speed = 115200
[env:TonUINO_Every_3x3]
platform = atmelmegaavr
board = ATmega4809
board_build.variant = nano-every
build_flags =
${env.build_flags}
-D TonUINO_Every=1
-D BUTTONS3X3=1
board_upload.use_1200bps_touch = yes
monitor_speed = 115200
; ###### Classic with Every 4808 #########################
[env:TonUINO_Every4808_3]
platform = atmelmegaavr
board = ATmega4808
board_build.variant = nano-4808
build_flags =
${env.build_flags}
-D TonUINO_Every_4808=1
monitor_speed = 115200
[env:TonUINO_Every4808_5]
platform = atmelmegaavr
board = ATmega4808
board_build.variant = nano-4808
build_flags =
${env.build_flags}
-D TonUINO_Every_4808=1
-D FIVEBUTTONS=1
monitor_speed = 115200
[env:TonUINO_Every4808_3x3]
platform = atmelmegaavr
board = ATmega4808
board_build.variant = nano-4808
build_flags =
${env.build_flags}
-D TonUINO_Every_4808=1
-D BUTTONS3X3=1
monitor_speed = 115200
; ###### All in One ######################################
[env:ALLinONE_3]
platform = lgt8f
board = LGT8F328P
board_build.f_cpu = 16000000L
; 1=internal clock, 2=external clock
board_build.clock_source = 2
platform_packages = [email protected]
build_flags =
${env.build_flags}
-D ALLinONE=1
-D THREEBUTTONS
monitor_speed = 115200
[env:ALLinONE_5]
platform = lgt8f
board = LGT8F328P
board_build.f_cpu = 16000000L
; 1=internal clock, 2=external clock
board_build.clock_source = 2
platform_packages = [email protected]
build_flags =
${env.build_flags}
-D ALLinONE=1
monitor_speed = 115200
[env:ALLinONE_3x3]
platform = lgt8f
board = LGT8F328P
board_build.f_cpu = 16000000L
; 1=internal clock, 2=external clock
board_build.clock_source = 2
platform_packages = [email protected]
build_flags =
${env.build_flags}
-D ALLinONE=1
-D BUTTONS3X3=1
monitor_speed = 115200
; ###### All in One Plus #################################
[env:ALLinONE_Plus_3]
platform = atmelmegaavr
board = ATmega4809
board_build.f_cpu = 16000000L
board_hardware.oscillator = internal
board_build.variant = 48pin-standard
build_flags =
${env.build_flags}
-D ALLinONE_Plus=1
-D THREEBUTTONS
upload_protocol = arduino
upload_flags =
monitor_speed = 115200
[env:ALLinONE_Plus_5]
platform = atmelmegaavr
board = ATmega4809
board_build.f_cpu = 16000000L
board_hardware.oscillator = internal
board_build.variant = 48pin-standard
build_flags =
${env.build_flags}
-D ALLinONE_Plus=1
upload_protocol = arduino
upload_flags =
monitor_speed = 115200
[env:ALLinONE_Plus_3x3]
platform = atmelmegaavr
board = ATmega4809
board_build.f_cpu = 16000000L
board_hardware.oscillator = internal
board_build.variant = 48pin-standard
build_flags =
${env.build_flags}
-D ALLinONE_Plus=1
-D BUTTONS3X3=1
upload_protocol = arduino
upload_flags =
monitor_speed = 115200