头文件代码如下:
#ifndef _STDTYPE_H_
#define _STDTYPE_H_
/* 整数类型 */
typedef signed char int8;
typedef unsigned char uint8;
typedef short int16;
typedef unsigned short uint16;
typedef int int32;
typedef unsigned int uint32;
#endif
编译时检查MISRA-C:2004规则
报如下错误:
#1504-D (MISRA-C:2004 19.15/R) Precautions shall be taken in order to prevent the contents of a header file being included twice
Shine:
请问用的是哪款芯片?CCS版本是多少?
XiaoBin Wu:
回复 Shine:
芯片:RM42L432PZ
CCS版本:V5.3.0
Shine:
回复 XiaoBin Wu:
这个属于Hercules产品里的RM系列,请到专门的论坛上提问。
Hercules™ ARM®安全微控制器