Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
savakazakov opened this issue Mar 13, 2023 · 1 comment
Open

Comments

@savakazakov
Copy link

savakazakov commented Mar 13, 2023

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?

@microbit-carlos
Copy link
Collaborator

Hopefully this will help:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants