2018-05-30 20:36:06 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2021-03-02 03:34:15 +08:00
|
|
|
menuconfig LIBDSP
|
2018-05-30 20:36:06 +08:00
|
|
|
bool "Digital Signal Processing Library"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable build for various DSP functions
|
2018-07-08 01:04:57 +08:00
|
|
|
|
2018-12-02 19:49:25 +08:00
|
|
|
if LIBDSP
|
|
|
|
|
2018-07-08 01:04:57 +08:00
|
|
|
config LIBDSP_DEBUG
|
|
|
|
bool "Libdsp debugging"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable debugging for libdsp. This option enables additional parameters
|
|
|
|
checking. It can drastically reduce performance and be potentially
|
|
|
|
dangerous to hardware, so it should be used carefully (probably only
|
|
|
|
at an early stage of application development).
|
|
|
|
|
|
|
|
config LIBDSP_PRECISION
|
|
|
|
int "Libdsp precision [0/1/2]"
|
|
|
|
default 0
|
|
|
|
---help---
|
2020-02-23 02:31:14 +08:00
|
|
|
With this option we can select libdsp precision for
|
2018-07-08 01:04:57 +08:00
|
|
|
some of calculations. There are 3 available options:
|
2021-03-31 00:30:30 +08:00
|
|
|
0 - the fastest calculation but the lowest precision,
|
|
|
|
1 - increased precision than for option 0 at the expense
|
|
|
|
of a longer execution time,
|
2018-07-08 01:04:57 +08:00
|
|
|
2 - the most accuracte but the slowest one, use standard math functions.
|
2018-12-02 19:49:25 +08:00
|
|
|
|
2021-03-02 03:34:15 +08:00
|
|
|
config LIBDSP_FOC_VABC
|
|
|
|
bool "Libdsp FOC includes voltage abc frame"
|
|
|
|
|
2018-12-02 19:49:25 +08:00
|
|
|
endif # LIBDSP
|