- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am looking for a guide line about how to enable the DSP lib to use the dsp API in PSoC6 CM4 project.
Is there a document here? Or can someone help to provide setup steps?
Regards,
Ray
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lingling,
Thanks! Because the link you sharing was an old topic in 2020, which is using MTB2.1, I am looking somethings newer.
And there is also somethings changed on https://github.com/ARM-software/CMSIS_5/
Actually, I find a way to use DSP lib now. Here is the step I try:
Step 1 (For the user does not install MDK IDE, if user already install MDK IDE, skip this step )
Clone the CMSIS git repository in a separate folder using the command
git clone https://github.com/ARM-software/CMSIS.git
I run it in the MTB2.4 terminal , and git clone to workspace folder, as below:
Step2 Modify makefile to add the path of DSP library, just like the post you sharing.
- DSP_DIR=../CMSIS/CMSIS/
- INCLUDES=$(DSP_DIR)/Include
- VFP_SELECT=hardfp
- LDLIBS=$(DSP_DIR)/Lib/GCC/libarm_cortexM4lf_math.a
(For the user installed MDK IDE, should use the path of MDK DSP lib)
Then, it should be OK to call the math function.
Regards,
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following linker is talking about the DSP lib, you can refer to it:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lingling,
Thanks! Because the link you sharing was an old topic in 2020, which is using MTB2.1, I am looking somethings newer.
And there is also somethings changed on https://github.com/ARM-software/CMSIS_5/
Actually, I find a way to use DSP lib now. Here is the step I try:
Step 1 (For the user does not install MDK IDE, if user already install MDK IDE, skip this step )
Clone the CMSIS git repository in a separate folder using the command
git clone https://github.com/ARM-software/CMSIS.git
I run it in the MTB2.4 terminal , and git clone to workspace folder, as below:
Step2 Modify makefile to add the path of DSP library, just like the post you sharing.
- DSP_DIR=../CMSIS/CMSIS/
- INCLUDES=$(DSP_DIR)/Include
- VFP_SELECT=hardfp
- LDLIBS=$(DSP_DIR)/Lib/GCC/libarm_cortexM4lf_math.a
(For the user installed MDK IDE, should use the path of MDK DSP lib)
Then, it should be OK to call the math function.
Regards,
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
谢谢分享哦~