TI中文支持网
TI专业的中文技术问题搜集分享网站

MSP432E401Y: 调用arm_math.h后报错

Part Number:MSP432E401Y

在调用arm_math.h后,出现如下报错

Description Resource Path Location Type
#102 "q31_t" has already been declared in the current scope .ccsproject /MSP432P_Test line 903, external location: D:\sortware\TI\simplelink_msp432e4_sdk_4_20_00_12\source\third_party\CMSIS\DSP_Lib\Include\arm_math.h C/C++ Problem

Description Resource Path Location Type
#171 expected a declaration .ccsproject /MSP432P_Test line 1239, external location: D:\sortware\TI\simplelink_msp432e4_sdk_4_20_00_12\source\third_party\CMSIS\DSP_Lib\Include\arm_math.h C/C++ Problem

Description Resource Path Location Type
#20 identifier "__STATIC_FORCEINLINE" is undefined .ccsproject /MSP432P_Test line 903, external location: D:\sortware\TI\simplelink_msp432e4_sdk_4_20_00_12\source\third_party\CMSIS\DSP_Lib\Include\arm_math.h C/C++ Problem

Description Resource Path Location Type
#20 identifier "arm_fir_instance_q7" is undefined .ccsproject /MSP432P_Test line 1794, external location: D:\sortware\TI\simplelink_msp432e4_sdk_4_20_00_12\source\third_party\CMSIS\DSP_Lib\Include\arm_math.h C/C++ Problem

Description Resource Path Location Type
#760 variable "q31_t" is not a type name .ccsproject /MSP432P_Test line 1772, external location: D:\sortware\TI\simplelink_msp432e4_sdk_4_20_00_12\source\third_party\CMSIS\DSP_Lib\Include\arm_math.h C/C++ Problem

请问有什么解决办法或者别的DSP库可以代替

Yale Li:

您好,看报错是头文件引用的问题,有一些声明重复了,有一些却没有声明。

您先看一下这个链接:https://developer.arm.com/documentation/kan309/1-0/?lang=en

里面是arm官方给出的有关MSP432E401Y的例程,您参考一下

赞(0)
未经允许不得转载:TI中文支持网 » MSP432E401Y: 调用arm_math.h后报错
分享到: 更多 (0)