Skip to content

Trying to include "arm_math.h" functions definitions from CMSIS-DSP. #66

@savakazakov

Description

@savakazakov

Hello,

As part of my TYP project I need to use an FFT implementation based on CMSIS-DSP's transformation functions.
link: https://github.com/ARM-software/CMSIS-DSP/tree/main/Source/TransformFunctions

Namely I need:

  • arm_rfft_fast_init_f32
  • arm_rfft_fast_f32
  • arm_cmplx_mag_f32
  • arm_max_f32

I saw that there is a "arm_math.h" header file in this path: "libraries/codal-nrf52/inc/cmsis/arm_math.h"

However there are no function definitions.

What I have tried so far:

  1. Follow the instructions from the CMSIS-DSP repository described here: https://github.com/ARM-software/CMSIS-DSP#how-to-build-cmsis-dsp-with-cmake
  2. Added the CMSIS_5 and CMSIS-DSP repos as submodules and try to alter the parent CMakeLists.txt
  3. Adding separate source files to the sources/ directory.
  4. Follow the steps in CMakeLists.txt from a private lancaster-university repository "codal-microbit-fft"
  5. And various combinations of the above.

I would appreciate any suggestions and aid as I am very new to cmake and I'm not sure how the project is built in its entirety.
What I suppose I am really asking is: What is the procedure of adding library dependencies to the project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions