Cargo Features
CMSIS-DSP has no features set by default.
[dependencies]
cmsis_dsp = { version = "0.1.0", features = ["cortex-m7", "double-precision-fpu", "dsp-instructions", "libm", "micromath"] }
- cortex-m7
-
Target a Cortex-M7 core
If this feature is not enabled, the Cortex-M4 library will be used.Enables cortex-m7 of cmsis_dsp_sys_pregenerated
- double-precision-fpu
-
Target a processor with a double-precision floating point unit (Cortex-M7 only)
If this feature is not enabled, the single-precision library will be used and double-precision floating point operations will be emulated in software.Enables double-precision-fpu of cmsis_dsp_sys_pregenerated
- dsp-instructions
-
Target a Cortex-M33 processor with DSP instructions If this feature is not enabled, the non-DSP library will be used.
Enables dsp-instructions of cmsis_dsp_sys_pregenerated
Features from optional dependencies
- libm implicit feature
-
Enables libm
libm:
libm in pure Rust
- micromath implicit feature
-
Enables micromath ^1.1.0