大家好
我现在用的CCS6 编译的工程 连接http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/t/74528.aspx
任何一个工程都会提示错误,意思是说CSL_TMR_WDTCR_WDKEY_CMD1 CSL_TMR_WDTCR_WDKEY_CMD2 没有定义 。
编译错误
"F:/EVM/66AK2H/example/cifae_KII_STK/common/K2_common.c", line 695: error #20: identifier "CSL_TMR_WDTCR_WDKEY_CMD1" is undefined
"F:/EVM/66AK2H/example/cifae_KII_STK/common/K2_common.c", line 711: error #20: identifier "CSL_TMR_WDTCR_WDKEY_CMD2" is undefined
"F:/EVM/66AK2H/example/cifae_KII_STK/common/K2_common.c", line 777: error #20: identifier "CSL_TMR_WDTCR_WDKEY_CMD1" is undefined
"F:/EVM/66AK2H/example/cifae_KII_STK/common/K2_common.c", line 779: error #20: identifier "CSL_TMR_WDTCR_WDKEY_CMD2" is undefined
Andy Yin1:
跟mcsdk版本有关,在k2_common.h中加入如下宏定义。
#define CSL_TMR_WDTCR_WDKEY_CMD1 (0x0000A5C6u)#define CSL_TMR_WDTCR_WDKEY_CMD2 (0x0000DA7Eu)