This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ARM-specific file(s] missing from FPU_FFT example (NRF5 SDK 16) in Segger Embedded Studio?

Hi everyone,

I have come across the FPU_FFT example project for nRF52840. Just for curiosity - I'm HW-guy - I'd like to evaluate FPU's performance - to see how many instructions are needed when FPU is used vs. SW floating point calculations. (Actually, we will be using nRF52840 in a project where input data from sensors is filtered by (using float calculations) IIR filters).

What is strange that after the example project has been built and output files are visible in project explorer, I can't open them - I'm asked to locate files arm_cmplx_mag_f32.c. This file is nowhere to be found in SDK16 - where should this file come from? My compiler is set to gcc. If not located, SES crashes (as expected).

Could you help me get this fixed?

Thanks a lot.

Cheers,

Petr

Parents
  • Hi Petr,

    The warning about arm_cmplx_mag_f32.c shouldn't affect anything and you should be able to ignore it, please see this case and this case

    Have you made any changes to your project? I tested this myself right now, and I was able to build and download the fpu_fft example (SDK 16) to a nRF53840 DK, using SES with gcc as compiler without any problems.

    Best regards,

    Marte

  • Thank you for your links. Yes, I did make small changes to the project. There is a file "nrfx_prs.h". There was some problem that the #include directive stated it should be placed in a subfolder, however in SDK16 it was placed in main folder. But, I am suddenly at least able to view the assembly code - even without knowing how I accomlished it.

    Funny thing about this - a collegue of mine who is actually working on that SW helped me over MS Teams to get the project working. Even with importing his entire project to my SES a ton of errors appeared - it seems it is rather a SES issue, not SDK issue. And yes, we checked compiler, prepocessor settings and so.

    I'm gonna try with different version of SES.

Reply
  • Thank you for your links. Yes, I did make small changes to the project. There is a file "nrfx_prs.h". There was some problem that the #include directive stated it should be placed in a subfolder, however in SDK16 it was placed in main folder. But, I am suddenly at least able to view the assembly code - even without knowing how I accomlished it.

    Funny thing about this - a collegue of mine who is actually working on that SW helped me over MS Teams to get the project working. Even with importing his entire project to my SES a ton of errors appeared - it seems it is rather a SES issue, not SDK issue. And yes, we checked compiler, prepocessor settings and so.

    I'm gonna try with different version of SES.

Children
Related