Did you try the steps mentioned in this thread: Re: Can't install CMSIS on ModusToolbox 22.214.171.1243-windows ?
Did you see any errors when you followed the steps mentioned in the above thread? Let me know your observations.
Regarding documentation, yes, we will be providing collateral on this soon. Thank you for the feedback, we definitely appreciate it
Hi Dheeraj .
Yes, that's the second of the links I provided as examples of incomplete
answers. That thread ends with the user reporting "#error "No
appropriate startup file found!" but never following up with you to
resolve it. I got that far, too, and experienced the same error. And
yes, I have selected the appropriate BSP, CY8CPROTO-062-4343W.
By the way - the link provided in that article is to the CMSIS "develop"
branch. Most users will likely prefer the "master" branch.
The modifications you suggested are actually unnecessary, as the
auto-discovery process will find the files without them. But the CMSIS
code still won't build.
I tried adding terms to the Makefile's DEFINES variable as seemed
appropriate to avoid the reported errors, but every time that resolved
one error, it just led to another.
None of the procedures I've tried from the CMSIS GitHub page work, even
after fixing the obvious errors like misnamed directories.
The CMSIS README.md on their GitHub page says that pre-built binaries
are available, but gives no guidance beyond "install git lfs" as to how
to go about downloading them.
Any help you can provide will be appreciated.
1 of 1 people found this helpful
Please download the latest CMSIS-5 release from here: Release CMSIS 5.7.0 · ARM-software/CMSIS_5 · GitHub
Extract it and place it one level below the application directory as we do not want the auto-discovery to detect all the files. There are a lot of unnecessary files, libraries, example codes that we don't want to be compiled as part of the application, and plus it won't build if you include them.
Open the Makefile and add the following:
(1) Create a new variable pointing to the DSP Directory:
(2) Add the header files of the DSP using the INCLUDES variable:
(3) If you want to use a DSP library of hardfp variant then add the appropriate VFP as shown:
(4) Include the library:
(5) Add the header file to main.c to make use of the DSP functions:
You can now click build and it should build and link successfully.