forked from sipeed/Longduino
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathboards.txt
424 lines (344 loc) · 16.1 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
menu.clksrc=CPU Clock Frequency
menu.burn_baudrate=Burn Baud Rate
menu.toolsloc=Tool Install Location
menu.PartitionScheme=Partition Scheme
menu.USBMode=USB Mode
menu.TFTFontMax=TFT Font Max
##################################################
############# Sipeed Longan Nano Board ###############
nano.name=Sipeed Longan Nano Board
## VID PID
nano.build.vid=28e9
nano.build.pid=0189
## Toolchain
nano.menu.toolsloc.default=Default
nano.menu.toolsloc.default.compiler.path={runtime.tools.riscv-nuclei-elf-gcc.path}/bin/
## CPU Clock
nano.menu.clksrc.108=108MHz CPU Clock Frequency
nano.menu.clksrc.96=96MHz CPU Clock Frequency
nano.menu.clksrc.108.build.f_cpu=108000000L
nano.menu.clksrc.96.build.f_cpu=96000000L
## Burn baud rate
nano.menu.burn_baudrate.115200=115200 bps
nano.menu.burn_baudrate.115200.build.burn_baudrate=115200
## HXTAL freq value
nano.build.hxtal_value=8000000UL
## Point to the file for ./variants/<variant>/pins_arduino.h
nano.build.variant=sipeed-longan-nano
## "The 'core' file directory for this board, in ./cores
nano.build.core=arduino
## This sets a define for use in the compiled code.
nano.build.board=BOARD_SIPEED_LONGAN_NANO
nano.build.sdata.size=512
## This selects the tool from "programmers.txt"
nano.program.tool=serial
nano.upload.tool=serial
## Limit is the 128KiB Flash. Assume it is partially used for something else.
nano.upload.maximum_size=81920
nano.build.ldscript={runtime.platform.path}/cores/arduino/GD32VF103_Firmware_Library/RISCV/env_Eclipse/GD32VF103xB.lds
nano.build.partitions=default
nano.build.usb_mode=DEVICE
nano.font.set=default
nano.menu.PartitionScheme.default=Default (64KB APP/64KB Other)
nano.menu.PartitionScheme.default.build.partitions=default
nano.menu.PartitionScheme.default.upload.maximum_size=65536
nano.menu.PartitionScheme.medium=Medium (80KB APP/48KB Other)
nano.menu.PartitionScheme.medium.build.partitions=medium
nano.menu.PartitionScheme.medium.upload.maximum_size=81920
nano.menu.PartitionScheme.high=High (96KB APP/32KB Other)
nano.menu.PartitionScheme.high.build.partitions=high
nano.menu.PartitionScheme.high.upload.maximum_size=98304
nano.menu.PartitionScheme.full=Full (128KB APP only)
nano.menu.PartitionScheme.full.build.partitions=full
nano.menu.PartitionScheme.full.upload.maximum_size=131072
nano.menu.USBMode.Device=Device
nano.menu.USBMode.Device.build.usb_mode=DEVICE
nano.menu.USBMode.Host=Host
nano.menu.USBMode.Host.build.usb_mode=HOST
nano.menu.USBMode.OTG=OTG
nano.menu.USBMode.OTG.build.usb_mode=OTG
nano.menu.TFTFontMax.default=Default (4)
nano.menu.TFTFontMax.default.font.set=default
nano.menu.TFTFontMax.default.tft_font_max=4
nano.menu.TFTFontMax.minimum=Minimum (GLCD font only)
nano.menu.TFTFontMax.minimum.font.set=minimum
nano.menu.TFTFontMax.minimum.tft_font_max=1
nano.menu.TFTFontMax.medium=Medium (6)
nano.menu.TFTFontMax.medium.font.set=medium
nano.menu.TFTFontMax.medium.tft_font_max=6
nano.menu.TFTFontMax.high=High (8)
nano.menu.TFTFontMax.high.font.set=high
nano.menu.TFTFontMax.high.tft_font_max=8
nano.menu.TFTFontMax.full=Full (8 + FreeFonts)
nano.menu.TFTFontMax.full.font.set=full
nano.menu.TFTFontMax.full.tft_font_max=9
###########################################################
############# Sipeed Longan Nano Lite Board ###############
nanolite.name=Sipeed Longan Nano Lite Board
## VID PID
nanolite.build.vid=28e9
nanolite.build.pid=0189
## Toolchain
nanolite.menu.toolsloc.default=Default
nanolite.menu.toolsloc.default.compiler.path={runtime.tools.riscv-nuclei-elf-gcc.path}/bin/
## CPU Clock
nanolite.menu.clksrc.108=108MHz CPU Clock Frequency
nanolite.menu.clksrc.96=96MHz CPU Clock Frequency
nanolite.menu.clksrc.108.build.f_cpu=108000000L
nanolite.menu.clksrc.96.build.f_cpu=96000000L
## Burn baud rate
nanolite.menu.burn_baudrate.115200=115200 bps
nanolite.menu.burn_baudrate.115200.build.burn_baudrate=115200
## HXTAL freq value
nanolite.build.hxtal_value=8000000UL
## Point to the file for ./variants/<variant>/pins_arduino.h
nanolite.build.variant=sipeed-longan-nano-lite
## "The 'core' file directory for this board, in ./cores
nanolite.build.core=arduino
## This sets a define for use in the compiled code.
nanolite.build.board=BOARD_SIPEED_LONGAN_NANO_LITE
nanolite.build.sdata.size=512
## This selects the tool from "programmers.txt"
nanolite.program.tool=serial
nanolite.upload.tool=serial
## Limit is the 64KiB Flash. Assume it is partially used for something else.
nanolite.upload.maximum_size=65536
nanolite.upload.maximum_data_size=20480
nanolite.build.ldscript={runtime.platform.path}/cores/arduino/GD32VF103_Firmware_Library/RISCV/env_Eclipse/GD32VF103x8.lds
nanolite.build.partitions=default
nanolite.build.usb_mode=DEVICE
nanolite.font.set=default
nanolite.menu.PartitionScheme.default=Default (64KB APP only)
nanolite.menu.PartitionScheme.default.build.partitions=full
nanolite.menu.PartitionScheme.default.upload.maximum_size=65536
nanolite.menu.PartitionScheme.low=Low (32KB APP/32KB Other)
nanolite.menu.PartitionScheme.low.build.partitions=default
nanolite.menu.PartitionScheme.low.upload.maximum_size=32768
nanolite.menu.PartitionScheme.medium=Medium (40KB APP/24KB Other)
nanolite.menu.PartitionScheme.medium.build.partitions=medium
nanolite.menu.PartitionScheme.medium.upload.maximum_size=40960
nanolite.menu.PartitionScheme.high=High (48KB APP/16KB Other)
nanolite.menu.PartitionScheme.high.build.partitions=high
nanolite.menu.PartitionScheme.high.upload.maximum_size=49152
nanolite.menu.USBMode.Device=Device
nanolite.menu.USBMode.Device.build.usb_mode=DEVICE
nanolite.menu.USBMode.Host=Host
nanolite.menu.USBMode.Host.build.usb_mode=HOST
nanolite.menu.USBMode.OTG=OTG
nanolite.menu.USBMode.OTG.build.usb_mode=OTG
nanolite.menu.TFTFontMax.default=Default (4)
nanolite.menu.TFTFontMax.default.font.set=default
nanolite.menu.TFTFontMax.default.tft_font_max=4
nanolite.menu.TFTFontMax.minimum=Minimum (GLCD font only)
nanolite.menu.TFTFontMax.minimum.font.set=minimum
nanolite.menu.TFTFontMax.minimum.tft_font_max=1
nanolite.menu.TFTFontMax.medium=Medium (6)
nanolite.menu.TFTFontMax.medium.font.set=medium
nanolite.menu.TFTFontMax.medium.tft_font_max=6
nanolite.menu.TFTFontMax.high=High (8)
nanolite.menu.TFTFontMax.high.font.set=high
nanolite.menu.TFTFontMax.high.tft_font_max=8
nanolite.menu.TFTFontMax.full=Full (8 + FreeFonts)
nanolite.menu.TFTFontMax.full.font.set=full
nanolite.menu.TFTFontMax.full.tft_font_max=9
##################################################
############# GD32VF103 EVAL Board ###############
eval.name=GD32VF103 EVAL Board
## Toolchain
eval.menu.toolsloc.default=Default
eval.menu.toolsloc.default.compiler.path={runtime.tools.riscv-nuclei-elf-gcc.path}/bin/
## CPU Clock
eval.menu.clksrc.108=108MHz CPU Clock Frequency
eval.menu.clksrc.96=96MHz CPU Clock Frequency
eval.menu.clksrc.108.build.f_cpu=108000000L
eval.menu.clksrc.96.build.f_cpu=96000000L
## Burn baud rate
eval.menu.burn_baudrate.115200=115200 bps
eval.menu.burn_baudrate.115200.build.burn_baudrate=115200
## HXTAL freq value
eval.build.hxtal_value=8000000UL
## Point to the file for ./variants/<variant>/pins_arduino.h
eval.build.variant=gd32vf103_eval
## "The 'core' file directory for this board, in ./cores
eval.build.core=arduino
## This sets a define for use in the compiled code.
eval.build.board=BOARD_GD32VF103_EVAL
eval.build.sdata.size=512
## This selects the tool from "programmers.txt"
eval.program.tool=gdlink
eval.upload.tool=gdlink
## Limit is the 128KiB Flash. Assume half is used for something else.
eval.upload.maximum_size=65536
eval.build.ldscript={runtime.platform.path}/cores/arduino/GD32VF103_Firmware_Library/RISCV/env_Eclipse/GD32VF103xB.lds
eval.build.partitions=default
eval.build.usb_mode=DEVICE
eval.font.set=default
eval.menu.PartitionScheme.default=Default (64KB APP/64KB Other)
eval.menu.PartitionScheme.default.build.partitions=default
eval.menu.PartitionScheme.default.upload.maximum_size=65536
eval.menu.PartitionScheme.medium=Medium (80KB APP/48KB Other)
eval.menu.PartitionScheme.medium.build.partitions=medium
eval.menu.PartitionScheme.medium.upload.maximum_size=81920
eval.menu.PartitionScheme.high=High (96KB APP/32KB Other)
eval.menu.PartitionScheme.high.build.partitions=high
eval.menu.PartitionScheme.high.upload.maximum_size=98304
eval.menu.PartitionScheme.full=Full (128KB APP only)
eval.menu.PartitionScheme.full.build.partitions=full
eval.menu.PartitionScheme.full.upload.maximum_size=131072
eval.menu.USBMode.Device=Device
eval.menu.USBMode.Device.build.usb_mode=DEVICE
eval.menu.USBMode.Host=Host
eval.menu.USBMode.Host.build.usb_mode=HOST
eval.menu.USBMode.OTG=OTG
eval.menu.USBMode.OTG.build.usb_mode=OTG
eval.menu.TFTFontMax.default=Default (4)
eval.menu.TFTFontMax.default.font.set=default
eval.menu.TFTFontMax.default.tft_font_max=4
eval.menu.TFTFontMax.minimum=Minimum (GLCD font only)
eval.menu.TFTFontMax.minimum.font.set=minimum
eval.menu.TFTFontMax.minimum.tft_font_max=1
eval.menu.TFTFontMax.medium=Medium (6)
eval.menu.TFTFontMax.medium.font.set=medium
eval.menu.TFTFontMax.medium.tft_font_max=6
eval.menu.TFTFontMax.high=High (8)
eval.menu.TFTFontMax.high.font.set=high
eval.menu.TFTFontMax.high.tft_font_max=8
eval.menu.TFTFontMax.full=Full (8 + FreeFonts)
eval.menu.TFTFontMax.full.font.set=full
eval.menu.TFTFontMax.full.tft_font_max=9
###################################################
############# Seeed Wio Lite Risc-V ###############
wio_lite-risc-v.name=Wio Lite Risc-V
## VID PID
wio_lite-risc-v.build.vid=28e9
wio_lite-risc-v.build.pid=0189
## Toolchain
wio_lite-risc-v.menu.toolsloc.default=Default
wio_lite-risc-v.menu.toolsloc.default.compiler.path={runtime.tools.riscv-nuclei-elf-gcc.path}/bin/
## CPU Clock
wio_lite-risc-v.menu.clksrc.108=108MHz CPU Clock Frequency
wio_lite-risc-v.menu.clksrc.96=96MHz CPU Clock Frequency
wio_lite-risc-v.menu.clksrc.108.build.f_cpu=108000000L
wio_lite-risc-v.menu.clksrc.96.build.f_cpu=96000000L
## Burn baud rate
wio_lite-risc-v.menu.burn_baudrate.115200=115200 bps
wio_lite-risc-v.menu.burn_baudrate.115200.build.burn_baudrate=115200
## HXTAL freq value
wio_lite-risc-v.build.hxtal_value=8000000UL
## Point to the file for ./variants/<variant>/pins_arduino.h
wio_lite-risc-v.build.variant=wio_lite_risc-v
## "The 'core' file directory for this board, in ./cores
wio_lite-risc-v.build.core=arduino
## This sets a define for use in the compiled code.
wio_lite-risc-v.build.board=BOARD_WIO_LITE_RISCV
wio_lite-risc-v.build.sdata.size=512
## This selects the tool from "programmers.txt"
wio_lite-risc-v.program.tool=serial
wio_lite-risc-v.upload.tool=serial
## Limit is the 128KiB Flash. Assume it is partially used for something else.
wio_lite-risc-v.upload.maximum_size=81920
wio_lite-risc-v.build.ldscript={runtime.platform.path}/cores/arduino/GD32VF103_Firmware_Library/RISCV/env_Eclipse/GD32VF103xB.lds
wio_lite-risc-v.build.partitions=default
wio_lite-risc-v.build.usb_mode=DEVICE
wio_lite-risc-v.font.set=default
wio_lite-risc-v.menu.PartitionScheme.default=Default (64KB APP/64KB Other)
wio_lite-risc-v.menu.PartitionScheme.default.build.partitions=default
wio_lite-risc-v.menu.PartitionScheme.default.upload.maximum_size=65536
wio_lite-risc-v.menu.PartitionScheme.medium=Medium (80KB APP/48KB Other)
wio_lite-risc-v.menu.PartitionScheme.medium.build.partitions=medium
wio_lite-risc-v.menu.PartitionScheme.medium.upload.maximum_size=81920
wio_lite-risc-v.menu.PartitionScheme.high=High (96KB APP/32KB Other)
wio_lite-risc-v.menu.PartitionScheme.high.build.partitions=high
wio_lite-risc-v.menu.PartitionScheme.high.upload.maximum_size=98304
wio_lite-risc-v.menu.PartitionScheme.full=Full (128KB APP only)
wio_lite-risc-v.menu.PartitionScheme.full.build.partitions=full
wio_lite-risc-v.menu.PartitionScheme.full.upload.maximum_size=131072
wio_lite-risc-v.menu.USBMode.Device=Device
wio_lite-risc-v.menu.USBMode.Device.build.usb_mode=DEVICE
wio_lite-risc-v.menu.USBMode.Host=Host
wio_lite-risc-v.menu.USBMode.Host.build.usb_mode=HOST
wio_lite-risc-v.menu.USBMode.OTG=OTG
wio_lite-risc-v.menu.USBMode.OTG.build.usb_mode=OTG
wio_lite-risc-v.menu.TFTFontMax.default=Default (4)
wio_lite-risc-v.menu.TFTFontMax.default.font.set=default
wio_lite-risc-v.menu.TFTFontMax.default.tft_font_max=4
wio_lite-risc-v.menu.TFTFontMax.minimum=Minimum (GLCD font only)
wio_lite-risc-v.menu.TFTFontMax.minimum.font.set=minimum
wio_lite-risc-v.menu.TFTFontMax.minimum.tft_font_max=1
wio_lite-risc-v.menu.TFTFontMax.medium=Medium (6)
wio_lite-risc-v.menu.TFTFontMax.medium.font.set=medium
wio_lite-risc-v.menu.TFTFontMax.medium.tft_font_max=6
wio_lite-risc-v.menu.TFTFontMax.high=High (8)
wio_lite-risc-v.menu.TFTFontMax.high.font.set=high
wio_lite-risc-v.menu.TFTFontMax.high.tft_font_max=8
wio_lite-risc-v.menu.TFTFontMax.full=Full (8 + FreeFonts)
wio_lite-risc-v.menu.TFTFontMax.full.font.set=full
wio_lite-risc-v.menu.TFTFontMax.full.tft_font_max=9
###################################################
############# Seeed GD32 RISC-V Dev Board ###############
gd32-risc-v-dev.name=GD32 RISC-V Dev Board
## VID PID
gd32-risc-v-dev.build.vid=28e9
gd32-risc-v-dev.build.pid=0189
## Toolchain
gd32-risc-v-dev.menu.toolsloc.default=Default
gd32-risc-v-dev.menu.toolsloc.default.compiler.path={runtime.tools.riscv-nuclei-elf-gcc.path}/bin/
## CPU Clock
gd32-risc-v-dev.menu.clksrc.108=108MHz CPU Clock Frequency
gd32-risc-v-dev.menu.clksrc.96=96MHz CPU Clock Frequency
gd32-risc-v-dev.menu.clksrc.108.build.f_cpu=108000000L
gd32-risc-v-dev.menu.clksrc.96.build.f_cpu=96000000L
## Burn baud rate
gd32-risc-v-dev.menu.burn_baudrate.115200=115200 bps
gd32-risc-v-dev.menu.burn_baudrate.115200.build.burn_baudrate=115200
## HXTAL freq value
gd32-risc-v-dev.build.hxtal_value=8000000UL
## Point to the file for ./variants/<variant>/pins_arduino.h
gd32-risc-v-dev.build.variant=gd32_risc-v_dev
## "The 'core' file directory for this board, in ./cores
gd32-risc-v-dev.build.core=arduino
## This sets a define for use in the compiled code.
gd32-risc-v-dev.build.board=BOARD_GD32_RISCV_DEV
gd32-risc-v-dev.build.sdata.size=512
## This selects the tool from "programmers.txt"
gd32-risc-v-dev.program.tool=serial
gd32-risc-v-dev.upload.tool=serial
## Limit is the 128KiB Flash. Assume it is partially used for something else.
gd32-risc-v-dev.upload.maximum_size=81920
gd32-risc-v-dev.build.ldscript={runtime.platform.path}/cores/arduino/GD32VF103_Firmware_Library/RISCV/env_Eclipse/GD32VF103xB.lds
gd32-risc-v-dev.build.partitions=default
gd32-risc-v-dev.build.usb_mode=DEVICE
gd32-risc-v-dev.font.set=default
gd32-risc-v-dev.menu.PartitionScheme.default=Default (64KB APP/64KB Other)
gd32-risc-v-dev.menu.PartitionScheme.default.build.partitions=default
gd32-risc-v-dev.menu.PartitionScheme.default.upload.maximum_size=65536
gd32-risc-v-dev.menu.PartitionScheme.medium=Medium (80KB APP/48KB Other)
gd32-risc-v-dev.menu.PartitionScheme.medium.build.partitions=medium
gd32-risc-v-dev.menu.PartitionScheme.medium.upload.maximum_size=81920
gd32-risc-v-dev.menu.PartitionScheme.high=High (96KB APP/32KB Other)
gd32-risc-v-dev.menu.PartitionScheme.high.build.partitions=high
gd32-risc-v-dev.menu.PartitionScheme.high.upload.maximum_size=98304
gd32-risc-v-dev.menu.PartitionScheme.full=Full (128KB APP only)
gd32-risc-v-dev.menu.PartitionScheme.full.build.partitions=full
gd32-risc-v-dev.menu.PartitionScheme.full.upload.maximum_size=131072
gd32-risc-v-dev.menu.USBMode.Device=Device
gd32-risc-v-dev.menu.USBMode.Device.build.usb_mode=DEVICE
gd32-risc-v-dev.menu.USBMode.Host=Host
gd32-risc-v-dev.menu.USBMode.Host.build.usb_mode=HOST
gd32-risc-v-dev.menu.USBMode.OTG=OTG
gd32-risc-v-dev.menu.USBMode.OTG.build.usb_mode=OTG
gd32-risc-v-dev.menu.TFTFontMax.default=Default (4)
gd32-risc-v-dev.menu.TFTFontMax.default.font.set=default
gd32-risc-v-dev.menu.TFTFontMax.default.tft_font_max=4
gd32-risc-v-dev.menu.TFTFontMax.minimum=Minimum (GLCD font only)
gd32-risc-v-dev.menu.TFTFontMax.minimum.font.set=minimum
gd32-risc-v-dev.menu.TFTFontMax.minimum.tft_font_max=1
gd32-risc-v-dev.menu.TFTFontMax.medium=Medium (6)
gd32-risc-v-dev.menu.TFTFontMax.medium.font.set=medium
gd32-risc-v-dev.menu.TFTFontMax.medium.tft_font_max=6
gd32-risc-v-dev.menu.TFTFontMax.high=High (8)
gd32-risc-v-dev.menu.TFTFontMax.high.font.set=high
gd32-risc-v-dev.menu.TFTFontMax.high.tft_font_max=8
gd32-risc-v-dev.menu.TFTFontMax.full=Full (8 + FreeFonts)
gd32-risc-v-dev.menu.TFTFontMax.full.font.set=full
gd32-risc-v-dev.menu.TFTFontMax.full.tft_font_max=9