My colleagues from the Arm Digital Signal Processing (DSP) software team have introduced a Python wrapper for the CMSIS-DSP library that is compatible with NumPy. The CMSIS-DSP library is a rich collection of DSP functions that Arm has optimized for the various Arm Cortex-M processors. CMSIS-DSP is widely used in the industry, and also enables optimized C code generation from various third-party tools.
Please read their blog here: https://developer.arm.com/architectures/instruction-sets/dsp-extensions/dsp-for-cortex-m/how-to-use-the-python-wrapper-for-csmsis-dsp-with-biquads-as-an-example
Hi Christopher,
Thanks for your help. It worked for my colleague as she installed Microsoft Visual Studio 2019 (workload 'desktop development with C++').
However I keep getting this error message: '
transform.remove(os.path.join(ROOT,"Source","TransformFunctions","TransformFunctions.c"))
ValueError: list.remove(x): x not in list'
Should I also install Visual Studio ? Or is there another reason? Does it has to do with my OS?
I tried both
pip3 install -e /Users/liselynen/Documents/cmsdsp-tests/PythonWrapper
and
python setup.py build_ext –inplace
Both in the correct "PythonWrapper" folder and I keep getting this error message. Does the python code take into account different operating systems? Would it be possible to discuss this topic in private with one of the application engineers? I would really like to have this solved.
Hello Lise,
I was able to find a colleague with a Mac. He reported the following:
"I did a quick test and the installation succeeded. I am using Python 3.7.0 on macOS Catalina 10.15. Couple of notes about macOS-specific changes to the README:
Hope this helps.
Christopher
Thanks for the suggestion, however I already tried to install it like this but I keep getting the same error message.
To be clear I first still need to run this line "
> python setup.py build_ext --inplace" , right?And afterwards I create the virtual env and do the pip install... ?
Both unfortunately still provide me with the same error message. It seems that in line 22 of config.py something goes wrong. Probably it has to do with the os.path.join. I've really tried everything. Could you maybe show me exactly which steps your colleague took on Mac to get this installed? How does his path looks like?
I currently get another error. Is there some way to contact you in private as it's not so convenient to share all error messages on this public forum?
For support other than Windows, you need to install the develop branch, as this introduces support for other operating systems.
Kind regards,