|
本帖最后由 冯志城 于 2017-3-10 13:19 编辑
编译了一下,发现缺了几个文件,麻烦楼主发一下,学习学习,谢谢!Rebuild target 'gokit_stm32'
assembling startup_stm32f10x_md.s...
compiling core_cm3.c...
compiling system_stm32f10x.c...
compiling misc.c...
compiling stm32f10x_adc.c...
compiling stm32f10x_bkp.c...
compiling stm32f10x_can.c...
compiling stm32f10x_cec.c...
compiling stm32f10x_crc.c...
compiling stm32f10x_dac.c...
compiling stm32f10x_dbgmcu.c...
compiling stm32f10x_dma.c...
compiling stm32f10x_exti.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_fsmc.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_i2c.c...
compiling stm32f10x_iwdg.c...
compiling stm32f10x_pwr.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_rtc.c...
compiling stm32f10x_sdio.c...
compiling stm32f10x_spi.c...
compiling stm32f10x_tim.c...
compiling stm32f10x_usart.c...
compiling stm32f10x_wwdg.c...
compiling main.c...
..\User\main.c(46): warning: #223-D: function "protocolExchangeBytes" declared implicitly
reportData.devStatus.Motor_Speed = protocolExchangeBytes(Y2X(MOTOR_SPEED_RATIO,MOTOR_SPEED_ADDITION,MOTOR_SPEED_DEFAULT));
..\User\main.c(46): warning: #223-D: function "Y2X" declared implicitly
reportData.devStatus.Motor_Speed = protocolExchangeBytes(Y2X(MOTOR_SPEED_RATIO,MOTOR_SPEED_ADDITION,MOTOR_SPEED_DEFAULT));
..\User\main.c(52): warning: #177-D: variable "ret" was declared but never referenced
uint8_t ret = 0;
..\User\main.c(53): warning: #177-D: variable "curTem" was declared but never referenced
int8_t curTem = 0;
..\User\main.c(54): warning: #177-D: variable "curHum" was declared but never referenced
int8_t curHum = 0;
..\User\main.c(55): warning: #177-D: variable "curInfrared" was declared but never referenced
uint8_t curInfrared = 0;
..\User\main.c(56): warning: #177-D: variable "lastTem" was declared but never referenced
static int8_t lastTem = 0;
..\User\main.c(57): warning: #177-D: variable "lastHum" was declared but never referenced
static int8_t lastHum = 0;
..\User\main.c(58): warning: #177-D: variable "irLastTimer" was declared but never referenced
static uint32_t irLastTimer = 0;
..\User\main.c: 9 warnings, 0 errors
compiling stm32f10x_it.c...
..\User\stm32f10x_it.c(207): warning: #177-D: variable "cap_id" was declared but never referenced
u8 cap_id=0;
..\User\stm32f10x_it.c: 1 warning, 0 errors
compiling delay.c...
compiling comfunc.c...
"no source": Error: #5: cannot open source input file "..\User\comfunc.c": No such file or directory
..\User\comfunc.c: 0 warnings, 1 error
compiling dev_ctrl.c...
"no source": Error: #5: cannot open source input file "..\User\dev_ctrl.c": No such file or directory
..\User\dev_ctrl.c: 0 warnings, 1 error
compiling i2c.c...
"no source": Error: #5: cannot open source input file "..\User\i2c.c": No such file or directory
..\User\i2c.c: 0 warnings, 1 error
compiling lcd.c...
"no source": Error: #5: cannot open source input file "..\User\lcd.c": No such file or directory
..\User\lcd.c: 0 warnings, 1 error
compiling led.c...
"no source": Error: #5: cannot open source input file "..\User\led.c": No such file or directory
..\User\led.c: 0 warnings, 1 error
compiling ctrl.c...
"no source": Error: #5: cannot open source input file "..\User\ctrl.c": No such file or directory
..\User\ctrl.c: 0 warnings, 1 error
compiling hal_key.c...
compiling Hal_led.c...
compiling hal_motor.c...
..\Hal\hal_motor\hal_motor.c(57): warning: #223-D: function "tim3ModeConfig" declared implicitly
tim3ModeConfig();
..\Hal\hal_motor\hal_motor.c(81): warning: #223-D: function "abs" declared implicitly
motorControl((abs(status)+5)*10, 0);
..\Hal\hal_motor\hal_motor.c(85): warning: #223-D: function "abs" declared implicitly
motorControl(0, (abs(status)+5)*10);
..\Hal\hal_motor\hal_motor.c: 3 warnings, 0 errors
compiling hal_rgb_led.c...
compiling hal_temp_hum.c...
compiling hal_uart.c...
compiling hal_infrared.c...
compiling hal_watchdog.c...
compiling gizwits_product.c...
..\Gizwits\gizwits_product.c(81): warning: #223-D: function "X2Y" declared implicitly
issuedData->attrVals.LED_R = X2Y(LED_B_RATIO,LED_B_ADDITION,issuedData->attrVals.LED_R);
..\Gizwits\gizwits_product.c(105): warning: #223-D: function "protocolExchangeBytes" declared implicitly
motorValue = X2Y(MOTOR_SPEED_RATIO,MOTOR_SPEED_ADDITION,protocolExchangeBytes(issuedData->attrVals.Motor_Speed));
..\Gizwits\gizwits_product.c: 2 warnings, 0 errors
compiling gizwits_protocol.c...
..\Gizwits\gizwits_protocol.c(9): warning: #1295-D: Deprecated declaration send_state_frame - give arg types
void send_state_frame();
..\Gizwits\gizwits_protocol.c(57): warning: #68-D: integer conversion resulted in a change of sign
return -1;
..\Gizwits\gizwits_protocol.c(68): warning: #68-D: integer conversion resulted in a change of sign
return -1;
..\Gizwits\gizwits_protocol.c(89): warning: #68-D: integer conversion resulted in a change of sign
return -1;
..\Gizwits\gizwits_protocol.c(102): warning: #68-D: integer conversion resulted in a change of sign
return -1;
..\Gizwits\gizwits_protocol.c(108): warning: #68-D: integer conversion resulted in a change of sign
return -1;
..\Gizwits\gizwits_protocol.c(145): warning: #68-D: integer conversion resulted in a change of sign
return -1;
..\Gizwits\gizwits_protocol.c(151): warning: #68-D: integer conversion resulted in a change of sign
return -1;
..\Gizwits\gizwits_protocol.c(157): warning: #68-D: integer conversion resulted in a change of sign
return -1;
..\Gizwits\gizwits_protocol.c(926): warning: #188-D: enumerated type mixed with another type
protocolReport.action = p0Head->action+1;
..\Gizwits\gizwits_protocol.c(953): warning: #188-D: enumerated type mixed with another type
protocolReport.action = action;
..\Gizwits\gizwits_protocol.c(971): warning: #1029-D: __packed ignored for non-pointer parameter
uint8_t protocolErrorCmd(protocolHead_t *head,errorPacketsType_t errno)
..\Gizwits\gizwits_protocol.c(1086): warning: #550-D: variable "ret" was set but never used
int8_t ret = 0;
..\Gizwits\gizwits_protocol.c(1102): warning: #177-D: variable "data" was declared but never referenced
uint8_t data[5],state=0;
..\Gizwits\gizwits_protocol.c(1102): warning: #177-D: variable "state" was declared but never referenced
uint8_t data[5],state=0;
..\Gizwits\gizwits_protocol.c(38): warning: #177-D: function "rbDelete" was declared but never referenced
static void rbDelete(rb_t* rb)
..\Gizwits\gizwits_protocol.c: 16 warnings, 0 errors
linking...
.\Obj\gokit_mcu_stm32.axf: error: L6002U: Could not open file .\obj\comfunc.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
".\Obj\gokit_mcu_stm32.axf" - 1 Error(s), 31 Warning(s).
Target not created.
Build Time Elapsed: 00:01:00
|
|