Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
cmsis dsp
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
4 replies
Subscribers
127 subscribers
Views
3799 views
Users
0 members are here
Related
cmsis dsp
Offline
Muhammad Asad Iqbal
over 7 years ago
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
Offline
Bob Boys
over 7 years ago
Note: This was originally posted on 6th March 2013 at
http://forums.arm.com
Hello
I think you need to add ARM_MATH_CM4 like as shown in CM4.jpg
There is a lab for this board that has a DSP example you can try out: www.keil.com/appnotes/docs/apnt_233.asp
I added the CMSIS-DAP library as shown in DSP_Lib.jpg
Download the lab and see if you can get the DSP example to work. Hopefully it will help.
Bob
Cancel
Up
0
Down
Reply
Cancel
Reply
Offline
Bob Boys
over 7 years ago
Note: This was originally posted on 6th March 2013 at
http://forums.arm.com
Hello
I think you need to add ARM_MATH_CM4 like as shown in CM4.jpg
There is a lab for this board that has a DSP example you can try out: www.keil.com/appnotes/docs/apnt_233.asp
I added the CMSIS-DAP library as shown in DSP_Lib.jpg
Download the lab and see if you can get the DSP example to work. Hopefully it will help.
Bob
Cancel
Up
0
Down
Reply
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
ubuntu - How to uninstall Arm Development studio and all its requirements
0
Arm Development Studio
5790
views
1
reply
Latest
2 months ago
by
Jonathan Simmonds
Answered
DSTREAM Probe damage - Spare parts?
0
DSTREAM
8004
views
2
replies
Latest
2 months ago
by
SamGKN
Suggested Answer
Optimized ARM version of memcmp
0
6465
views
3
replies
Latest
2 months ago
by
Ronan Synnott
Not Answered
Develop Kotlin apps with OpenCl to run in a Samsung mobile that use Mali G71
0
5737
views
2
replies
Latest
3 months ago
by
ARMStrongssen
Answered
FVP Debug problems for Blinky Example project on Cortex-M4
0
Fixed Virtual Platforms (FVPs)
Debugging
Cortex-M4
6600
views
2
replies
Latest
3 months ago
by
Sagittarius
<
>
View all questions in Arm Development Studio forum