-
-
Notifications
You must be signed in to change notification settings - Fork 774
/
meson_options.txt
143 lines (143 loc) · 2.65 KB
/
meson_options.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
option(
'probe',
type: 'combo',
choices: [
'',
'96b_carbon',
'blackpill-f401cc',
'blackpill-f401ce',
'blackpill-f411ce',
'bluepill',
'ctxlink',
'f072',
'f3',
'f4discovery',
'hydrabus',
'launchpad-icdi',
'native',
'stlink',
'stlinkv3',
'swlink'
],
value: '',
description: 'Hardware platform where the BMD firmware will run'
)
option(
'targets',
type: 'array',
choices: [
'cortexar',
'cortexm',
'riscv32',
'riscv64',
'apollo3',
'at32f4',
'ch32',
'ch579',
'efm',
'gd32',
'hc32',
'lpc',
'mm32',
'nrf',
'nxp',
'puya',
'renesas',
'rp',
'sam',
'stm',
'ti',
'xilinx'
],
description: 'Enabled debug targets'
)
option(
'print_memory_usage',
type: 'boolean',
value: true,
description: 'Print firmware static memory usage at the end of the build'
)
option(
'debug_output',
type: 'boolean',
value: false,
description: 'Enable debug output (for debugging the BMD stack, not debug targets)'
)
option(
'rtt_support',
type: 'boolean',
value: true,
description: 'Enable RTT (Real Time Transfer) support'
)
option(
'rtt_ident',
type: 'string',
description: 'RTT (Real Time Transfer) identifier string'
)
option(
'no_own_ll',
type: 'boolean',
value: false,
description: 'Use generic interface routines (for when low level routines are not available)'
)
option(
'bmd_bootloader',
type: 'boolean',
value: true,
description: 'Use the BMD bootloader (not always applicable)'
)
option(
'stlink_v2_isol',
type: 'boolean',
value: false,
description: 'Build for the ISOL variant of ST-Link v2'
)
option(
'stlink_swim_nrst_as_uart',
type: 'boolean',
value: false,
description: 'Repurpose the SWIM pins as the UART (only applicable to stlink)'
)
option(
'serialno',
type: 'string',
value: '1',
description: 'Serial number to report (only applicable to some probes)'
)
option(
'advertise_noackmode',
type: 'boolean',
value: false,
description: 'Let GDB know that the probe supports and prefers `QStartNoAckMode`'
)
option(
'alternative_pinout',
type: 'combo',
choices: ['0', '1', '2', '3'],
value: '0',
description: 'Alternative pinout for probe (only applicable to blackpill-f4*)'
)
option(
'trace_protocol',
type: 'combo',
choices: ['1','2', '3'],
value: '3',
description: 'Select the Trace SWO protocol, 1 == Manchester, 2 == UART, 3 == platform'
)
option(
'on_carrier_board',
type: 'boolean',
value: false,
description: 'Maps some LEDs to use those on carrier board (only applicable to blackpill-f4*)'
)
option(
'enable_gpiod',
type: 'feature',
value: 'auto'
)
option(
'enable_riscv_accel',
type: 'boolean',
value: false,
description: 'Enable firmware-side protocol acceleration of RISC-V Debug'
)