Hi,
I want to use dsp functions provided with the CMSIS library on a Stellaris Cortex-M4. I followed TI's guide on how to build the library: http://www.ti.com/lit/an/spma041b/spma041b.pdf
It gets through most of the compilation, but generates a few function declared implicitly warnings on compiler intrinsic functions. Here's one of the lines:
/* extract two q7_t samples to q15_t samples */
inA1 = __SXTB16(__ROR(input1, 8));
I did see __sxtb16() listed in the compiler documentation so it is a legitimate function.
The warning may be referring to __ROR(), though. There are 4 implicit declaration warnings on the compile and one of them is:
*pDst++ = (__ROR(in, 8)) & 0xFF000000;
TI provides header files to make ARM's CMSIS code compatible with CCS and I did notice that some of the info in the .pdf is not accurate as of the current release of CMSIS. The guide steps through modifying CMSIS source files to make them compatible with CCS, but the source files I got from ARM already have the modifications.
I'm not sure why I'm getting the warnings when the functions should have declarations as part of the compiler, correct?
Any input is appreciated
-Brandon