礦ision Build Log

Project:

E:\学习\全动电子液晶测试程序\液晶模块配套资料整理\最新模块代码资料制作\串口模块\2.2寸\2.2寸SPI串口9341_240X320模块资料_Rev2.0\STM32_F051系列测试源码\STM32F051-TFT9431-SPI\USER\main.uvproj Project File Date: 11/27/2013

Output:

Build target 'Target 1' compiling TFT_SPI.c... linking... Program Size: Code=20336 RO-data=9432 RW-data=356 ZI-data=1844 FromELF: creating hex file... "..\project\main.axf" - 0 Error(s), 0 Warning(s). Load "..\\project\\main.axf" Internal DLL Error Error: Flash Download failed - Target DLL has been cancelled Load "..\\project\\main.axf" Internal DLL Error Error: Flash Download failed - Target DLL has been cancelled Load "..\\project\\main.axf" Set JLink Project File to "E:\学习\全动电子液晶测试程序\液晶模块配套资料整理\最新模块代码资料制作\串口模块\2.2寸\2.2寸SPI串口9341_240X320模块资料_Rev2.0\STM32_F051系列测试源码\STM32F051-TFT9431-SPI\USER\JLinkSettings.ini" * JLink Info: Device "STM32F051K6" selected (32 KB flash, 4 KB RAM). JLink info: ------------ DLL: V4.80g, compiled Feb 13 2014 20:50:02 Firmware: J-Link ARM V8 compiled Nov 25 2013 19:20:08 Hardware: V8.00 S/N : 308621590 Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFULL * JLink Info: Found SWD-DP with ID 0x1BA01477 * JLink Info: STM32F0xxx: Can not connect to CPU. Trying connect under reset. * JLink Info: Found SWD-DP with ID 0x1BA01477 * JLink Info: Found SWD-DP with ID 0x1BA01477 * JLink Info: Found Cortex-M3 r1p1, Little endian. **JLink Warning: Identified core does not match configuration. (Found: Cortex-M3, Configured: Cortex-M0) * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots * JLink Info: TPIU fitted. * JLink Info: ETM fitted. ROMTableAddr = 0xE00FF003 Target info: ------------ Device: STM32F051K6 VTarget = 3.313V State of Pins: TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 6 Software-Breakpoints: 8192 Watchpoints: 4 JTAG speed: 2000 kHz Erase Done. Programming Done. Verify OK. Application running ...
.h(47): error: #20: identifier "u16" is undefined void TFT_Circle(u16 X,u16 Y,u16 R,u16 fc); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(50): error: #20: identifier "u16" is undefined void TFT_box2(u16 x,u16 y,u16 w,u16 h, u8 mode); ..\HARDWARE\TFT\TFT_SPI.h(50): error: #20: identifier "u16" is undefined void TFT_box2(u16 x,u16 y,u16 w,u16 h, u8 mode); ..\HARDWARE\TFT\TFT_SPI.h(50): error: #20: identifier "u16" is undefined void TFT_box2(u16 x,u16 y,u16 w,u16 h, u8 mode); ..\HARDWARE\TFT\TFT_SPI.h(50): error: #20: identifier "u16" is undefined void TFT_box2(u16 x,u16 y,u16 w,u16 h, u8 mode); main.c: 0 warnings, 30 errors compiling system.c... system.h(11): error: #20: identifier "u8" is undefined extern u8 USART_RX_BUF[USART_REC_LEN]; //接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 system.h(12): error: #20: identifier "u16" is undefined extern u16 USART_RX_STA; //接收状态标记 system.h(14): error: #20: identifier "u32" is undefined void USART1_Init(u32 bound); system.h(15): error: #20: identifier "u32" is undefined void USART2_Init(u32 bound); system.h(18): error: #20: identifier "u16" is undefined void delay_ms(u16 nms); system.h(19): error: #20: identifier "u32" is undefined void delay_us(u32 nus); system.c(9): error: #20: identifier "u8" is undefined static u8 fac_us=0;//us延时倍乘数 system.c(10): error: #20: identifier "u16" is undefined static u16 fac_ms=0;//ms延时倍乘数 system.c(41): error: #20: identifier "u16" is undefined fac_ms=(u16)fac_us*1000;//非ucos下,代表每个ms需要的systick时钟数 system.c(41): error: #65: expected a ";" fac_ms=(u16)fac_us*1000;//非ucos下,代表每个ms需要的systick时钟数 system.c(85): error: #20: identifier "u32" is undefined void delay_us(u32 nus) system.c(87): error: #20: identifier "u32" is undefined u32 temp; system.c(107): error: #20: identifier "u16" is undefined void delay_ms(u16 nms) system.c(109): error: #20: identifier "u32" is undefined u32 temp; system.c(110): error: #20: identifier "u32" is undefined SysTick->LOAD=(u32)nms*fac_ms;//时间加载(SysTick->LOAD为24bit) system.c(110): error: #65: expected a ";" SysTick->LOAD=(u32)nms*fac_ms;//时间加载(SysTick->LOAD为24bit) system.c(130): error: #20: identifier "u8" is undefined u8 USART_RX_BUF[USART_REC_LEN]; //接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 system.c(131): error: #20: identifier "u16" is undefined u16 USART_RX_STA=0; //接收状态标记 system.c(152): error: #20: identifier "u8" is undefined USART2->TDR = (u8) ch; system.c(152): error: #65: expected a ";" USART2->TDR = (u8) ch; system.c(158): error: #20: identifier "u32" is undefined void USART1_Init(u32 bound) system.c(197): error: #20: identifier "u8" is undefined u8 Res; system.c(229): error: #20: identifier "u32" is undefined void USART2_Init(u32 bound) system.c(268): error: #20: identifier "u8" is undefined u8 Res; system.c: 0 warnings, 24 errors compiling led.c... compiling timer.c... ..\USER\system.h(11): error: #20: identifier "u8" is undefined extern u8 USART_RX_BUF[USART_REC_LEN]; //接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 ..\USER\system.h(12): error: #20: identifier "u16" is undefined extern u16 USART_RX_STA; //接收状态标记 ..\USER\system.h(14): error: #20: identifier "u32" is undefined void USART1_Init(u32 bound); ..\USER\system.h(15): error: #20: identifier "u32" is undefined void USART2_Init(u32 bound); ..\USER\system.h(18): error: #20: identifier "u16" is undefined void delay_ms(u16 nms); ..\USER\system.h(19): error: #20: identifier "u32" is undefined void delay_us(u32 nus); ..\USMART\usmart_str.h(6): error: #20: identifier "u8" is undefined u8 usmart_get_parmpos(u8 num); //得到某个参数在参数列里面的起始位置 ..\USMART\usmart_str.h(6): error: #20: identifier "u8" is undefined u8 usmart_get_parmpos(u8 num); //得到某个参数在参数列里面的起始位置 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(8): error: #20: identifier "u32" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(8): error: #20: identifier "u8" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(8): error: #20: identifier "u8" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(9): error: #20: identifier "u8" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(9): error: #20: identifier "u8" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(9): error: #20: identifier "u32" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\HARDWARE\TIMER\timer.c: 0 warnings, 30 errors compiling TFT_SPI.c... ..\USER\system.h(11): error: #20: identifier "u8" is undefined extern u8 USART_RX_BUF[USART_REC_LEN]; //接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 ..\USER\system.h(12): error: #20: identifier "u16" is undefined extern u16 USART_RX_STA; //接收状态标记 ..\USER\system.h(14): error: #20: identifier "u32" is undefined void USART1_Init(u32 bound); ..\USER\system.h(15): error: #20: identifier "u32" is undefined void USART2_Init(u32 bound); ..\USER\system.h(18): error: #20: identifier "u16" is undefined void delay_ms(u16 nms); ..\USER\system.h(19): error: #20: identifier "u32" is undefined void delay_us(u32 nus); ..\HARDWARE\TFT\TFT_SPI.h(43): error: #20: identifier "u16" is undefined void TFT_Clear(u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(44): error: #20: identifier "u16" is undefined void TFT_SetXY(u16 x,u16 y); ..\HARDWARE\TFT\TFT_SPI.h(44): error: #20: identifier "u16" is undefined void TFT_SetXY(u16 x,u16 y); ..\HARDWARE\TFT\TFT_SPI.h(45): error: #20: identifier "u16" is undefined void TFT_DrawPoint(u16 x,u16 y,u16 Data); ..\HARDWARE\TFT\TFT_SPI.h(45): error: #20: identifier "u16" is undefined void TFT_DrawPoint(u16 x,u16 y,u16 Data); ..\HARDWARE\TFT\TFT_SPI.h(45): error: #20: identifier "u16" is undefined void TFT_DrawPoint(u16 x,u16 y,u16 Data); ..\HARDWARE\TFT\TFT_SPI.h(47): error: #20: identifier "u16" is undefined void TFT_Circle(u16 X,u16 Y,u16 R,u16 fc); ..\HARDWARE\TFT\TFT_SPI.h(47): error: #20: identifier "u16" is undefined void TFT_Circle(u16 X,u16 Y,u16 R,u16 fc); ..\HARDWARE\TFT\TFT_SPI.h(47): error: #20: identifier "u16" is undefined void TFT_Circle(u16 X,u16 Y,u16 R,u16 fc); ..\HARDWARE\TFT\TFT_SPI.h(47): error: #20: identifier "u16" is undefined void TFT_Circle(u16 X,u16 Y,u16 R,u16 fc); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(48): error: #20: identifier "u16" is undefined void TFT_DrawLine(u16 x0, u16 y0,u16 x1, u16 y1,u16 Color); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(49): error: #20: identifier "u16" is undefined void TFT_box(u16 x, u16 y, u16 w, u16 h,u16 bc); ..\HARDWARE\TFT\TFT_SPI.h(50): error: #20: identifier "u16" is undefined void TFT_box2(u16 x,u16 y,u16 w,u16 h, u8 mode); ..\HARDWARE\TFT\TFT_SPI.h(50): error: #20: identifier "u16" is undefined void TFT_box2(u16 x,u16 y,u16 w,u16 h, u8 mode); ..\HARDWARE\TFT\TFT_SPI.h(50): error: #20: identifier "u16" is undefined void TFT_box2(u16 x,u16 y,u16 w,u16 h, u8 mode); ..\HARDWARE\TFT\TFT_SPI.h(50): error: #20: identifier "u16" is undefined void TFT_box2(u16 x,u16 y,u16 w,u16 h, u8 mode); ..\HARDWARE\TFT\TFT_SPI.c: 0 warnings, 30 errors compiling usmart.c... ..\USER\system.h(11): error: #20: identifier "u8" is undefined extern u8 USART_RX_BUF[USART_REC_LEN]; //接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 ..\USER\system.h(12): error: #20: identifier "u16" is undefined extern u16 USART_RX_STA; //接收状态标记 ..\USER\system.h(14): error: #20: identifier "u32" is undefined void USART1_Init(u32 bound); ..\USER\system.h(15): error: #20: identifier "u32" is undefined void USART2_Init(u32 bound); ..\USER\system.h(18): error: #20: identifier "u16" is undefined void delay_ms(u16 nms); ..\USER\system.h(19): error: #20: identifier "u32" is undefined void delay_us(u32 nus); ..\USMART\usmart_str.h(6): error: #20: identifier "u8" is undefined u8 usmart_get_parmpos(u8 num); //得到某个参数在参数列里面的起始位置 ..\USMART\usmart_str.h(6): error: #20: identifier "u8" is undefined u8 usmart_get_parmpos(u8 num); //得到某个参数在参数列里面的起始位置 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(8): error: #20: identifier "u32" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(8): error: #20: identifier "u8" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(8): error: #20: identifier "u8" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(9): error: #20: identifier "u8" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(9): error: #20: identifier "u8" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(9): error: #20: identifier "u32" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart.c: 0 warnings, 30 errors compiling usmart_config.c... ..\USER\system.h(11): error: #20: identifier "u8" is undefined extern u8 USART_RX_BUF[USART_REC_LEN]; //接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 ..\USER\system.h(12): error: #20: identifier "u16" is undefined extern u16 USART_RX_STA; //接收状态标记 ..\USER\system.h(14): error: #20: identifier "u32" is undefined void USART1_Init(u32 bound); ..\USER\system.h(15): error: #20: identifier "u32" is undefined void USART2_Init(u32 bound); ..\USER\system.h(18): error: #20: identifier "u16" is undefined void delay_ms(u16 nms); ..\USER\system.h(19): error: #20: identifier "u32" is undefined void delay_us(u32 nus); ..\USMART\usmart_str.h(6): error: #20: identifier "u8" is undefined u8 usmart_get_parmpos(u8 num); //得到某个参数在参数列里面的起始位置 ..\USMART\usmart_str.h(6): error: #20: identifier "u8" is undefined u8 usmart_get_parmpos(u8 num); //得到某个参数在参数列里面的起始位置 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(8): error: #20: identifier "u32" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(8): error: #20: identifier "u8" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(8): error: #20: identifier "u8" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(9): error: #20: identifier "u8" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(9): error: #20: identifier "u8" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(9): error: #20: identifier "u32" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_config.c: 0 warnings, 30 errors compiling usmart_str.c... ..\USER\system.h(11): error: #20: identifier "u8" is undefined extern u8 USART_RX_BUF[USART_REC_LEN]; //接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 ..\USER\system.h(12): error: #20: identifier "u16" is undefined extern u16 USART_RX_STA; //接收状态标记 ..\USER\system.h(14): error: #20: identifier "u32" is undefined void USART1_Init(u32 bound); ..\USER\system.h(15): error: #20: identifier "u32" is undefined void USART2_Init(u32 bound); ..\USER\system.h(18): error: #20: identifier "u16" is undefined void delay_ms(u16 nms); ..\USER\system.h(19): error: #20: identifier "u32" is undefined void delay_us(u32 nus); ..\USMART\usmart_str.h(6): error: #20: identifier "u8" is undefined u8 usmart_get_parmpos(u8 num); //得到某个参数在参数列里面的起始位置 ..\USMART\usmart_str.h(6): error: #20: identifier "u8" is undefined u8 usmart_get_parmpos(u8 num); //得到某个参数在参数列里面的起始位置 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(7): error: #20: identifier "u8" is undefined u8 usmart_strcmp(u8*str1,u8 *str2); //对比两个字符串是否相等 ..\USMART\usmart_str.h(8): error: #20: identifier "u32" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(8): error: #20: identifier "u8" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(8): error: #20: identifier "u8" is undefined u32 usmart_pow(u8 m,u8 n); //M^N次方 ..\USMART\usmart_str.h(9): error: #20: identifier "u8" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(9): error: #20: identifier "u8" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(9): error: #20: identifier "u32" is undefined u8 usmart_str2num(u8*str,u32 *res); //字符串转为数字 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(10): error: #20: identifier "u8" is undefined u8 usmart_get_cmdname(u8*str,u8*cmdname,u8 *nlen,u8 maxlen);//从str中得到指令名,并返回指令长度 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(11): error: #20: identifier "u8" is undefined u8 usmart_get_fname(u8*str,u8*fname,u8 *pnum,u8 *rval); //从str中得到函数名 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_str.h(12): error: #20: identifier "u8" is undefined u8 usmart_get_aparm(u8 *str,u8 *fparm,u8 *ptype); //从str中得到一个函数参数 ..\USMART\usmart_str.c: 0 warnings, 30 errors "..\project\main.axf" - 204 Error(s), 0 Warning(s). Target not created