Espressif DSP Library adding to project

username
Posts: 534
Joined: Thu May 03, 2018 1:18 pm

Espressif DSP Library adding to project

Postby username » Wed Jul 20, 2022 4:38 pm

Using ESP-IDF 4.4.1 & VSCode with Espressif's plugin.

I need to add DSP functionality to my current project, but having a heck of a time trying to figure out how.
https://github.com/espressif/esp-dsp#in ... wn-project

I have done this from the link above.
Including ESP-DSP into your own project
To include ESP-DSP into your ESP-IDF project, clone ESP-DSP repository (or add it as a submodule) into the components directory of the project:

cd your-project-directory
mkdir -p components
cd components
git clone https://github.com/espressif/esp-dsp.git

When I add #include "esp_dsp.h" to my main.c it cant find it.

Or maybe a simpler way to explain how to do it would be to start with the blink example, and explain how to add the DSP to it.


Any help would be greatly appreciated.

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: Espressif DSP Library adding to project

Postby ESP_Sprite » Thu Jul 21, 2022 2:10 am

What specifically 'can't find it'? If it says that in the compile process, you indeed have a problem. If the IDE tells you that, I think you need to build the project once to update everything.

username
Posts: 534
Joined: Thu May 03, 2018 1:18 pm

Re: Espressif DSP Library adding to project

Postby username » Thu Jul 21, 2022 2:22 am

Thanks for responding.
Never added a component folder before. turns out I just had to do a clean and then rebuild.

Who is online

Users browsing this forum: Bing [Bot] and 118 guests