This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DSP FILE INCLUSION

Well
am using keil uvision 5 for my development. i have added CMSIS dsp file and device file using run time environment. but when am adding math_helper.c source file am getting error.
which is

C:\Keil\ARM\PACK\ARM\CMSIS\3.20.4\CMSIS\Include\arm_math.h(280): error: #5: cannot open source input file "ARMCM4.h": No such file or directory

cam anyone give the reason for that?

Parents
  • Look, if you're using an Cortex-M3 part, then you'd want to use the define ARM_MATH_CM3 within your project, so if looks for core_cm3.h instead of a file you don't have.

    Have you even looked at the line throwing the error, and those around it?

    Perhaps you'd want to also review the instructions/directions included in arm_math.h, to understand how you might need to use it?

Reply
  • Look, if you're using an Cortex-M3 part, then you'd want to use the define ARM_MATH_CM3 within your project, so if looks for core_cm3.h instead of a file you don't have.

    Have you even looked at the line throwing the error, and those around it?

    Perhaps you'd want to also review the instructions/directions included in arm_math.h, to understand how you might need to use it?

Children