ARM CMSIS-DSP¶
lbuild module: modm:cmsis:dsp
This module provides the CMSIS-DSP library. Please see the API documentation for details.
Note that this module splits up the library into submodule to speed up compilation by only including the math functions you really need. You can enable 16-bit floating point support separately via option.
Configuration¶
You can define your own configuration in the <arm_math_local.h>
file which
will automatically be included at the beginning of the arm_math_types.h
file
which is included by all CMSIS-DSP source files. This way changes to your
CMSIS-DSP configuration will only affect its source files and not recompile your
whole project.
Example <arm_math_local.h>
configuration:
// Check the input and output sizes of matrices
#define ARM_MATH_MATRIX_CHECK 1
// enable manual loop unrolling in DSP functions
#define ARM_MATH_LOOPUNROLL 1
Options¶
with_f16¶
Include f16 format functions
16-bit floating point is only used for storage, since the Cortex-M FPU does not support the format in hardware.
Default: no
Inputs: [yes, no]
Limited availability: Check with 'lbuild discover' if this module is available for your target!