This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我新建的一些工程,用的tms320f28035是直接把v130的库拷贝到项目的目录下的。编译的时候有两个文件提示。
DSP2803x_I2C_defines.h和DSP2803x_GlobalPrototypes.h提示错误:
#20 identifier int16 is undefined
#20 identifier Uint32 is undefined
#20 identifier Uint16 is undefined
我看了在两个. h头文件在有这个定义,在其他的. h文件中也有用,其他文件都没提示错误,但是这两个文件提示错误。这是怎么回事???
软件版本ccs5.5.0.00077
//--------------------------------------------------------------------------- // For Portability, User Is Recommended To Use Following Data Type Size // Definitions For 16-bit and 32-Bit Signed/Unsigned Integers: // #ifndef DSP28_DATA_TYPES #define DSP28_DATA_TYPES typedef int int16; typedef long int32; typedef unsigned int Uint16; typedef unsigned long Uint32; typedef float float32; typedef long double float64; #endif
定义在
C:\ti\controlSUITE\device_support\f2803x\v130\DSP2803x_headers\include 的DSP2803x_Device.h内,请确保包含了该文件
TI 诚邀您参加全新设计的产品页面测试,参加测试即可享有 TI 购物 9 折优惠码,点击加入 EP产品页面测试报名,名额有限。感谢您的参与!