2
yincheng.zhong
2023-05-20 4b0f6f4a2e83d9e56364e12cd2855eb1ff21d38a
MDK-ARM/L051/L051.build_log.htm
@@ -22,23 +22,63 @@
 
<h2>Project:</h2>
E:\GIT\XRange_Tag - 副本\MDK-ARM\L051.uvprojx
Project File Date:  03/16/2023
Project File Date:  05/19/2023
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin'
Build target 'L051'
compiling main.c...
..\Src\OnChipDevices\Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 125 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
  #define FLASH_SIZE             (uint32_t)0x10000
..\Drivers\ExternlDrivers\lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
  void LIS3DH_ENTER_STY_Init();
..\Drivers\ExternlDrivers\lis3dh_driver.h(69): warning:  #1295-D: Deprecated declaration Accelerometer_Init - give arg types
  void Accelerometer_Init();
..\Drivers\ExternlDrivers\lis3dh_driver.h(72): warning:  #1295-D: Deprecated declaration do_difff_calibrate - give arg types
  void do_difff_calibrate();
../Src/main.c(274): warning:  #223-D: function "delay_ms" declared implicitly
           delay_ms(100);
../Src/main.c(304): warning:  #186-D: pointless comparison of unsigned integer with zero
        if(g_com_map[POWER]<0)
../Src/main.c(368): warning:  #223-D: function "printf" declared implicitly
      printf("固件版本:标签-定位防撞-青岛 V%d.%d. \r\n",g_com_map[VERSION]>>8,g_com_map[VERSION]&0xff);
../Src/main.c(309): warning:  #177-D: variable "temp"  was declared but never referenced
  {   float temp;
../Src/main.c(310): warning:  #177-D: variable "temp2"  was declared but never referenced
     uint16_t temp2;
../Src/main.c(311): warning:  #177-D: variable "i"  was declared but never referenced
     uint16_t i;
../Src/main.c(454): warning:  #223-D: function "BarInit" declared implicitly
      BarInit();
../Src/main.c(490): warning:  #177-D: variable "blink_count"  was declared but never referenced
     { static uint16_t blink_count=0;
../Src/main.c(492): warning:  #177-D: variable "uwbcount"  was declared but never referenced
          static u8 uwbcount =0;
../Src/main.c(819): warning:  #223-D: function "Usart1InitVariables" declared implicitly
     Usart1InitVariables();
../Src/main.c(786): warning:  #177-D: variable "GPIO_InitStruct"  was declared but never referenced
   GPIO_InitTypeDef GPIO_InitStruct = {0};
../Src/main.c(1031): warning:  #223-D: function "delay_ms" declared implicitly
              delay_ms(100);
../Src/main.c(1034): warning:  #223-D: function "delay_ms" declared implicitly
           delay_ms(10);
../Src/main.c(978): warning:  #177-D: variable "i"  was declared but never referenced
     static uint8_t i=0;
../Src/main.c(374): warning:  #177-D: function "SystemPower_Config"  was declared but never referenced
  static void SystemPower_Config(void)
../Src/main.c: 19 warnings, 0 errors
compiling dw_ancapp.c...
..\Src\OnChipDevices\Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 125 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
  #define FLASH_SIZE             (uint32_t)0x10000
..\Src\application\dw_ancapp.c(53): warning:  #940-D: missing return statement at end of non-void function "FindNearBasePos" 
  }
..\Src\application\dw_ancapp.c(286): warning:  #223-D: function "GetRandomSlotPos" declared implicitly
..\Src\application\dw_ancapp.c(294): warning:  #223-D: function "GetRandomSlotPos" declared implicitly
              tagslotpos=GetRandomSlotPos(rec_tagpos_binary);
..\Src\application\dw_ancapp.c(355): warning:  #1-D: last line of file ends without a newline
..\Src\application\dw_ancapp.c(367): warning:  #1-D: last line of file ends without a newline
  }
..\Src\application\dw_ancapp.c(119): warning:  #177-D: variable "start_poll"  was declared but never referenced
..\Src\application\dw_ancapp.c(120): warning:  #177-D: variable "start_poll"  was declared but never referenced
     u32 start_poll;
..\Src\application\dw_ancapp.c(120): warning:  #177-D: variable "getsync_flag"  was declared but never referenced
..\Src\application\dw_ancapp.c(121): warning:  #177-D: variable "getsync_flag"  was declared but never referenced
     u8 i,j,getsync_flag=0,timeout;
..\Src\application\dw_ancapp.c(27): warning:  #177-D: variable "tag_delaytime"  was declared but never referenced
  static int8_t tag_delaytime;
@@ -60,12 +100,6 @@
  static u8 anclost_times=0 , mainbase_lost_count=0;
..\Src\application\dw_ancapp.c(35): warning:  #550-D: variable "flag_getresponse"  was set but never used
  static u8 flag_finalsend,flag_getresponse,flag_rxon;
..\Src\application\dw_ancapp.c(36): warning:  #177-D: variable "current_count"  was declared but never referenced
  static uint16_t current_count,start_count,end_count,lastsync_timer;
..\Src\application\dw_ancapp.c(36): warning:  #177-D: variable "start_count"  was declared but never referenced
  static uint16_t current_count,start_count,end_count,lastsync_timer;
..\Src\application\dw_ancapp.c(36): warning:  #177-D: variable "end_count"  was declared but never referenced
  static uint16_t current_count,start_count,end_count,lastsync_timer;
..\Src\application\dw_ancapp.c(36): warning:  #177-D: variable "lastsync_timer"  was declared but never referenced
  static uint16_t current_count,start_count,end_count,lastsync_timer;
..\Src\application\dw_ancapp.c(38): warning:  #177-D: variable "last_slotnum"  was declared but never referenced
@@ -82,6 +116,8 @@
  static u8 rec_remotepara_state,rec_remotepara[80],neartimout_timer;
..\Src\application\dw_ancapp.c(41): warning:  #177-D: variable "rec_remotepara"  was declared but never referenced
  static u8 rec_remotepara_state,rec_remotepara[80],neartimout_timer;
..\Src\application\dw_ancapp.c(41): warning:  #550-D: variable "neartimout_timer"  was set but never used
  static u8 rec_remotepara_state,rec_remotepara[80],neartimout_timer;
..\Src\application\dw_ancapp.c(43): warning:  #177-D: variable "nearbaseid_list2"  was declared but never referenced
  static u16 mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],nearbaseid_list[MAX_NEARBASE_NUM],nearbaseid_list2[MAX_NEARBASE_NUM];
..\Src\application\dw_ancapp.c(58): warning:  #177-D: variable "poll_rx_ts"  was declared but never referenced
@@ -90,11 +126,11 @@
  static uint64_t resp_tx_ts;
..\Src\application\dw_ancapp.c(60): warning:  #177-D: variable "final_rx_ts"  was declared but never referenced
  static uint64_t final_rx_ts;
..\Src\application\dw_ancapp.c(63): warning:  #550-D: variable "result"  was set but never used
  static uint8_t motor_state,result;
..\Src\application\dw_ancapp.c(102): warning:  #177-D: function "final_msg_get_ts"  was declared but never referenced
..\Src\application\dw_ancapp.c(64): warning:  #550-D: variable "result"  was set but never used
  static u8 result;
..\Src\application\dw_ancapp.c(103): warning:  #177-D: function "final_msg_get_ts"  was declared but never referenced
  static void final_msg_get_ts(const uint8_t *ts_field, uint32_t *ts)
..\Src\application\dw_ancapp.c: 33 warnings, 0 errors
..\Src\application\dw_ancapp.c: 31 warnings, 0 errors
compiling dw_app.c...
..\Src\OnChipDevices\Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 125 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
  #define FLASH_SIZE             (uint32_t)0x10000
@@ -122,26 +158,26 @@
      u16 mindist_ancid,random_delay_tim,tempval;
..\Src\application\dw_app.c(711): warning:  #177-D: variable "start_poll"  was declared but never referenced
     u32 start_poll,frame_len;
..\Src\application\dw_app.c(1116): warning:  #223-D: function "delay_ms" declared implicitly
..\Src\application\dw_app.c(1118): warning:  #223-D: function "delay_ms" declared implicitly
                                  delay_ms(100);
..\Src\application\dw_app.c(807): warning:  #177-D: variable "temp1"  was declared but never referenced
..\Src\application\dw_app.c(809): warning:  #177-D: variable "temp1"  was declared but never referenced
     uint32_t temp1,temp2,dw_systime,mindist_slavebaseid;
..\Src\application\dw_app.c(807): warning:  #177-D: variable "temp2"  was declared but never referenced
..\Src\application\dw_app.c(809): warning:  #177-D: variable "temp2"  was declared but never referenced
     uint32_t temp1,temp2,dw_systime,mindist_slavebaseid;
..\Src\application\dw_app.c(807): warning:  #177-D: variable "dw_systime"  was declared but never referenced
..\Src\application\dw_app.c(809): warning:  #177-D: variable "dw_systime"  was declared but never referenced
     uint32_t temp1,temp2,dw_systime,mindist_slavebaseid;
..\Src\application\dw_app.c(810): warning:  #177-D: variable "start_poll"  was declared but never referenced
..\Src\application\dw_app.c(812): warning:  #177-D: variable "start_poll"  was declared but never referenced
     u32 start_poll;
..\Src\application\dw_app.c(811): warning:  #177-D: variable "j"  was declared but never referenced
..\Src\application\dw_app.c(813): warning:  #177-D: variable "j"  was declared but never referenced
     u8 i,j,getsync_flag=0,timeout,get_newdist,pos_nochange=1;
..\Src\application\dw_app.c(811): warning:  #177-D: variable "getsync_flag"  was declared but never referenced
..\Src\application\dw_app.c(813): warning:  #177-D: variable "getsync_flag"  was declared but never referenced
     u8 i,j,getsync_flag=0,timeout,get_newdist,pos_nochange=1;
..\Src\application\dw_app.c(1202): warning:  #177-D: variable "rec_nearbasepos"  was declared but never referenced
..\Src\application\dw_app.c(1205): warning:  #177-D: variable "rec_nearbasepos"  was declared but never referenced
                       {   u16 rec_nearbaseid,rec_nearbasepos;
..\Src\application\dw_app.c(1238): warning:  #223-D: function "delay_us" declared implicitly
..\Src\application\dw_app.c(1240): warning:  #223-D: function "delay_us" declared implicitly
     delay_us(700);
..\Src\application\dw_app.c(1297): warning:  #223-D: function "FZNearPoll" declared implicitly
      FZNearPoll();
..\Src\application\dw_app.c(1260): warning:  #177-D: variable "diccount2"  was declared but never referenced
     static uint8_t diccount = 0,diccount2;
..\Src\application\dw_app.c(107): warning:  #177-D: variable "poll_rx_ts"  was declared but never referenced
  static uint64_t poll_rx_ts;
..\Src\application\dw_app.c(108): warning:  #177-D: variable "resp_tx_ts"  was declared but never referenced
@@ -152,11 +188,13 @@
  static double tof;
..\Src\application\dw_app.c(162): warning:  #177-D: function "final_msg_get_ts"  was declared but never referenced
  static void final_msg_get_ts(const uint8_t *ts_field, uint32_t *ts)
..\Src\application\dw_app.c: 28 warnings, 0 errors
..\Src\application\dw_app.c(474): warning:  #177-D: variable "motor_state"  was declared but never referenced
  static u8 motor_state,rec_remotepara_state,rec_remotepara[80];
..\Src\application\dw_app.c: 29 warnings, 0 errors
linking...
Program Size: Code=30800 RO-data=1056 RW-data=460 ZI-data=7212
Program Size: Code=30808 RO-data=1056 RW-data=476 ZI-data=6684
FromELF: creating hex file...
"L051\L051.axf" - 0 Error(s), 61 Warning(s).
"L051\L051.axf" - 0 Error(s), 79 Warning(s).
<h2>Software Packages used:</h2>