-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathboards.txt
More file actions
105 lines (91 loc) · 4.17 KB
/
Copy pathboards.txt
File metadata and controls
105 lines (91 loc) · 4.17 KB
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
# See: https://arduino.github.io/arduino-cli/latest/platform-specification/
menu.pnum=Board part number
menu.usb=USB support (if available)
menu.opt=Optimize
menu.rtlib=C Runtime Library
menu.upload_method=Upload method
##################################################
# GD32F30x
gd_gd32f30x.name=GD32F303R series
gd_gd32f30x.build.core=Arduino
gd_gd32f30x.build.board=gd32f30x
gd_gd32f30x.build.mcu=cortex-m4
gd_gd32f30x.build.series=GD32F30x
gd_gd32f30x.build.vid=0xdead
gd_gd32f30x.build.pid=0xbeef
gd_gd32f30x.build.usb_product="USB Test"
gd_gd32f30x.build.usb_manufacturer="Arduino"
# create a new entry for each board here
# Creality V4.x.x GD32F303RE
gd_gd32f30x.menu.pnum.MFL_CREALITY_V4=Creality GD32F303RE
gd_gd32f30x.menu.pnum.MFL_CREALITY_V4.upload.maximum_size=524288
gd_gd32f30x.menu.pnum.MFL_CREALITY_V4.upload.maximum_data_size=65536
gd_gd32f30x.menu.pnum.MFL_CREALITY_V4.build.board=mfl_creality_v4
gd_gd32f30x.menu.pnum.MFL_CREALITY_V4.build.series=GD32F30x
gd_gd32f30x.menu.pnum.MFL_CREALITY_V4.build.product_line=GD32F30X_HD
gd_gd32f30x.menu.pnum.MFL_CREALITY_V4.build.variant=MFL_CREALITY_V4
gd_gd32f30x.menu.pnum.MFL_CREALITY_V4.upload.openocd_script=target/gd32f3x.cfg
# Aquila GD32F303RC
gd_gd32f30x.menu.pnum.MFL_AQUILA=Aquila GD32F303RC
gd_gd32f30x.menu.pnum.MFL_AQUILA.upload.maximum_size=262144
gd_gd32f30x.menu.pnum.MFL_AQUILA.upload.maximum_data_size=49152
gd_gd32f30x.menu.pnum.MFL_AQUILA.build.board=mfl_aquila
gd_gd32f30x.menu.pnum.MFL_AQUILA.build.series=GD32F30x
gd_gd32f30x.menu.pnum.MFL_AQUILA.build.product_line=GD32F30X_HD
gd_gd32f30x.menu.pnum.MFL_AQUILA.build.variant=MFL_AQUILA
gd_gd32f30x.menu.pnum.MFL_AQUILA.upload.openocd_script=target/gd32f3x.cfg
# Optimizations
gd_gd32f30x.menu.opt.osstd=Smallest (-Os default)
gd_gd32f30x.menu.opt.o1std=Fast (-O1)
gd_gd32f30x.menu.opt.o1std.build.flags.optimize=-O1
gd_gd32f30x.menu.opt.o1std.build.flags.ldspecs=
gd_gd32f30x.menu.opt.o2std=Faster (-O2)
gd_gd32f30x.menu.opt.o2std.build.flags.optimize=-O2
gd_gd32f30x.menu.opt.o2std.build.flags.ldspecs=
gd_gd32f30x.menu.opt.o3std=Fastest (-O3)
gd_gd32f30x.menu.opt.o3std.build.flags.optimize=-O3
gd_gd32f30x.menu.opt.o3std.build.flags.ldspecs=
gd_gd32f30x.menu.opt.ogstd=Debug (-Og)
gd_gd32f30x.menu.opt.ogstd.build.flags.optimize=-Og
gd_gd32f30x.menu.opt.ogstd.build.flags.ldspecs=
gd_gd32f30x.menu.opt.ogstd=No Optimization (-O0)
gd_gd32f30x.menu.opt.ogstd.build.flags.optimize=-O0
gd_gd32f30x.menu.opt.ogstd.build.flags.ldspecs=
##################################################
# Creality GD32F10x
gd_gd32f10x.name=GD32F103R series
gd_gd32f10x.build.core=Arduino
gd_gd32f10x.build.board=gd32f10x
gd_gd32f10x.build.mcu=cortex-m3
gd_gd32f10x.build.series=GD32F10x
gd_gd32f10x.build.vid=0xdead
gd_gd32f10x.build.pid=0xbeef
gd_gd32f10x.build.usb_product="USB Test"
gd_gd32f10x.build.usb_manufacturer="Arduino"
# create a new entry for each board here
# Creality V4 Cortex-M3 GD32F103RE
gd_gd32f10x.menu.pnum.MFL_CREALITY_V4_M3=Creality GD32F103RE
gd_gd32f10x.menu.pnum.MFL_CREALITY_V4_M3.upload.maximum_size=524288
gd_gd32f10x.menu.pnum.MFL_CREALITY_V4_M3.upload.maximum_data_size=65536
gd_gd32f10x.menu.pnum.MFL_CREALITY_V4_M3.build.board=mfl_creality_v4_m3
gd_gd32f10x.menu.pnum.MFL_CREALITY_V4_M3.build.series=GD32F10x
gd_gd32f10x.menu.pnum.MFL_CREALITY_V4_M3.build.product_line=GD32F10X_HD
gd_gd32f10x.menu.pnum.MFL_CREALITY_V4_M3.build.variant=MFL_CREALITY_V4_M3
gd_gd32f10x.menu.pnum.MFL_CREALITY_V4_M3.upload.openocd_script=target/gd32f1x.cfg
# Optimizations
gd_gd32f10x.menu.opt.osstd=Smallest (-Os default)
gd_gd32f10x.menu.opt.o1std=Fast (-O1)
gd_gd32f10x.menu.opt.o1std.build.flags.optimize=-O1
gd_gd32f10x.menu.opt.o1std.build.flags.ldspecs=
gd_gd32f10x.menu.opt.o2std=Faster (-O2)
gd_gd32f10x.menu.opt.o2std.build.flags.optimize=-O2
gd_gd32f10x.menu.opt.o2std.build.flags.ldspecs=
gd_gd32f10x.menu.opt.o3std=Fastest (-O3)
gd_gd32f10x.menu.opt.o3std.build.flags.optimize=-O3
gd_gd32f10x.menu.opt.o3std.build.flags.ldspecs=
gd_gd32f10x.menu.opt.ogstd=Debug (-Og)
gd_gd32f10x.menu.opt.ogstd.build.flags.optimize=-Og
gd_gd32f10x.menu.opt.ogstd.build.flags.ldspecs=
gd_gd32f10x.menu.opt.ogstd=No Optimization (-O0)
gd_gd32f10x.menu.opt.ogstd.build.flags.optimize=-O0
gd_gd32f10x.menu.opt.ogstd.build.flags.ldspecs=