-
Notifications
You must be signed in to change notification settings - Fork 233
Expand file tree
/
Copy pathKconfig
More file actions
330 lines (280 loc) · 7.96 KB
/
Copy pathKconfig
File metadata and controls
330 lines (280 loc) · 7.96 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
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
config ZEPHYR_CMSIS_DSP_MODULE
bool
menuconfig CMSIS_DSP
bool "CMSIS-DSP Library Support"
help
This option enables the CMSIS-DSP library.
if CMSIS_DSP
comment "Components"
config CMSIS_DSP_BASICMATH
bool "Basic Math Functions"
help
This option enables the Basic Math Functions, which support the
following operations:
* Elementwise Clipping
* Vector Absolute Value
* Vector Addition
* Vector Subtraction
* Vector Multiplication
* Vector Dot Product
* Vector Absolute Value
* Vector Negate
* Vector Offset
* Vector Scale
* Vector Shift
* Vector Bitwise AND
* Vector Bitwise OR
* Vector Bitwise Exclusive OR
* Vector Bitwise NOT
config CMSIS_DSP_COMPLEXMATH
bool "Complex Math Functions"
imply CMSIS_DSP_FASTMATH
help
This option enables the Complex Math Functions, which support the
following operations:
* Complex-by-Complex Multiplication
* Complex-by-Real Multiplication
* Complex Dot Product
* Complex Magnitude
* Complex Magnitude Squared
* Complex Conjugate
config CMSIS_DSP_CONTROLLER
bool "Controller Functions"
help
This option enables the Controller Functions, which support the
following operations:
* PID Control
* Vector Clarke Transform
* Vector Inverse Clarke Transform
* Vector Park Transform
* Vector Inverse Park Transform
* Sine-Cosine
These functions can be used to implement a generic PID controller, as
well as field oriented motor control using Space Vector Modulation
algorithm.
config CMSIS_DSP_FASTMATH
bool "Fast Math Functions"
imply CMSIS_DSP_BASICMATH
help
This option enables the Fast Math Functions, which support the
following operations:
* Fixed-Point Division
* Sine
* Cosine
* Square Root
config CMSIS_DSP_FILTERING
bool "Filtering Functions"
imply CMSIS_DSP_BASICMATH
imply CMSIS_DSP_FASTMATH
imply CMSIS_DSP_SUPPORT
help
This option enables the Filtering Functions, which support the
following operations:
* Convolution
* Partial Convolution
* Correlation
* Levinson-Durbin Algorithm
The following filter types are supported:
* FIR (finite impulse response) Filter
* FIR Lattice Filter
* FIR Sparse Filter
* FIR Filter with Decimator
* FIR Filter with Interpolator
* IIR (infinite impulse response) Lattice Filter
* Biquad Cascade IIR Filter, Direct Form I Structure
* Biquad Cascade IIR Filter, Direct Form II Transposed Structure
* High Precision Q31 Biquad Cascade Filter
* LMS (least mean square) Filter
* Normalized LMS Filter
config CMSIS_DSP_INTERPOLATION
bool "Interpolation Functions"
help
This option enables the Interpolation Functions, which support the
following operations:
* Bilinear Interpolation
* Linear Interpolation
* Cubic Spline Interpolation
config CMSIS_DSP_MATRIX
bool "Matrix Functions"
help
This option enables the Matrix Functions, which support the following
operations:
* Matrix Initialization
* Matrix Addition
* Matrix Subtraction
* Matrix Multiplication
* Complex Matrix Multiplication
* Matrix Vector Multiplication
* Matrix Inverse
* Matrix Scale
* Matrix Transpose
* Complex Matrix Transpose
* Cholesky and LDLT Decompositions
config CMSIS_DSP_QUATERNIONMATH
bool "Quaternion Math Functions"
help
This option enables the Quaternion Math Functions, which support the
following operations:
* Quaternion Conversions
* Quaternion Conjugate
* Quaternion Inverse
* Quaternion Norm
* Quaternion Normalization
* Quaternion Product
config CMSIS_DSP_STATISTICS
bool "Statistics Functions"
imply CMSIS_DSP_BASICMATH
imply CMSIS_DSP_FASTMATH
help
This option enables the Statistics Functions, which support the
following operations:
* Minimum
* Absolute Minimum
* Maximum
* Absolute Maximum
* Mean
* Root Mean Square (RMS)
* Variance
* Standard Deviation
* Power
* Entropy
* Kullback-Leibler Divergence
* LogSumExp (LSE)
config CMSIS_DSP_SUPPORT
bool "Support Functions"
help
This option enables the Support Functions, which support the
following operations:
* Vector 8-bit Integer Value Conversion
* Vector 16-bit Integer Value Conversion
* Vector 32-bit Integer Value Conversion
* Vector 16-bit Floating-Point Value Conversion
* Vector 32-bit Floating-Point Value Conversion
* Vector Copy
* Vector Fill
* Vector Sorting
* Weighted Sum
* Barycenter
config CMSIS_DSP_TRANSFORM
bool "Transform Functions"
imply CMSIS_DSP_BASICMATH
help
This option enables the Transform Functions, which support the
following transformations:
* Real Fast Fourier Transform (RFFT)
* Complex Fast Fourier Transform (CFFT)
* Type IV Discrete Cosine Transform (DCT4)
config CMSIS_DSP_SVM
bool "Support Vector Machine Functions"
help
This option enables the Support Vector Machine Functions, which
support the following algorithms:
* Linear
* Polynomial
* Sigmoid
* Radial Basis Function (RBF)
config CMSIS_DSP_BAYES
bool "Bayesian Estimators"
imply CMSIS_DSP_STATISTICS
help
This option enables the Bayesian Estimator Functions, which
implements the naive gaussian Bayes estimator.
config CMSIS_DSP_DISTANCE
bool "Distance Functions"
imply CMSIS_DSP_STATISTICS
help
This option enables the Distance Functions, which support the
following distance computation algorithms:
* Boolean Vectors
* Hamming
* Jaccard
* Kulsinski
* Rogers-Tanimoto
* Russell-Rao
* Sokal-Michener
* Sokal-Sneath
* Yule
* Dice
* Floating-Point Vectors
* Canberra
* Chebyshev
* Cityblock
* Correlation
* Cosine
* Euclidean
* Jensen-Shannon
* Minkowski
* Bray-Curtis
config CMSIS_DSP_WINDOW
bool "Windowing Functions"
help
This option enabled the Window Functions, which support the
following windowing functions:
* Bartlett
* Hamming
* Hanning
* Nuttall
* Blackman Harris
* HFT
comment "Instruction Set"
config CMSIS_DSP_NEON
bool "Neon Instruction Set"
default y
depends on CPU_CORTEX_A
help
This option enables the NEON Advanced SIMD instruction set, which is
available on most Cortex-A and some Cortex-R processors.
config CMSIS_DSP_NEON_EXPERIMENTAL
bool "Neon Instruction Set"
depends on CPU_CORTEX_A
help
This option enables the NEON Advanced SIMD instruction set, which is
available on most Cortex-A and some Cortex-R processors.
comment "Features"
config CMSIS_DSP_LOOPUNROLL
bool "Loop Unrolling"
default y
help
This option enables manual loop unrolling in the DSP functions.
config CMSIS_DSP_ROUNDING
bool "Rounding"
help
This option enables rounding on the support functions.
config CMSIS_DSP_CUSTOM_CONFIG
bool "Custom configuration header"
help
This option enables the inclusion of the header
arm_dsp_config.h. This header can be used to
define ARM_DSP_ATTRIBUTE and ARM_DSP_TABLE_ATTRIBUTE.
ARM_DSP_ATTRIBUTE can be used to define all functions as
weak or put them in specific memory sections.
ARM_DSP_TABLE_ATTRIBUTE can be used to put CMSIS DSP tables
in specific memory sections.
config CMSIS_DSP_MATRIXCHECK
bool "Matrix Check"
help
This option enables validation of the input and output sizes of
matrices.
config CMSIS_DSP_AUTOVECTORIZE
bool "Auto Vectorize"
help
This option prefers autovectorizable code to one using C intrinsics
in the DSP functions.
config CMSIS_DSP_FLOAT16
bool "Half-Precision (16-bit Float) Support"
default y
depends on FP16
help
This option enables the half-precision (16-bit) floating-point
operations support.
config CMSIS_DSP_NE10_DSP_RIFFT_SCALING
bool "Scaling of RIFFT with Neon"
default y
depends on (CMSIS_DSP_NEON || CMSIS_DSP_NEON_EXPERIMENTAL)
config CMSIS_DSP_LAX_VECTOR_CONVERSIONS
bool "Lax Vector Conversions"
default y
depends on (ARMV8_1_M_MVEI || ARMV8_1_M_MVEF || CMSIS_DSP_NEON || CMSIS_DSP_NEON_EXPERIMENTAL)
help
This option enables lax vector conversions
endif #CMSIS_DSP