-
Notifications
You must be signed in to change notification settings - Fork 7
/
boards.txt
81 lines (57 loc) · 2.4 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
menu.clksrc=CPU Clock Frequency
menu.burn_baudrate=Burn Baud Rate
menu.toolsloc=Tool Install Location
##################################################
############# Sipeed Longan Nano Board ###############
nano.name=Sipeed Longan Nano Board
## Toolchain
nano.menu.toolsloc.default=Default
nano.menu.toolsloc.default.compiler.path={runtime.tools.riscv64-unknown-elf-gcc.path}/bin/
## CPU Clock
nano.menu.clksrc.108=108MHz CPU Clock Frequency
nano.menu.clksrc.108.build.f_cpu=108000000L
## 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=25000000UL
## 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 half is used for something else.
nano.upload.maximum_size=65536
nano.build.ldscript={runtime.platform.path}/cores/arduino/GD32VF103_Firmware_Library/RISCV/env_Eclipse/GD32VF103x8.lds
##################################################
############# GD32VF103 EVAL Board ###############
eval.name=GD32VF103 EVAL Board
## Toolchain
eval.menu.toolsloc.default=Default
eval.menu.toolsloc.default.compiler.path={runtime.tools.riscv64-unknown-elf-gcc.path}/bin/
## CPU Clock
eval.menu.clksrc.108=108MHz CPU Clock Frequency
eval.menu.clksrc.108.build.f_cpu=108000000L
## 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