Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: Are CMSIS DSP functions ported to ANSI C? - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Are CMSIS DSP functions ported to ANSI C?

#1 User is offline   spachner 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 09-May 12

Posted 09 May 2012 - 05:21 PM

Dear Forum,

I started coding with CMSIS DSP functions and would like to know whether it is possible to get the functions complied under standard dANSI C without any usage of ARM specific intrinsic or assembler stuff. I would like to run my code on a PC for easier development and reference issues.

Thanks for any hints in advance.

spachner
0

#2 User is offline   Joseph Yiu 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 217
  • Joined: 01-March 10

Posted 15 May 2012 - 10:20 AM

Hi Spachner,

I am not sure if anyone has do this, but from my understanding the End User License Agreement (EULA) limits the distribution and sublicense of the CMSIS DSP library to be used on ARM architecture only.

You can run the compiled library code in instruction set simulators such as the one in Keil MDK. Is there any particular reason for compiling the code on PC?

regards,
Joseph

Note : I am not a lawyer, so my understanding on the EULA might not be accurate :-)
0

#3 User is offline   spachner 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 09-May 12

Posted 15 May 2012 - 10:38 AM

Hi Joseph,

assume you want to develop a algorithm first on a PC for simplicity and reference model reasons. A PC allows to use scripting for automatic test and so on.

Later you have to port your code to the embedded system. When your algorithm needs CMSIS DSP functionally (FFT or whatever) porting would much easier when you can run the same DSP code on PC, too.

spachner
0

#4 User is offline   Joseph Yiu 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 217
  • Joined: 01-March 10

Posted 15 May 2012 - 11:20 AM

Potentially you can use tools like qemu (http://wiki.qemu.org/Main_Page) to emulate the Cortex-M processors.
http://balau82.wordp...arm-using-qemu/

I think qemu support scripting.

regards,
joseph
0

#5 User is offline   spachner 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 09-May 12

Posted 15 May 2012 - 12:45 PM

Thanks

spachner
1

#6 User is offline   Joseph Yiu 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 217
  • Joined: 01-March 10

Posted 15 May 2012 - 01:19 PM

You're welcome.

By the way, you can also get qemu from Linaro
https://launchpad.net/qemu-linaro

Joseph
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic