From 114944d512d07f1fdbfcaa13d582944e49b8961d Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期二, 24 九月 2024 15:28:16 +0800
Subject: [PATCH] 1.31,修复不能测距的bug。

---
 MDK-ARM/L051/L051.build_log.htm |  384 ++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 271 insertions(+), 113 deletions(-)

diff --git a/MDK-ARM/L051/L051.build_log.htm b/MDK-ARM/L051/L051.build_log.htm
index c30db01..f51bb27 100644
--- a/MDK-ARM/L051/L051.build_log.htm
+++ b/MDK-ARM/L051/L051.build_log.htm
@@ -21,131 +21,289 @@
 Dialog DLL:      TARMCM1.DLL V1.14.2.0
  
 <h2>Project:</h2>
-C:\git\XRange_Tag -Lora-R\MDK-ARM\L051.uvprojx
-Project File Date:  12/26/2023
+C:\git\XRange_Tag -Lora-R - L071 URT-双SPI\MDK-ARM\L051.uvprojx
+Project File Date:  09/24/2024
 
 <h2>Output:</h2>
 *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
 Build target 'L051'
 Note: source file '..\Src\radio\crc.c' - object file renamed from 'L051\crc.o' to 'L051\crc_1.o'.
-compiling dw_ancapp.c...
-..\Src\application\dw_ancapp.c(147): warning:  #177-D: variable "temp"  was declared but never referenced
-  	uint16_t i,j=0,temp[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(198): warning:  #223-D: function "GetLPTime" declared implicitly
-          random_time = (GetLPTime()%100);
-..\Src\application\dw_ancapp.c(249): warning:  #940-D: missing return statement at end of non-void function "Anchor_RecNearPoll" 
+compiling CRC.c...
+..\Src\application\CRC.c(44): warning:  #1-D: last line of file ends without a newline
+  } 
+..\Src\application\CRC.c: 1 warning, 0 errors
+compiling Spi.c...
+..\Src\OnChipDevices\Spi.c(50): warning:  #177-D: variable "stat"  was declared but never referenced
+      decaIrqStatus_t  stat ;
+..\Src\OnChipDevices\Spi.c(101): warning:  #177-D: variable "stat"  was declared but never referenced
+      decaIrqStatus_t  stat ;
+..\Src\OnChipDevices\Spi.c: 2 warnings, 0 errors
+compiling dw_driver.c...
+..\Src\ExternalDevices\dw_driver.c(9): warning:  #223-D: function "delay_us" declared implicitly
+      delay_us(i);  
+..\Src\ExternalDevices\dw_driver.c: 1 warning, 0 errors
+compiling Flash.c...
+..\Src\OnChipDevices\Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 123 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
+  #define FLASH_SIZE       		(uint32_t)0x10000
+..\Src\OnChipDevices\Flash.c: 1 warning, 0 errors
+compiling syn6288.c...
+..\Src\application\syn6288.h(11): warning:  #1-D: last line of file ends without a newline
+   
+..\Src\application\syn6288.c(35): warning:  #223-D: function "delay_ms" declared implicitly
+    delay_ms(800);
+..\Src\application\syn6288.c(57): warning:  #1-D: last line of file ends without a newline
+   
+..\Src\application\syn6288.c: 3 warnings, 0 errors
+compiling ADC.c...
+..\Src\OnChipDevices\ADC.c(11): warning:  #940-D: missing return statement at end of non-void function "Get_ADC_Value" 
   }
-..\Src\application\dw_ancapp.c(305): warning:  #177-D: variable "target_tagi"  was declared but never referenced
+..\Src\OnChipDevices\ADC.c(45): warning:  #223-D: function "MX_ADC1_Init" declared implicitly
+      MX_ADC1_Init();
+..\Src\OnChipDevices\ADC.c(46): warning:  #223-D: function "Delay_Us" declared implicitly
+      Delay_Us(30);
+..\Src\OnChipDevices\ADC.c(69): warning:  #1-D: last line of file ends without a newline
+  }
+..\Src\OnChipDevices\ADC.c: 4 warnings, 0 errors
+compiling WS2812.c...
+..\Src\application\WS2812.c(108): warning:  #223-D: function "delay_us" declared implicitly
+      delay_us(50);
+..\Src\application\WS2812.c: 1 warning, 0 errors
+compiling Usart.c...
+compiling serial_at_cmd_app.c...
+..\Src\application\serial_at_cmd_app.c(11): warning:  #47-D: incompatible redefinition of macro "EUART_RX_BUF_SIZE"  (declared at line 40 of "../Src/OnChipDevices/Usart.h")
+  #define EUART_RX_BUF_SIZE 100
+..\Src\application\serial_at_cmd_app.c(52): warning:  #223-D: function "FLASH_Prepare" declared implicitly
+          result = FLASH_Prepare(0x8004A38, 128);
+..\Src\application\serial_at_cmd_app.c(56): warning:  #223-D: function "delay_ms" declared implicitly
+          delay_ms(200);
+..\Src\application\serial_at_cmd_app.c(59): warning:  #223-D: function "FLASH_Write" declared implicitly
+          result = FLASH_Write(0x8004A38, (const uint8_t*)&tmp, 2); 
+..\Src\application\serial_at_cmd_app.c(64): warning:  #223-D: function "delay_ms" declared implicitly
+          delay_ms(100);
+..\Src\application\serial_at_cmd_app.c(74): warning:  #223-D: function "delay_ms" declared implicitly
+          delay_ms(100);
+..\Src\application\serial_at_cmd_app.c(81): warning:  #223-D: function "delay_ms" declared implicitly
+          delay_ms(100);
+..\Src\application\serial_at_cmd_app.c(117): warning:  #223-D: function "delay_ms" declared implicitly
+  					delay_ms(100);
+..\Src\application\serial_at_cmd_app.c: 8 warnings, 0 errors
+compiling global_param.c...
+../Src/OnChipDevices/Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 123 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
+  #define FLASH_SIZE       		(uint32_t)0x10000
+..\Src\application\global_param.c(20): warning:  #223-D: function "delay_ms" declared implicitly
+  		delay_ms(100);
+..\Src\application\global_param.c(34): warning:  #223-D: function "delay_ms" declared implicitly
+          delay_ms(200);
+..\Src\application\global_param.c(54): warning:  #68-D: integer conversion resulted in a change of sign
+  		g_com_map[DIST_OFFSET]=-31;
+..\Src\application\global_param.c: 4 warnings, 0 errors
+compiling GPS.c...
+..\Src\application\GPS.c(489): warning:  #177-D: variable "wait_pos_stable_times"  was declared but never referenced
+      {static uint8_t wait_pos_stable_times = 6;        
+..\Src\application\GPS.c(469): warning:  #177-D: variable "gpsledstate"  was declared but never referenced
+      static u8 gpsledstate;
+..\Src\application\GPS.c(46): warning:  #177-D: variable "l_au8GPSUartRxBuf"  was declared but never referenced
+  static HIDO_UINT8 l_au8GPSUartRxBuf[GPS_UART_RX_BUF_SIZE];
+..\Src\application\GPS.c(47): warning:  #177-D: variable "l_au8GPSUartTxBuf"  was declared but never referenced
+  static HIDO_UINT8 l_au8GPSUartTxBuf[GPS_UART_TX_BUF_SIZE];
+..\Src\application\GPS.c(49): warning:  #177-D: variable "l_astGPSPin"  was declared but never referenced
+  static ST_GPIO l_astGPSPin[GPS_PIN_LAST];
+..\Src\application\GPS.c(50): warning:  #177-D: variable "l_bIsPowerOn"  was declared but never referenced
+  static HIDO_BOOL l_bIsPowerOn = HIDO_FALSE;
+..\Src\application\GPS.c(52): warning:  #177-D: variable "l_fnGPSEventCallback"  was declared but never referenced
+  static FN_GPSEventCallback l_fnGPSEventCallback;
+..\Src\application\GPS.c(55): warning:  #177-D: variable "l_u8GPS_HZ"  was declared but never referenced
+  static HIDO_UINT8 l_u8GPS_HZ = 0;
+..\Src\application\GPS.c(56): warning:  #177-D: variable "l_bGPSConfig"  was declared but never referenced
+  static HIDO_BOOL l_bGPSConfig = HIDO_FALSE;
+..\Src\application\GPS.c(57): warning:  #177-D: variable "l_bATLocationConfig"  was declared but never referenced
+  static HIDO_BOOL l_bATLocationConfig = HIDO_FALSE;
+..\Src\application\GPS.c(58): warning:  #177-D: variable "l_acConfigGGA"  was declared but never referenced
+  static HIDO_CHAR l_acConfigGGA[128];
+..\Src\application\GPS.c(59): warning:  #177-D: variable "l_acCmdBuff"  was declared but never referenced
+  static HIDO_CHAR l_acCmdBuff[256];
+..\Src\application\GPS.c(60): warning:  #177-D: variable "l_u32QXTick"  was declared but never referenced
+  static HIDO_UINT32 l_u32QXTick = 0;
+..\Src\application\GPS.c(63): warning:  #177-D: variable "l_u32SetupStep"  was declared but never referenced
+  static HIDO_UINT32 l_u32SetupStep = 0;
+..\Src\application\GPS.c(64): warning:  #177-D: variable "l_u32SetupTimerID"  was declared but never referenced
+  static HIDO_UINT32 l_u32SetupTimerID = 0;
+..\Src\application\GPS.c(67): warning:  #177-D: variable "l_au8CmdSave"  was declared but never referenced
+  static HIDO_UINT8 l_au8CmdSave[] = { 0xB5, 0x62, 0x06, 0x09, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x17, 0x31, 0xBF };
+..\Src\application\GPS.c(68): warning:  #177-D: variable "l_au8CmdRate1Hz"  was declared but never referenced
+  static HIDO_UINT8 l_au8CmdRate1Hz[] = { 0xB5, 0x62, 0x06, 0x08, 0x06, 0x00, 0xE8, 0x03, 0x01, 0x00, 0x01, 0x00, 0x01, 0x39 };
+..\Src\application\GPS.c(69): warning:  #177-D: variable "l_au8CmdRate2Hz"  was declared but never referenced
+  static HIDO_UINT8 l_au8CmdRate2Hz[] = { 0xB5, 0x62, 0x06, 0x08, 0x06, 0x00, 0xF4, 0x01, 0x01, 0x00, 0x01, 0x00, 0x0B, 0x77 };
+..\Src\application\GPS.c(70): warning:  #177-D: variable "l_au8CmdRate5Hz"  was declared but never referenced
+  static HIDO_UINT8 l_au8CmdRate5Hz[] = { 0xB5, 0x62, 0x06, 0x08, 0x06, 0x00, 0xC8, 0x00, 0x01, 0x00, 0x01, 0x00, 0xDE, 0x6A };
+..\Src\application\GPS.c(71): warning:  #177-D: variable "l_au8CmdRate10Hz"  was declared but never referenced
+  static HIDO_UINT8 l_au8CmdRate10Hz[] = { 0xB5, 0x62, 0x06, 0x08, 0x06, 0x00, 0x64, 0x00, 0x01, 0x00, 0x01, 0x00, 0x7A, 0x12 };
+..\Src\application\GPS.c(119): warning:  #177-D: function "GPS_ParseTime"  was declared but never referenced
+  static HIDO_INT32 GPS_ParseTime(HIDO_DataStruct *_pstTimeData, ST_GPS *_pstGPS)
+..\Src\application\GPS.c: 21 warnings, 0 errors
+compiling dw_app.c...
+..\Src\application\dw_app.c(148): warning:  #223-D: function "delay_us" declared implicitly
+      delay_us(600);
+..\Src\application\dw_app.c(207): warning:  #1-D: last line of file ends without a newline
+  }
+..\Src\application\dw_app.c: 2 warnings, 0 errors
+compiling dw_mbx_tag.c...
+../Src/radio/lora.h(61): warning:  #1-D: last line of file ends without a newline
+  void LoraUp_Poll();
+../Src/radio/lora.h(61): warning:  #1295-D: Deprecated declaration LoraUp_Poll - give arg types
+  void LoraUp_Poll();
+..\Src\application\syn6288.h(11): warning:  #1-D: last line of file ends without a newline
+   
+..\Src\application\dw_mbx_tag.c(102): warning:  #940-D: missing return statement at end of non-void function "Anchor_RecNearPoll" 
+  }
+..\Src\application\dw_mbx_tag.c(107): warning:  #177-D: variable "temp"  was declared but never referenced
+  	uint16_t i,j=0,k=0,temp[TAG_NUM_IN_SYS];
+..\Src\application\dw_mbx_tag.c(163): warning:  #177-D: variable "target_tagi"  was declared but never referenced
   		{uint8_t target_tagi;
-..\Src\application\dw_ancapp.c(289): warning:  #177-D: variable "tag_recv_interval"  was declared but never referenced
+..\Src\application\dw_mbx_tag.c(151): warning:  #177-D: variable "tag_recv_interval"  was declared but never referenced
               uint16_t tag_recv_interval;
-..\Src\application\dw_ancapp.c(261): warning:  #177-D: variable "send_len"  was declared but never referenced
+..\Src\application\dw_mbx_tag.c(152): warning:  #177-D: variable "temp_tagpos"  was declared but never referenced
+              float temp_tagpos;
+..\Src\application\dw_mbx_tag.c(142): warning:  #177-D: variable "send_len"  was declared but never referenced
   	u8 send_len,i;
-..\Src\application\dw_ancapp.c(263): warning:  #177-D: variable "rec_syncid"  was declared but never referenced
-  	uint32_t rec_syncid;
-..\Src\application\dw_ancapp.c(264): warning:  #177-D: variable "checksum"  was declared but never referenced
+..\Src\application\dw_mbx_tag.c(144): warning:  #177-D: variable "rec_syncid"  was declared but never referenced
+  	uint32_t rec_syncid,status_reg;
+..\Src\application\dw_mbx_tag.c(145): warning:  #177-D: variable "checksum"  was declared but never referenced
   	uint16_t checksum;
-..\Src\application\dw_ancapp.c(73): warning:  #177-D: variable "dist_cm"  was declared but never referenced
-  static double distance, dist_no_bias, dist_cm;
-..\Src\application\dw_ancapp.c(84): warning:  #177-D: variable "g_Tagdist"  was declared but never referenced
-  static int32_t filter_dist,g_Tagdist[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(47): warning:  #177-D: variable "final_rx_ts"  was declared but never referenced
-  static uint64_t final_rx_ts;
-..\Src\application\dw_ancapp.c(48): warning:  #177-D: variable "tagpos_binary"  was declared but never referenced
-  static uint32_t status_reg,resp_tx_time,tagpos_binary;
-..\Src\application\dw_ancapp.c(49): warning:  #550-D: variable "recpoll_len"  was set but never used
-  static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag;
-..\Src\application\dw_ancapp.c(49): warning:  #177-D: variable "current_syncid"  was declared but never referenced
-  static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag;
-..\Src\application\dw_ancapp.c(49): warning:  #550-D: variable "new_tagid"  was set but never used
-  static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag;
-..\Src\application\dw_ancapp.c(49): warning:  #550-D: variable "seize_anchor"  was set but never used
-  static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag;
-..\Src\application\dw_ancapp.c(49): warning:  #550-D: variable "result"  was set but never used
-  static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag;
-..\Src\application\dw_ancapp.c(49): warning:  #177-D: variable "g_start_sync_flag"  was declared but never referenced
-  static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag;
-..\Src\application\dw_ancapp.c(52): warning:  #177-D: variable "flag_syncbase"  was declared but never referenced
-  static uint8_t flag_syncbase,sync_seq,synclost_timer,temp_nearbaspos;
-..\Src\application\dw_ancapp.c(52): warning:  #177-D: variable "sync_seq"  was declared but never referenced
-  static uint8_t flag_syncbase,sync_seq,synclost_timer,temp_nearbaspos;
-..\Src\application\dw_ancapp.c(52): warning:  #177-D: variable "synclost_timer"  was declared but never referenced
-  static uint8_t flag_syncbase,sync_seq,synclost_timer,temp_nearbaspos;
-..\Src\application\dw_ancapp.c(52): warning:  #550-D: variable "temp_nearbaspos"  was set but never used
-  static uint8_t flag_syncbase,sync_seq,synclost_timer,temp_nearbaspos;
-..\Src\application\dw_ancapp.c(55): warning:  #550-D: variable "button"  was set but never used
-  static uint8_t battary,button,ancidlist_num;
-..\Src\application\dw_ancapp.c(58): warning:  #177-D: variable "ancidlist_send"  was declared but never referenced
+..\Src\application\dw_mbx_tag.c(146): warning:  #177-D: variable "kk"  was declared but never referenced
+      uint8_t kk;
+..\Src\application\dw_mbx_tag.c(322): warning:  #177-D: variable "bat"  was declared but never referenced
+                  u8 bat;
+..\Src\application\dw_mbx_tag.c(377): warning:  #223-D: function "UWB_RXON" declared implicitly
+       UWB_RXON();
+..\Src\application\dw_mbx_tag.c(35): warning:  #550-D: variable "status_reg"  was set but never used
+  static uint32_t status_reg,resp_tx_time;
+..\Src\application\dw_mbx_tag.c(44): warning:  #177-D: variable "ancidlist_rec"  was declared but never referenced
   static uint16_t ancidlist_rec[TAG_NUM_IN_SYS],ancidlist_send[TAG_NUM_IN_SYS],rec_ancidlist[TAG_NUM_IN_SYS],rec_ancdistlist[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(60): warning:  #177-D: variable "tmp_time"  was declared but never referenced
-  static uint16_t taglist_num=0,taglist_pos,tmp_time;
-..\Src\application\dw_ancapp.c(64): warning:  #177-D: variable "tagdist_list"  was declared but never referenced
-  static int32_t tagdist_list[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(65): warning:  #550-D: variable "tagpos_rec"  was set but never used
-  static uint8_t tagpos_rec[50];
-..\Src\application\dw_ancapp.c(67): warning:  #177-D: variable "g_flag_Taggetdist"  was declared but never referenced
-  static uint8_t g_flag_Taggetdist[TAG_NUM_IN_SYS],flag_tag_distsmooth[TAG_NUM_IN_SYS],misdist_num[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(67): warning:  #177-D: variable "flag_tag_distsmooth"  was declared but never referenced
-  static uint8_t g_flag_Taggetdist[TAG_NUM_IN_SYS],flag_tag_distsmooth[TAG_NUM_IN_SYS],misdist_num[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(67): warning:  #177-D: variable "misdist_num"  was declared but never referenced
-  static uint8_t g_flag_Taggetdist[TAG_NUM_IN_SYS],flag_tag_distsmooth[TAG_NUM_IN_SYS],misdist_num[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(68): warning:  #177-D: variable "poll_tx_ts"  was declared but never referenced
-  static uint32_t poll_tx_ts, resp_rx_ts, final_tx_ts;
-..\Src\application\dw_ancapp.c(68): warning:  #177-D: variable "resp_rx_ts"  was declared but never referenced
-  static uint32_t poll_tx_ts, resp_rx_ts, final_tx_ts;
-..\Src\application\dw_ancapp.c(68): warning:  #177-D: variable "final_tx_ts"  was declared but never referenced
-  static uint32_t poll_tx_ts, resp_rx_ts, final_tx_ts;
-..\Src\application\dw_ancapp.c(69): warning:  #177-D: variable "poll_rx_ts_32"  was declared but never referenced
-  static uint32_t poll_rx_ts_32, resp_tx_ts_32, final_rx_ts_32;
-..\Src\application\dw_ancapp.c(69): warning:  #177-D: variable "resp_tx_ts_32"  was declared but never referenced
-  static uint32_t poll_rx_ts_32, resp_tx_ts_32, final_rx_ts_32;
-..\Src\application\dw_ancapp.c(69): warning:  #177-D: variable "final_rx_ts_32"  was declared but never referenced
-  static uint32_t poll_rx_ts_32, resp_tx_ts_32, final_rx_ts_32;
-..\Src\application\dw_ancapp.c(70): warning:  #177-D: variable "Ra"  was declared but never referenced
-  static double Ra, Rb, Da, Db;
-..\Src\application\dw_ancapp.c(70): warning:  #177-D: variable "Rb"  was declared but never referenced
-  static double Ra, Rb, Da, Db;
-..\Src\application\dw_ancapp.c(70): warning:  #177-D: variable "Da"  was declared but never referenced
-  static double Ra, Rb, Da, Db;
-..\Src\application\dw_ancapp.c(70): warning:  #177-D: variable "Db"  was declared but never referenced
-  static double Ra, Rb, Da, Db;
-..\Src\application\dw_ancapp.c(71): warning:  #177-D: variable "tof_dtu"  was declared but never referenced
-  static int64_t tof_dtu;
-..\Src\application\dw_ancapp.c(72): warning:  #177-D: variable "tof"  was declared but never referenced
-  static double tof;
-..\Src\application\dw_ancapp.c(73): warning:  #177-D: variable "distance"  was declared but never referenced
-  static double distance, dist_no_bias, dist_cm;
-..\Src\application\dw_ancapp.c(73): warning:  #177-D: variable "dist_no_bias"  was declared but never referenced
-  static double distance, dist_no_bias, dist_cm;
-..\Src\application\dw_ancapp.c(75): warning:  #550-D: variable "rx_power"  was set but never used
-  static double firstpath_power, rx_power,rec_firstpath_power;
-..\Src\application\dw_ancapp.c(75): warning:  #177-D: variable "rec_firstpath_power"  was declared but never referenced
-  static double firstpath_power, rx_power,rec_firstpath_power;
-..\Src\application\dw_ancapp.c(76): warning:  #177-D: variable "f1"  was declared but never referenced
-  static double f1, f2, r1, r2;
-..\Src\application\dw_ancapp.c(76): warning:  #177-D: variable "f2"  was declared but never referenced
-  static double f1, f2, r1, r2;
-..\Src\application\dw_ancapp.c(76): warning:  #177-D: variable "r1"  was declared but never referenced
-  static double f1, f2, r1, r2;
-..\Src\application\dw_ancapp.c(76): warning:  #177-D: variable "r2"  was declared but never referenced
-  static double f1, f2, r1, r2;
-..\Src\application\dw_ancapp.c(82): warning:  #177-D: variable "hex_dist"  was declared but never referenced
-  static int32_t hex_dist,his_dist[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(82): warning:  #177-D: variable "his_dist"  was declared but never referenced
-  static int32_t hex_dist,his_dist[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(84): warning:  #177-D: variable "filter_dist"  was declared but never referenced
-  static int32_t filter_dist,g_Tagdist[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(98): warning:  #177-D: function "get_tx_timestamp_u64"  was declared but never referenced
-  static uint64_t get_tx_timestamp_u64(void)
-..\Src\application\dw_ancapp.c(126): warning:  #177-D: function "final_msg_set_ts"  was declared but never referenced
-  static void final_msg_set_ts(uint8_t *ts_field, uint64_t ts)
-..\Src\application\dw_ancapp.c(136): 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: 56 warnings, 0 errors
+..\Src\application\dw_mbx_tag.c(44): warning:  #177-D: variable "ancidlist_send"  was declared but never referenced
+  static uint16_t ancidlist_rec[TAG_NUM_IN_SYS],ancidlist_send[TAG_NUM_IN_SYS],rec_ancidlist[TAG_NUM_IN_SYS],rec_ancdistlist[TAG_NUM_IN_SYS];
+..\Src\application\dw_mbx_tag.c(45): warning:  #550-D: variable "frame_seq_nb2"  was set but never used
+  static u8 frame_seq_nb2,battary,button,uwb_losttimer,taglist_pos;
+..\Src\application\dw_mbx_tag.c(45): warning:  #550-D: variable "battary"  was set but never used
+  static u8 frame_seq_nb2,battary,button,uwb_losttimer,taglist_pos;
+..\Src\application\dw_mbx_tag.c(45): warning:  #550-D: variable "button"  was set but never used
+  static u8 frame_seq_nb2,battary,button,uwb_losttimer,taglist_pos;
+..\Src\application\dw_mbx_tag.c(45): warning:  #550-D: variable "uwb_losttimer"  was set but never used
+  static u8 frame_seq_nb2,battary,button,uwb_losttimer,taglist_pos;
+..\Src\application\dw_mbx_tag.c: 21 warnings, 0 errors
+compiling dps368_test.c...
+..\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\dps368_test.c(45): warning:  #177-D: variable "temp"  was declared but never referenced
+  	uint32_t temp=0;
+..\Drivers\ExternlDrivers\dps368_test.c(67): warning:  #940-D: missing return statement at end of non-void function "test_write_byte" 
+  }
+..\Drivers\ExternlDrivers\dps368_test.c(158): warning:  #1-D: last line of file ends without a newline
+     }
+..\Drivers\ExternlDrivers\dps368_test.c(145): warning:  #550-D: variable "ret"  was set but never used
+  {  u8 ret;    
+..\Drivers\ExternlDrivers\dps368_test.c: 5 warnings, 0 errors
+compiling deca_device.c...
+..\Src\decadriver\deca_device.c(2874): warning:  #177-D: variable "stat"  was declared but never referenced
+      decaIrqStatus_t stat ;
+..\Src\decadriver\deca_device.c(3096): warning:  #177-D: variable "stat"  was declared but never referenced
+      decaIrqStatus_t stat ;
+..\Src\decadriver\deca_device.c: 2 warnings, 0 errors
+compiling lis3dh_driver.c...
+..\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.c(123): warning:  #177-D: variable "lisid"  was declared but never referenced
+  	uint8_t lisid,response;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(123): warning:  #177-D: variable "response"  was declared but never referenced
+  	uint8_t lisid,response;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(124): warning:  #177-D: variable "lisidtemp"  was declared but never referenced
+      uint8_t lisidtemp;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(163): warning:  #177-D: variable "angle_x"  was declared but never referenced
+  	float angle_x, angle_y, angle_z, angle_xyz;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(163): warning:  #177-D: variable "angle_y"  was declared but never referenced
+  	float angle_x, angle_y, angle_z, angle_xyz;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(163): warning:  #177-D: variable "angle_xyz"  was declared but never referenced
+  	float angle_x, angle_y, angle_z, angle_xyz;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(164): warning:  #177-D: variable "data"  was declared but never referenced
+  	int8_t data[6];
+..\Drivers\ExternlDrivers\lis3dh_driver.c(165): warning:  #177-D: variable "i"  was declared but never referenced
+  	uint8_t i;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(166): warning:  #550-D: variable "lisid"  was set but never used
+  	uint8_t lisid,response;
+..\Drivers\ExternlDrivers\lis3dh_driver.c: 10 warnings, 0 errors
+compiling stm32l0xx_it.c...
+compiling stm32l0xx_hal_msp.c...
+compiling radio.c...
+compiling sx126x-board.c...
+..\Src\radio\sx126x-board.c(41): warning:  #223-D: function "printf" declared implicitly
+           printf("uwb_cs_error\r\n");
+..\Src\radio\sx126x-board.c(66): warning:  #223-D: function "delay_us" declared implicitly
+      delay_us( 2000 );
+..\Src\radio\sx126x-board.c: 2 warnings, 0 errors
+compiling Lora.c...
+..\Src\radio\Lora.h(61): warning:  #1-D: last line of file ends without a newline
+  void LoraUp_Poll();
+..\Src\radio\Lora.h(61): warning:  #1295-D: Deprecated declaration LoraUp_Poll - give arg types
+  void LoraUp_Poll();
+../Src/radio/lora.h(61): warning:  #1-D: last line of file ends without a newline
+  void LoraUp_Poll();
+../Src/radio/lora.h(61): warning:  #1295-D: Deprecated declaration LoraUp_Poll - give arg types
+  void LoraUp_Poll();
+../Src/OnChipDevices/Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 123 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
+  #define FLASH_SIZE       		(uint32_t)0x10000
+..\Src\radio\Lora.c(192): warning:  #223-D: function "UWB_RXOFF" declared implicitly
+          UWB_RXOFF();   
+..\Src\radio\Lora.c(329): warning:  #223-D: function "Usart5Init" declared implicitly
+                                  Usart5Init();
+..\Src\radio\Lora.c(450): warning:  #223-D: function "RadioGetStatus" declared implicitly
+      RadioGetStatus();
+..\Src\radio\Lora.c(483): warning:  #177-D: variable "result"  was declared but never referenced
+  {    uint16_t  result ;
+..\Src\radio\Lora.c(475): warning:  #177-D: variable "target_count1"  was declared but never referenced
+  static uint16_t current_count1,target_count1,end_count1,start_count1;
+..\Src\radio\Lora.c: 10 warnings, 0 errors
+compiling main.c...
+../Drivers/ExternlDrivers/lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
+  void LIS3DH_ENTER_STY_Init();
+../Src/OnChipDevices/Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 123 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
+  #define FLASH_SIZE       		(uint32_t)0x10000
+../Src/application/syn6288.h(11): warning:  #1-D: last line of file ends without a newline
+   
+../Src/radio/lora.h(61): warning:  #1-D: last line of file ends without a newline
+  void LoraUp_Poll();
+../Src/radio/lora.h(61): warning:  #1295-D: Deprecated declaration LoraUp_Poll - give arg types
+  void LoraUp_Poll();
+../Src/radio/lora.h(61): warning:  #1-D: last line of file ends without a newline
+  void LoraUp_Poll();
+../Src/radio/lora.h(61): warning:  #1295-D: Deprecated declaration LoraUp_Poll - give arg types
+  void LoraUp_Poll();
+../Src/main.c(365): warning:  #186-D: pointless comparison of unsigned integer with zero
+  		if(module_power<0)
+../Src/main.c(310): warning:  #177-D: variable "temp"  was declared but never referenced
+      float temp;
+../Src/main.c(311): warning:  #177-D: variable "temp2"  was declared but never referenced
+  	uint16_t temp2;
+../Src/main.c(312): warning:  #177-D: variable "i"  was declared but never referenced
+  	uint16_t i;
+../Src/main.c(411): warning:  #177-D: variable "bat_count"  was declared but never referenced
+      static uint16_t bat_count = 0;
+../Src/main.c(458): warning:  #223-D: function "RadioIrqProcess" declared implicitly
+      RadioIrqProcess();
+../Src/main.c(575): warning:  #177-D: variable "l_u32QXpowerTick"  was declared but never referenced
+   static uint32_t l_u32QXpowerTick = 0;    
+../Src/main.c(576): warning:  #177-D: variable "powercount"  was declared but never referenced
+  static uint32_t powercount=0;
+../Src/main.c(775): warning:  #223-D: function "RadioIrqProcess" declared implicitly
+                RadioIrqProcess();
+../Src/main.c(1074): warning:  #223-D: function "Usart1InitVariables" declared implicitly
+  	Usart1InitVariables();
+../Src/main.c(382): warning:  #177-D: function "SystemPower_Config"  was declared but never referenced
+  static void SystemPower_Config(void)
+../Src/main.c: 18 warnings, 0 errors
 linking...
-Program Size: Code=31052 RO-data=748 RW-data=528 ZI-data=6280  
+Program Size: Code=39736 RO-data=820 RW-data=684 ZI-data=8372  
 FromELF: creating hex file...
-"L051\L051.axf" - 0 Error(s), 56 Warning(s).
+"L051\L051.axf" - 0 Error(s), 116 Warning(s).
 
 <h2>Software Packages used:</h2>
 
@@ -168,7 +326,7 @@
 <h2>Collection of Component Files used:</h2>
 
    * Component: ARM::CMSIS:CORE:5.4.0
-Build Time Elapsed:  00:00:03
+Build Time Elapsed:  00:00:04
 </pre>
 </body>
 </html>

--
Gitblit v1.9.3