AnsweredAssumed Answered

keil 编译警告

Question asked by yangxijun yang on Mar 30, 2018
Latest reply on Apr 1, 2018 by ZhangJennie

以下的警告是什么原因造成的

 

kCLOCK_Lpi2cDiv = CCM_TUPLE(CSCDR2, CCM_CSCDR2_LPI2C_CLK_PODF_SHIFT, CCM_CSCDR2_LPI2C_CLK_PODF_MASK, CCM_NO_BUSY_WAIT), /*!< lpi2c div name */
..\..\devices\MIMXRT1052\drivers\fsl_clock.h(669): warning: #66-D: enumeration value is out of "int" range
kCLOCK_Lcdif1PreDiv = CCM_TUPLE(CSCDR2, CCM_CSCDR2_LCDIF_PRED_SHIFT, CCM_CSCDR2_LCDIF_PRED_MASK, CCM_NO_BUSY_WAIT), /*!< lcdif1 pre div name */
..\..\devices\MIMXRT1052\drivers\fsl_clock.h(671): warning: #66-D: enumeration value is out of "int" range
kCLOCK_CsiDiv = CCM_TUPLE(CSCDR3, CCM_CSCDR3_CSI_PODF_SHIFT, CCM_CSCDR3_CSI_PODF_MASK, CCM_NO_BUSY_WAIT), /*!< csi div name */
..\..\devices\MIMXRT1052\drivers\fsl_clock.h(769): warning: #66-D: enumeration value is out of "int" range
kCLOCK_UsbSrcUnused = 0xFFFFFFFFU, /*!< Used when the function does not
..\..\devices\MIMXRT1052\drivers\fsl_lpuart.h(182): warning: #66-D: enumeration value is out of "int" range
kLPUART_LinBreakFlag = (LPUART_STAT_LBKDIF_MASK), /*!< LIN break detect interrupt flag, sets when LIN break char
..\..\devices\MIMXRT1052\utilities\io\fsl_io.c: 51 warnings, 0 errors
linking...
Program Size: Code=7752 RO-data=1164 RW-data=24 ZI-data=2084
FromELF: creating hex file...
".\Objects\RT1052_test.out" - 0 Error(s), 653 Warning(s).
Build Time Elapsed: 00:00:08

Outcomes