-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathboards.txt
502 lines (415 loc) · 22.6 KB
/
boards.txt
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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
# See: https://arduino.github.io/arduino-cli/latest/platform-specification/
menu.pnum=Board part number
menu.UploadSpeed=Upload Speed
menu.xserial=U(S)ART support
menu.usb=USB support (if available)
menu.xusb=USB speed (if available)
menu.virtio=Virtual serial support
menu.BootConnection=Boot Connection
menu.opt=Optimize
menu.dbg=Debug symbols and core logs
menu.rtlib=C Runtime Library
menu.upload_method=Upload method
# py32f0xx 设置方式
menu.ClockSourceAndFrequency=Clock Source and Frequency
# py32f4xx 设置
menu.ClockSoure=Clock Source
menu.SysFreq=System Frequency
menu.LowSpeedClockSource=Low Speed Clock Source
menu.SupplyVoltage=Supply Voltage
###############################
# Generic PY32F030 Series
###############################
GenF030.name=Generic PY32F030 Series
GenF030.upload.maximum_size=0
GenF030.upload.maximum_data_size=0
GenF030.upload.tool=AirISP
GenF030.upload.tool.default=AirISP
GenF030.build.core=arduino
GenF030.build.board=GenF030
GenF030.build.mcu=cortex-m0plus
GenF030.build.series=PY32F0xx
GenF030.build.cmsis_lib_gcc=arm_cortexM0l_math
GenF030.build.py_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial}
GenF030.build.drivers_include="-I{build.system.path}/Arduino-PY32F0xx-Drivers/{build.series}_HAL_Driver/Inc" "-I{build.system.path}/Arduino-PY32F0xx-Drivers/{build.series}_HAL_Driver/Src" "-I{build.system.path}/{build.series}" "-I{build.system.path}/Arduino-PY32F0xx-Drivers/CMSIS/Device/{build.series}/Include/" "-I{build.system.path}/Arduino-PY32F0xx-Drivers/CMSIS/Device/{build.series}/Source/gcc/"
GenF030.menu.UploadSpeed.115200=115200
GenF030.menu.UploadSpeed.115200.upload.speed=115200
GenF030.menu.UploadSpeed.57600=57600
GenF030.menu.UploadSpeed.57600.upload.speed=57600
GenF030.menu.UploadSpeed.38400=38400
GenF030.menu.UploadSpeed.38400.upload.speed=38400
GenF030.menu.UploadSpeed.19200=19200
GenF030.menu.UploadSpeed.19200.upload.speed=19200
GenF030.menu.UploadSpeed.9600=9600
GenF030.menu.UploadSpeed.9600.upload.speed=9600
GenF030.menu.UploadSpeed.4800=4800
GenF030.menu.UploadSpeed.4800.upload.speed=4800
GenF030.menu.UploadSpeed.2400=2400
GenF030.menu.UploadSpeed.2400.upload.speed=2400
GenF030.menu.UploadSpeed.1200=1200
GenF030.menu.UploadSpeed.1200.upload.speed=1200
# HSI/HSE选择和主频
GenF030.menu.ClockSourceAndFrequency.HSI4M_HCLK4M=HSI 4Mhz, HCLK 4Mhz
GenF030.menu.ClockSourceAndFrequency.HSI4M_HCLK4M.build.temp=-D{build.series}_HSI_4M_HCLK_4M
GenF030.menu.ClockSourceAndFrequency.HSI4M_HCLK4M.build.f_cpu=4000000L
GenF030.menu.ClockSourceAndFrequency.HSI8M_HCLK8M=HSI 8Mhz, HCLK 8Mhz
GenF030.menu.ClockSourceAndFrequency.HSI8M_HCLK8M.build.temp=-D{build.series}_HSI_8M_HCLK_8M
GenF030.menu.ClockSourceAndFrequency.HSI8M_HCLK8M.build.f_cpu=8000000L
GenF030.menu.ClockSourceAndFrequency.HSI16M_HCLK16M=HSI 16Mhz, HCLK 16Mhz
GenF030.menu.ClockSourceAndFrequency.HSI16M_HCLK16M.build.temp=-D{build.series}_HSI_16M_HCLK_16M
GenF030.menu.ClockSourceAndFrequency.HSI16M_HCLK16M.build.f_cpu=16000000L
GenF030.menu.ClockSourceAndFrequency.HSI22_12M_HCLK22_12M=HSI 22.12Mhz, HCLK 22.12Mhz
GenF030.menu.ClockSourceAndFrequency.HSI22_12M_HCLK22_12M.build.temp=-D{build.series}_HSI_22_12M_HCLK_22_12M
GenF030.menu.ClockSourceAndFrequency.HSI22_12M_HCLK22_12M.build.f_cpu=22120000L
GenF030.menu.ClockSourceAndFrequency.HSI24M_HCLK24M=HSI 24Mhz, HCLK 24Mhz
GenF030.menu.ClockSourceAndFrequency.HSI24M_HCLK24M.build.temp=-D{build.series}_HSI_24M_HCLK_24M
GenF030.menu.ClockSourceAndFrequency.HSI24M_HCLK24M.build.f_cpu=24000000L
GenF030.menu.ClockSourceAndFrequency.HSI24M_HCLK48M=HSI 24Mhz, HCLK 48Mhz
GenF030.menu.ClockSourceAndFrequency.HSI24M_HCLK48M.build.temp=-D{build.series}_HSI_24M_HCLK_48M
GenF030.menu.ClockSourceAndFrequency.HSI24M_HCLK48M.build.f_cpu=48000000L
GenF030.menu.ClockSourceAndFrequency.HSE8M_HCLK8M=HSE 8Mhz, HCLK 8Mhz
GenF030.menu.ClockSourceAndFrequency.HSE8M_HCLK8M.build.temp=-D{build.series}_HSE_8M_HCLK_8M
GenF030.menu.ClockSourceAndFrequency.HSE8M_HCLK8M.build.f_cpu=8000000L
GenF030.menu.ClockSourceAndFrequency.HSE16M_HCLK16M=HSE 16Mhz, HCLK 16Mhz
GenF030.menu.ClockSourceAndFrequency.HSE16M_HCLK16M.build.temp=-D{build.series}_HSE_16M_HCLK_16M
GenF030.menu.ClockSourceAndFrequency.HSE16M_HCLK16M.build.f_cpu=16000000L
GenF030.menu.ClockSourceAndFrequency.HSE24M_HCLK24M=HSE 24Mhz, HCLK 24Mhz
GenF030.menu.ClockSourceAndFrequency.HSE24M_HCLK24M.build.temp=-D{build.series}_HSE_24M_HCLK_24M
GenF030.menu.ClockSourceAndFrequency.HSE24M_HCLK24M.build.f_cpu=24000000L
GenF030.menu.ClockSourceAndFrequency.HSE24M_HCLK48M=HSE 24Mhz, HCLK 48Mhz
GenF030.menu.ClockSourceAndFrequency.HSE24M_HCLK48M.build.temp=-D{build.series}_HSE_24M_HCLK_48M
GenF030.menu.ClockSourceAndFrequency.HSE24M_HCLK48M.build.f_cpu=48000000L
GenF030.menu.ClockSourceAndFrequency.HSE32M_HCLK32M=HSE 32Mhz, HCLK 32Mhz
GenF030.menu.ClockSourceAndFrequency.HSE32M_HCLK32M.build.temp=-D{build.series}_HSE_32M_HCLK_32M
GenF030.menu.ClockSourceAndFrequency.HSE32M_HCLK32M.build.f_cpu=32000000L
GenF030.menu.LowSpeedClockSource.None=None
GenF030.menu.LowSpeedClockSource.None.build.lsc_temp=-D{build.series}_LSC_NONE
GenF030.menu.LowSpeedClockSource.LSI=LSI 32.768Khz
GenF030.menu.LowSpeedClockSource.LSI.build.lsc_temp=-D{build.series}_LSC_LSI
GenF030.menu.LowSpeedClockSource.LSE=LSE 32.768Khz
GenF030.menu.LowSpeedClockSource.LSE.build.lsc_temp=-D{build.series}_LSC_LSE
GenF030.menu.xserial.generic=Enabled (generic 'Serial')
GenF030.menu.xserial.none=Enabled (no generic 'Serial')
GenF030.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
GenF030.menu.xserial.disabled=Disabled (no Serial support)
GenF030.menu.xserial.disabled.build.xSerial=
# debug
GenF030.menu.dbg.none=None
GenF030.menu.dbg.enable_sym=Symbols Enabled (-g)
GenF030.menu.dbg.enable_sym.build.flags.debug=-g -DNDEBUG
GenF030.menu.dbg.enable_log=Core logs Enabled
GenF030.menu.dbg.enable_log.build.flags.debug=
GenF030.menu.dbg.enable_all=Core Logs and Symbols Enabled (-g)
GenF030.menu.dbg.enable_all.build.flags.debug=-g
# optimize
GenF030.menu.opt.osstd=Smallest (-Os default)
GenF030.menu.opt.oslto=Smallest (-Os) with LTO
GenF030.menu.opt.oslto.build.flags.optimize=-Os -flto
GenF030.menu.opt.o1std=Fast (-O1)
GenF030.menu.opt.o1std.build.flags.optimize=-O1
GenF030.menu.opt.o1lto=Fast (-O1) with LTO
GenF030.menu.opt.o1lto.build.flags.optimize=-O1 -flto
GenF030.menu.opt.o2std=Faster (-O2)
GenF030.menu.opt.o2std.build.flags.optimize=-O2
GenF030.menu.opt.o2lto=Faster (-O2) with LTO
GenF030.menu.opt.o2lto.build.flags.optimize=-O2 -flto
GenF030.menu.opt.o3std=Fastest (-O3)
GenF030.menu.opt.o3std.build.flags.optimize=-O3
GenF030.menu.opt.o3lto=Fastest (-O3) with LTO
GenF030.menu.opt.o3lto.build.flags.optimize=-O3 -flto
GenF030.menu.opt.ogstd=Debug (-Og)
GenF030.menu.opt.ogstd.build.flags.optimize=-Og
GenF030.menu.opt.o0std=No Optimization (-O0)
GenF030.menu.opt.o0std.build.flags.optimize=-O0
GenF030.menu.SupplyVoltage.3V3=3.3V
GenF030.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_3V3
GenF030.menu.SupplyVoltage.1V8=1.8V
GenF030.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_1V8
GenF030.menu.SupplyVoltage.2V5=2.5V
GenF030.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_2V5
GenF030.menu.SupplyVoltage.2V8=2.8V
GenF030.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_2V8
GenF030.menu.SupplyVoltage.3V8=3.8V
GenF030.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_3V8
GenF030.menu.SupplyVoltage.5V=5V
GenF030.menu.SupplyVoltage.5V.build.sv_tmp=-DVDD_5V
# boot
GenF030.menu.BootConnection.defaule=default isp circuit
GenF030.menu.BootConnection.defaule.upload.boot=default_reset
GenF030.menu.BootConnection.direct=direct connect
GenF030.menu.BootConnection.direct.upload.boot=direct_connect
GenF030.build.extra_flags={build.temp} -DF_CPU={build.f_cpu} {build.lsc_temp} {build.sv_tmp}
GenF030.menu.pnum.PY32F030x3=PY32F030x3
GenF030.menu.pnum.PY32F030x3.upload.maximum_size=16384
GenF030.menu.pnum.PY32F030x3.upload.maximum_data_size=2048
GenF030.menu.pnum.PY32F030x3.build.board=PY32F030x3
GenF030.menu.pnum.PY32F030x3.build.product_line=PY32F030x3
GenF030.menu.pnum.PY32F030x3.build.variant=PY32F030xx/PY32F030_Base
GenF030.menu.pnum.PY32F030x4=PY32F030x4
GenF030.menu.pnum.PY32F030x4.upload.maximum_size=16384
GenF030.menu.pnum.PY32F030x4.upload.maximum_data_size=2048
GenF030.menu.pnum.PY32F030x4.build.board=PY32F030x4
GenF030.menu.pnum.PY32F030x4.build.product_line=PY32F030x4
GenF030.menu.pnum.PY32F030x4.build.variant=PY32F030xx/PY32F030_Base
GenF030.menu.pnum.PY32F030x6=PY32F030x6
GenF030.menu.pnum.PY32F030x6.upload.maximum_size=32768
GenF030.menu.pnum.PY32F030x6.upload.maximum_data_size=4096
GenF030.menu.pnum.PY32F030x6.build.board=PY32F030x6
GenF030.menu.pnum.PY32F030x6.build.product_line=PY32F030x6
GenF030.menu.pnum.PY32F030x6.build.variant=PY32F030xx/PY32F030_Base
GenF030.menu.pnum.PY32F030x7=PY32F030x7
GenF030.menu.pnum.PY32F030x7.upload.maximum_size=49152
GenF030.menu.pnum.PY32F030x7.upload.maximum_data_size=6144
GenF030.menu.pnum.PY32F030x7.build.board=PY32F030x7
GenF030.menu.pnum.PY32F030x7.build.product_line=PY32F030x7
GenF030.menu.pnum.PY32F030x7.build.variant=PY32F030xx/PY32F030_Base
GenF030.menu.pnum.PY32F030x8=PY32F030x8
GenF030.menu.pnum.PY32F030x8.upload.maximum_size=65536
GenF030.menu.pnum.PY32F030x8.upload.maximum_data_size=8192
GenF030.menu.pnum.PY32F030x8.build.board=PY32F030x8
GenF030.menu.pnum.PY32F030x8.build.product_line=PY32F030x8
GenF030.menu.pnum.PY32F030x8.build.variant=PY32F030xx/PY32F030_Base
###############################
# Generic PY32F003 Series
###############################
GenF003.name=Generic PY32F003 Series
GenF003.upload.maximum_size=0
GenF003.upload.maximum_data_size=0
GenF003.upload.tool=AirISP
GenF003.upload.tool.default=AirISP
GenF003.build.core=arduino
GenF003.build.board=GenF003
GenF003.build.mcu=cortex-m0plus
GenF003.build.series=PY32F0xx
GenF003.build.cmsis_lib_gcc=arm_cortexM0l_math
GenF003.build.py_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial}
GenF003.build.drivers_include="-I{build.system.path}/Arduino-PY32F0xx-Drivers/{build.series}_HAL_Driver/Inc" "-I{build.system.path}/Arduino-PY32F0xx-Drivers/{build.series}_HAL_Driver/Src" "-I{build.system.path}/{build.series}" "-I{build.system.path}/Arduino-PY32F0xx-Drivers/CMSIS/Device/{build.series}/Include/" "-I{build.system.path}/Arduino-PY32F0xx-Drivers/CMSIS/Device/{build.series}/Source/gcc/"
GenF003.menu.UploadSpeed.115200=115200
GenF003.menu.UploadSpeed.115200.upload.speed=115200
GenF003.menu.UploadSpeed.57600=57600
GenF003.menu.UploadSpeed.57600.upload.speed=57600
GenF003.menu.UploadSpeed.38400=38400
GenF003.menu.UploadSpeed.38400.upload.speed=38400
GenF003.menu.UploadSpeed.19200=19200
GenF003.menu.UploadSpeed.19200.upload.speed=19200
GenF003.menu.UploadSpeed.9600=9600
GenF003.menu.UploadSpeed.9600.upload.speed=9600
GenF003.menu.UploadSpeed.4800=4800
GenF003.menu.UploadSpeed.4800.upload.speed=4800
GenF003.menu.UploadSpeed.2400=2400
GenF003.menu.UploadSpeed.2400.upload.speed=2400
GenF003.menu.UploadSpeed.1200=1200
GenF003.menu.UploadSpeed.1200.upload.speed=1200
# HSI/HSE选择和主频
GenF003.menu.ClockSourceAndFrequency.HSI4M_HCLK4M=HSI 4Mhz, HCLK 4Mhz
GenF003.menu.ClockSourceAndFrequency.HSI4M_HCLK4M.build.temp=-D{build.series}_HSI_4M_HCLK_4M
GenF003.menu.ClockSourceAndFrequency.HSI4M_HCLK4M.build.f_cpu=4000000L
GenF003.menu.ClockSourceAndFrequency.HSI8M_HCLK8M=HSI 8Mhz, HCLK 8Mhz
GenF003.menu.ClockSourceAndFrequency.HSI8M_HCLK8M.build.temp=-D{build.series}_HSI_8M_HCLK_8M
GenF003.menu.ClockSourceAndFrequency.HSI8M_HCLK8M.build.f_cpu=8000000L
GenF003.menu.ClockSourceAndFrequency.HSI16M_HCLK16M=HSI 16Mhz, HCLK 16Mhz
GenF003.menu.ClockSourceAndFrequency.HSI16M_HCLK16M.build.temp=-D{build.series}_HSI_16M_HCLK_16M
GenF003.menu.ClockSourceAndFrequency.HSI16M_HCLK16M.build.f_cpu=16000000L
GenF003.menu.ClockSourceAndFrequency.HSI22_12M_HCLK22_12M=HSI 22.12Mhz, HCLK 22.12Mhz
GenF003.menu.ClockSourceAndFrequency.HSI22_12M_HCLK22_12M.build.temp=-D{build.series}_HSI_22_12M_HCLK_22_12M
GenF003.menu.ClockSourceAndFrequency.HSI22_12M_HCLK22_12M.build.f_cpu=22120000L
GenF003.menu.ClockSourceAndFrequency.HSI24M_HCLK24M=HSI 24Mhz, HCLK 24Mhz
GenF003.menu.ClockSourceAndFrequency.HSI24M_HCLK24M.build.temp=-D{build.series}_HSI_24M_HCLK_24M
GenF003.menu.ClockSourceAndFrequency.HSI24M_HCLK24M.build.f_cpu=24000000L
GenF003.menu.ClockSourceAndFrequency.HSE8M_HCLK8M=HSE 8Mhz, HCLK 8Mhz
GenF003.menu.ClockSourceAndFrequency.HSE8M_HCLK8M.build.temp=-D{build.series}_HSE_8M_HCLK_8M
GenF003.menu.ClockSourceAndFrequency.HSE8M_HCLK8M.build.f_cpu=8000000L
GenF003.menu.ClockSourceAndFrequency.HSE16M_HCLK16M=HSE 16Mhz, HCLK 16Mhz
GenF003.menu.ClockSourceAndFrequency.HSE16M_HCLK16M.build.temp=-D{build.series}_HSE_16M_HCLK_16M
GenF003.menu.ClockSourceAndFrequency.HSE16M_HCLK16M.build.f_cpu=16000000L
GenF003.menu.ClockSourceAndFrequency.HSE24M_HCLK24M=HSE 24Mhz, HCLK 24Mhz
GenF003.menu.ClockSourceAndFrequency.HSE24M_HCLK24M.build.temp=-D{build.series}_HSE_24M_HCLK_24M
GenF003.menu.ClockSourceAndFrequency.HSE24M_HCLK24M.build.f_cpu=24000000L
GenF003.menu.ClockSourceAndFrequency.HSE32M_HCLK32M=HSE 32Mhz, HCLK 32Mhz
GenF003.menu.ClockSourceAndFrequency.HSE32M_HCLK32M.build.temp=-D{build.series}_HSE_32M_HCLK_32M
GenF003.menu.ClockSourceAndFrequency.HSE32M_HCLK32M.build.f_cpu=32000000L
GenF003.menu.LowSpeedClockSource.None=None
GenF003.menu.LowSpeedClockSource.None.build.lsc_temp=-D{build.series}_LSC_NONE
GenF003.menu.LowSpeedClockSource.LSI=LSI 32.768Khz
GenF003.menu.LowSpeedClockSource.LSI.build.lsc_temp=-D{build.series}_LSC_LSI
GenF003.menu.LowSpeedClockSource.LSE=LSE 32.768Khz
GenF003.menu.LowSpeedClockSource.LSE.build.lsc_temp=-D{build.series}_LSC_LSE
GenF003.menu.xserial.generic=Enabled (generic 'Serial')
GenF003.menu.xserial.none=Enabled (no generic 'Serial')
GenF003.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
GenF003.menu.xserial.disabled=Disabled (no Serial support)
GenF003.menu.xserial.disabled.build.xSerial=
# debug
GenF003.menu.dbg.none=None
GenF003.menu.dbg.enable_sym=Symbols Enabled (-g)
GenF003.menu.dbg.enable_sym.build.flags.debug=-g -DNDEBUG
GenF003.menu.dbg.enable_log=Core logs Enabled
GenF003.menu.dbg.enable_log.build.flags.debug=
GenF003.menu.dbg.enable_all=Core Logs and Symbols Enabled (-g)
GenF003.menu.dbg.enable_all.build.flags.debug=-g
# optimize
GenF003.menu.opt.osstd=Smallest (-Os default)
GenF003.menu.opt.oslto=Smallest (-Os) with LTO
GenF003.menu.opt.oslto.build.flags.optimize=-Os -flto
GenF003.menu.opt.o1std=Fast (-O1)
GenF003.menu.opt.o1std.build.flags.optimize=-O1
GenF003.menu.opt.o1lto=Fast (-O1) with LTO
GenF003.menu.opt.o1lto.build.flags.optimize=-O1 -flto
GenF003.menu.opt.o2std=Faster (-O2)
GenF003.menu.opt.o2std.build.flags.optimize=-O2
GenF003.menu.opt.o2lto=Faster (-O2) with LTO
GenF003.menu.opt.o2lto.build.flags.optimize=-O2 -flto
GenF003.menu.opt.o3std=Fastest (-O3)
GenF003.menu.opt.o3std.build.flags.optimize=-O3
GenF003.menu.opt.o3lto=Fastest (-O3) with LTO
GenF003.menu.opt.o3lto.build.flags.optimize=-O3 -flto
GenF003.menu.opt.ogstd=Debug (-Og)
GenF003.menu.opt.ogstd.build.flags.optimize=-Og
GenF003.menu.opt.o0std=No Optimization (-O0)
GenF003.menu.opt.o0std.build.flags.optimize=-O0
GenF003.menu.SupplyVoltage.3V3=3.3V
GenF003.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_3V3
GenF003.menu.SupplyVoltage.1V8=1.8V
GenF003.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_1V8
GenF003.menu.SupplyVoltage.2V5=2.5V
GenF003.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_2V5
GenF003.menu.SupplyVoltage.2V8=2.8V
GenF003.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_2V8
GenF003.menu.SupplyVoltage.3V8=3.8V
GenF003.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_3V8
GenF003.menu.SupplyVoltage.5V=5V
GenF003.menu.SupplyVoltage.5V.build.sv_tmp=-DVDD_5V
# boot
GenF003.menu.BootConnection.defaule=default isp circuit
GenF003.menu.BootConnection.defaule.upload.boot=default_reset
GenF003.menu.BootConnection.direct=direct connect
GenF003.menu.BootConnection.direct.upload.boot=direct_connect
GenF003.build.extra_flags={build.temp} -DF_CPU={build.f_cpu} {build.lsc_temp} {build.sv_tmp}
GenF003.menu.pnum.PY32F003x4=PY32F003x4
GenF003.menu.pnum.PY32F003x4.upload.maximum_size=16384
GenF003.menu.pnum.PY32F003x4.upload.maximum_data_size=2048
GenF003.menu.pnum.PY32F003x4.build.board=PY32F003x4
GenF003.menu.pnum.PY32F003x4.build.product_line=PY32F003x4
GenF003.menu.pnum.PY32F003x4.build.variant=PY32F003xx/PY32F003_Base
GenF003.menu.pnum.PY32F003x6=PY32F003x6
GenF003.menu.pnum.PY32F003x6.upload.maximum_size=32768
GenF003.menu.pnum.PY32F003x6.upload.maximum_data_size=4096
GenF003.menu.pnum.PY32F003x6.build.board=PY32F003x6
GenF003.menu.pnum.PY32F003x6.build.product_line=PY32F003x6
GenF003.menu.pnum.PY32F003x6.build.variant=PY32F003xx/PY32F003_Base
GenF003.menu.pnum.PY32F003x8=PY32F003x8
GenF003.menu.pnum.PY32F003x8.upload.maximum_size=65536
GenF003.menu.pnum.PY32F003x8.upload.maximum_data_size=8192
GenF003.menu.pnum.PY32F003x8.build.board=PY32F003x8
GenF003.menu.pnum.PY32F003x8.build.product_line=PY32F003x8
GenF003.menu.pnum.PY32F003x8.build.variant=PY32F003xx/PY32F003_Base
###############################
# Generic PY32F002A Series
###############################
GenF002A.name=Generic PY32F002A Series
GenF002A.upload.maximum_size=0
GenF002A.upload.maximum_data_size=0
GenF002A.upload.tool=AirISP
GenF002A.upload.tool.default=AirISP
GenF002A.build.core=arduino
GenF002A.build.board=GenF002A
GenF002A.build.mcu=cortex-m0plus
GenF002A.build.series=PY32F0xx
GenF002A.build.cmsis_lib_gcc=arm_cortexM0l_math
GenF002A.build.py_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial}
GenF002A.build.drivers_include="-I{build.system.path}/Arduino-PY32F0xx-Drivers/{build.series}_HAL_Driver/Inc" "-I{build.system.path}/Arduino-PY32F0xx-Drivers/{build.series}_HAL_Driver/Src" "-I{build.system.path}/{build.series}" "-I{build.system.path}/Arduino-PY32F0xx-Drivers/CMSIS/Device/{build.series}/Include/" "-I{build.system.path}/Arduino-PY32F0xx-Drivers/CMSIS/Device/{build.series}/Source/gcc/"
GenF002A.menu.UploadSpeed.115200=115200
GenF002A.menu.UploadSpeed.115200.upload.speed=115200
GenF002A.menu.UploadSpeed.57600=57600
GenF002A.menu.UploadSpeed.57600.upload.speed=57600
GenF002A.menu.UploadSpeed.38400=38400
GenF002A.menu.UploadSpeed.38400.upload.speed=38400
GenF002A.menu.UploadSpeed.19200=19200
GenF002A.menu.UploadSpeed.19200.upload.speed=19200
GenF002A.menu.UploadSpeed.9600=9600
GenF002A.menu.UploadSpeed.9600.upload.speed=9600
GenF002A.menu.UploadSpeed.4800=4800
GenF002A.menu.UploadSpeed.4800.upload.speed=4800
GenF002A.menu.UploadSpeed.2400=2400
GenF002A.menu.UploadSpeed.2400.upload.speed=2400
GenF002A.menu.UploadSpeed.1200=1200
GenF002A.menu.UploadSpeed.1200.upload.speed=1200
# HSI/HSE选择和主频
GenF002A.menu.ClockSourceAndFrequency.HSI8M_HCLK8M=HSI 8Mhz, HCLK 8Mhz
GenF002A.menu.ClockSourceAndFrequency.HSI8M_HCLK8M.build.temp=-D{build.series}_HSI_8M_HCLK_8M
GenF002A.menu.ClockSourceAndFrequency.HSI8M_HCLK8M.build.f_cpu=8000000L
GenF002A.menu.ClockSourceAndFrequency.HSI24M_HCLK24M=HSI 24Mhz, HCLK 24Mhz
GenF002A.menu.ClockSourceAndFrequency.HSI24M_HCLK24M.build.temp=-D{build.series}_HSI_24M_HCLK_24M
GenF002A.menu.ClockSourceAndFrequency.HSI24M_HCLK24M.build.f_cpu=24000000L
GenF002A.menu.ClockSourceAndFrequency.HSE8M_HCLK8M=HSE 8Mhz, HCLK 8Mhz
GenF002A.menu.ClockSourceAndFrequency.HSE8M_HCLK8M.build.temp=-D{build.series}_HSE_8M_HCLK_8M
GenF002A.menu.ClockSourceAndFrequency.HSE8M_HCLK8M.build.f_cpu=8000000L
GenF002A.menu.ClockSourceAndFrequency.HSE16M_HCLK16M=HSE 16Mhz, HCLK 16Mhz
GenF002A.menu.ClockSourceAndFrequency.HSE16M_HCLK16M.build.temp=-D{build.series}_HSE_16M_HCLK_16M
GenF002A.menu.ClockSourceAndFrequency.HSE16M_HCLK16M.build.f_cpu=16000000L
GenF002A.menu.ClockSourceAndFrequency.HSE24M_HCLK24M=HSE 24Mhz, HCLK 24Mhz
GenF002A.menu.ClockSourceAndFrequency.HSE24M_HCLK24M.build.temp=-D{build.series}_HSE_24M_HCLK_24M
GenF002A.menu.ClockSourceAndFrequency.HSE24M_HCLK24M.build.f_cpu=24000000L
GenF002A.menu.LowSpeedClockSource.None=None
GenF002A.menu.LowSpeedClockSource.None.build.lsc_temp=-D{build.series}_LSC_NONE
GenF002A.menu.LowSpeedClockSource.LSI=LSI 32.768Khz
GenF002A.menu.LowSpeedClockSource.LSI.build.lsc_temp=-D{build.series}_LSC_LSI
GenF002A.menu.LowSpeedClockSource.LSE=LSE 32.768Khz
GenF002A.menu.LowSpeedClockSource.LSE.build.lsc_temp=-D{build.series}_LSC_LSE
GenF002A.menu.xserial.generic=Enabled (generic 'Serial')
GenF002A.menu.xserial.none=Enabled (no generic 'Serial')
GenF002A.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
GenF002A.menu.xserial.disabled=Disabled (no Serial support)
GenF002A.menu.xserial.disabled.build.xSerial=
# debug
GenF002A.menu.dbg.none=None
GenF002A.menu.dbg.enable_sym=Symbols Enabled (-g)
GenF002A.menu.dbg.enable_sym.build.flags.debug=-g -DNDEBUG
GenF002A.menu.dbg.enable_log=Core logs Enabled
GenF002A.menu.dbg.enable_log.build.flags.debug=
GenF002A.menu.dbg.enable_all=Core Logs and Symbols Enabled (-g)
GenF002A.menu.dbg.enable_all.build.flags.debug=-g
# optimize
GenF002A.menu.opt.osstd=Smallest (-Os default)
GenF002A.menu.opt.oslto=Smallest (-Os) with LTO
GenF002A.menu.opt.oslto.build.flags.optimize=-Os -flto
GenF002A.menu.opt.o1std=Fast (-O1)
GenF002A.menu.opt.o1std.build.flags.optimize=-O1
GenF002A.menu.opt.o1lto=Fast (-O1) with LTO
GenF002A.menu.opt.o1lto.build.flags.optimize=-O1 -flto
GenF002A.menu.opt.o2std=Faster (-O2)
GenF002A.menu.opt.o2std.build.flags.optimize=-O2
GenF002A.menu.opt.o2lto=Faster (-O2) with LTO
GenF002A.menu.opt.o2lto.build.flags.optimize=-O2 -flto
GenF002A.menu.opt.o3std=Fastest (-O3)
GenF002A.menu.opt.o3std.build.flags.optimize=-O3
GenF002A.menu.opt.o3lto=Fastest (-O3) with LTO
GenF002A.menu.opt.o3lto.build.flags.optimize=-O3 -flto
GenF002A.menu.opt.ogstd=Debug (-Og)
GenF002A.menu.opt.ogstd.build.flags.optimize=-Og
GenF002A.menu.opt.o0std=No Optimization (-O0)
GenF002A.menu.opt.o0std.build.flags.optimize=-O0
GenF002A.menu.SupplyVoltage.3V3=3.3V
GenF002A.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_3V3
GenF002A.menu.SupplyVoltage.1V8=1.8V
GenF002A.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_1V8
GenF002A.menu.SupplyVoltage.2V5=2.5V
GenF002A.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_2V5
GenF002A.menu.SupplyVoltage.2V8=2.8V
GenF002A.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_2V8
GenF002A.menu.SupplyVoltage.3V8=3.8V
GenF002A.menu.SupplyVoltage.3V3.build.sv_tmp=-DVDD_3V8
GenF002A.menu.SupplyVoltage.5V=5V
GenF002A.menu.SupplyVoltage.5V.build.sv_tmp=-DVDD_5V
# boot
GenF002A.menu.BootConnection.defaule=default isp circuit
GenF002A.menu.BootConnection.defaule.upload.boot=default_reset
GenF002A.menu.BootConnection.direct=direct connect
GenF002A.menu.BootConnection.direct.upload.boot=direct_connect
GenF002A.build.extra_flags={build.temp} -DF_CPU={build.f_cpu} {build.lsc_temp} {build.sv_tmp}
GenF002A.menu.pnum.PY32F002Ax5=PY32F002Ax5
GenF002A.menu.pnum.PY32F002Ax5.upload.maximum_size=20480
GenF002A.menu.pnum.PY32F002Ax5.upload.maximum_data_size=3072
GenF002A.menu.pnum.PY32F002Ax5.build.board=PY32F002Ax5
GenF002A.menu.pnum.PY32F002Ax5.build.product_line=PY32F002Ax5
GenF002A.menu.pnum.PY32F002Ax5.build.variant=PY32F002Axx/PY32F002A_Base