How to add more recent CMSIS-DSP (for mfcc)

I’m sorry if this is common knowledge :slight_smile:
I’d like to use the mfcc of the CMSIS-DSP library, but I see it’s not included in what is installed with Workbench.

Can I include a more recent version of the library including mfcc, and in that case - where do I find instructions for doing this?

I’ve tried a couple of things, but it seems Workbench insists on using the older version.

Thanks for your help!

How did you install CMSIS-DSP in Workbench the first time, and how did you include the newer version?

CMSIS-DSP is installed in your user directory with particle Workbench:
”user_dir”\.particle\toolchains\deviceOS\6.3.3\third_party\ambd_sdk\ambd_sdk\component\soc\realtek\amebad

I tried placing “Include” and “Source” folders from GitHub - ARM-software/CMSIS_5: CMSIS Version 5 Development Repository
under the lib folder in the project root directory.

However I coudln’t get access to these - the mfcc calls were not recognized.

Sorry - I meant of course:

You need to mix the .c and .h files into a single src directory, in a directory, in lib. The structure is described here.

I'm still not positive it will override the SDK, but it's worth a try.

I'm pretty sure you'll also run into a problem because .a file (precompiled static library) can't be included in a normally compiled user firmware binary, and I think CMSIS has one.