CMSIS-DSP: Update to the README

Additional info about the compilation defines for FFT tables and the
Python configuration script.
pull/19/head
Christophe Favergeon 4 years ago
parent 2a2f745bd3
commit 8970ae1e81

@ -119,18 +119,18 @@ Some new compilations symbols have been introduced to avoid including all the ta
If no new symbol is defined, everything will behave as usual. If ARM_DSP_CONFIG_TABLES is defined then the new symbols will be taken into account. If no new symbol is defined, everything will behave as usual. If ARM_DSP_CONFIG_TABLES is defined then the new symbols will be taken into account.
Then you can select all FFT tables or all interpolation tables by defining following compilation symbols: It is strongly suggested to use the new Python script cmsisdspconfig.py to generate the -D options to use on the compiler command line.
* ARM_ALL_FFT_TABLES : All FFT tables are included pip install streamlit
* ARM_ALL_FAST_TABLES : All interpolation tables are included streamlit run cmsisdspconfig.py
If more control is required, there are other symbols but it is not always easy to know which ones need to be enabled for a given use case. If you use cmake, it is also easy since high level options are defined and they will select the right compilation symbols.
If you use cmake, it is easy since high level options are defined and they will select the right compilation symbols. If you don't use cmake, you can just look at fft.cmake to see which compilation symbols are needed.
For instance, if you want to use the arm_rfft_fast_f32, in fft.cmake you'll see an option RFFT_FAST_F32_32. For instance, if you want to use the arm_rfft_fast_f32, in fft.cmake you'll see an option RFFT_FAST_F32_32.
We see that following symbols need to be enabled : If you don't use cmake nor the Python script, you can just look at fft.cmake or interpol.cmake in Source to see which compilation symbols are needed.
We see, for arm_rfft_fast_f32, that the following symbols need to be enabled :
* ARM_TABLE_TWIDDLECOEF_F32_16 * ARM_TABLE_TWIDDLECOEF_F32_16
* ARM_TABLE_BITREVIDX_FLT_16 * ARM_TABLE_BITREVIDX_FLT_16

Loading…
Cancel
Save