When using Open CMSIS Pack in Keil, a large number of errors occur during compilation

Question/Issue:
[Describe the question or issue in detail]
I used cubeMX to generate the MDK project for the stm32f407vet6, and then imported the Open CMSIS pack generated on Edge Impulse Website. After compiling, a lot of errors appeared, which left me completely clueless.plz help me.


btw,I don’t use Cube.MX CMSIS-PACK because I want to get familiar with the deployment method of Open CMSIS-PACK. I won’t be using STM’s chips next, but other ARM MCUs developed on Keil.

Environment:

  • Platform:
    stm32f407vet6
  • Build Environment Details:
    cudeMX,keil5.38

well,It should be compiled using ArmCompilerv6.

Hi @FengChi

we have one example for an ST H7 that works on Keil uvision

and one for an ST M4

You can check these projects to see how they are configured.

You can also try using the Keil Studio extension for VS Code using cmsis-toolbox:

It’s been some time I’ve not tested Keil uvision, I’ll give a look next week.

regards,
fv

very thk! :) i solved main problem by using an Arm Compiler higher than v5. i have almost never used C++ on Keil, obviously a beginner.
But the new minor issue is that after compiling, there are two errors: ‘arm_convolve_wrapper_s16’ and ‘arm_svdf_s8’ functions cannot find a match. Thanks for the example link you provided, I will take a look.