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

cmsis dsp

Note: This was originally posted on 6th March 2013 at http://forums.arm.com

i am trying to add cmsis dsp library in ngx audio example lpc4330 explorer board. i include arm_math.h it gives error i dont know how to aad cmsis library pleas any one help i shall be thank full to you. Is there some kind of modification require in cmsis dsp library?

i got these error
Rebuild target 'Internal SRAM
assembling startup_LPC43xx.s..
compiling lpc43xx_cgu.c...
compiling lpc43xx_scu.c...
compiling lpc43xx_gpio.c...
compiling lpc43xx_i2c.c...
compiling lpc43xx_i2s.c...
compiling system_LPC43xx.c...
compiling Main.c...
C:\Keil\ARM\CMSIS\Include\arm_math.h(271): warning: #1215-D: #warning directive: "Define either ARM_MATH_CM4 OR ARM_MATH_CM3...By Default building on ARM_MATH_CM4...C:\Keil\ARM\CMSIS\Include\arm_math.h(414): error: #20: identifier "__STATIC_INLINE" is undefined
C:\Keil\ARM\CMSIS\Include\arm_math.h(414): error: #101: "q31_t" has already been declared in the current scope
C:\Keil\ARM\CMSIS\Include\arm_math.h(414): error: #65: expected a ";"
C:\Keil\ARM\CMSIS\Include\arm_math.h(525): warning: #12-D: parsing restarts here after previous syntax error
C:\Keil\ARM\CMSIS\Include\arm_math.h(529): error: #169: expected a declaration
C:\Keil\ARM\CMSIS\Include\arm_math.h(539): warning: #12-D: parsing restarts here after previous syntax error
C:\Keil\ARM\CMSIS\Include\arm_math.h(542): error: #169: expected a declaration
C:\Keil\ARM\CMSIS\Include\arm_math.h(544): error: #169: expected a declaration
C:\Keil\ARM\CMSIS\Include\arm_math.h(576): warning: #12-D: parsing restarts here after previous syntax error
C:\Keil\ARM\CMSIS\Include\arm_math.h(580): error: #169: expected a declaration
C:\Keil\ARM\CMSIS\Include\arm_math.h(589): warning: #12-D: parsing restarts here after previous syntax erro
C:\Keil\ARM\CMSIS\Include\arm_math.h(592): error: #169: expected a declaration
C:\Keil\ARM\CMSIS\Include\arm_math.h(594): error: #169: expected a declaration
C:\Keil\ARM\CMSIS\Include\arm_math.h(1032): warning: #12-D: parsing restarts here after previous syntax erro
C:\Keil\ARM\CMSIS\Include\arm_math.h(1050): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1051): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1074): error: #20: identifier "arm_fir_instance_q7" is undefined
C:\Keil\ARM\CMSIS\Include\arm_math.h(1090): error: #20: identifier "arm_fir_instance_q7" is undefined
C:\Keil\ARM\CMSIS\Include\arm_math.h(1153): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1154): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1167): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1168): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1183): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1184): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1237): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1238): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1317): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1318): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1332): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1333): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1349): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1350): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1415): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1660): error: #757: variable "q31_t" is not a type name
C:\Keil\ARM\CMSIS\Include\arm_math.h(1678): error: #757: variable "q31_t" is not a type name
Parents
  • Note: This was originally posted on 12th March 2013 at http://forums.arm.com


    Hi

    Can you post your project here ?

    Then others on the forum can see and perhaps solve this problem....and certainly learn something....

    Thanks

    Bob

    Sir i do the setting of cmsis dsp library no i have prob to set the clock frequency to 204 MHZ  till 168MHz audio codec is working when i encress it above 168 MHz it hangs but blinky is working but not the audio..... :(



Reply
  • Note: This was originally posted on 12th March 2013 at http://forums.arm.com


    Hi

    Can you post your project here ?

    Then others on the forum can see and perhaps solve this problem....and certainly learn something....

    Thanks

    Bob

    Sir i do the setting of cmsis dsp library no i have prob to set the clock frequency to 204 MHZ  till 168MHz audio codec is working when i encress it above 168 MHz it hangs but blinky is working but not the audio..... :(



Children
No data