Hello,
[Update] - I went through the github repository and found that the transform function .c files are missing. So I added them to my project from the ARM repository here. After adding all the relavant files, I get undefined reference to arm_bitreversal_16.
This function is defined in this assembly file. How do I link this during compilation using the CLI? I am using particle compile photon dir to build my project
Hi
I am trying to do the same (use CMSIS real fft functions for my application targetted for Photon). I am stuck at the same. I was blindly copying header/ source files from the CMSIS code tree into my application, however I have hit the dependency on the assembly files. @dheerajdake Hi, I just wanted to know if you were able to do the integration or did you use any other FFT library.
It’s not possible to include .S assembly files in a Particle CLI (or Particle Build or Particle Dev) build.
You either have to convert the assembly file into inline assembly in a .cpp file, or use the gcc-arm local build with a minor Makefile change to build the .S files.
Hi
Thanks @dheerajdake and @rickkas7. Yeah I have been trying quite a couple of things but am stuck at the assembly code assembly in the flow of the fft code in CMSIS and cannot seem to get around it. The problem of inlining this code is it is in Intel syntax because of which it is not a straight forward inline and I cannot understand the complete assembly code as to rewrite it since it’s doing some pretty low level stuffs.
CMSIS comes with some prebuilt static libraries I tried compiling my Photon app linking it to the static library (CMSIS/Lib/GCC/libarm_cortexM3l_math.a, in the CMSIS archive) however I am getting a lot of errors from the library.
Has any 1 ever tried this. Would sincerely appreciate some advise.