From f313a9ae0ed73b1343280de648b8a19e2d36983c Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期一, 24 二月 2025 10:00:56 +0800
Subject: [PATCH] 3.5,加入加速度计10s开机后重新初始化,发生硬件错误直接重启

---
 MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm |   88 +++++++++++++++++++++++--------------------
 1 files changed, 47 insertions(+), 41 deletions(-)

diff --git a/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm b/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm
index 6daff3f..3a24814 100644
--- a/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm
+++ b/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm
@@ -21,52 +21,58 @@
 Dialog DLL:      TARMCM1.DLL V1.14.2.0
  
 <h2>Project:</h2>
-C:\git\XRange_Tag - 铁鞋\MDK-ARM\STM32L071RB.uvprojx
-Project File Date:  04/09/2024
+C:\git\XRange_Tag - 铁鞋 - 新逻辑\MDK-ARM\STM32L071RB.uvprojx
+Project File Date:  02/19/2025
 
 <h2>Output:</h2>
 *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
 Build target 'STM32L071RB'
-compiling dw_mbx_tag.c...
-..\APL\dw_mbx_tag.c(100): warning:  #940-D: missing return statement at end of non-void function "Anchor_RecNearPoll" 
-  }
-..\APL\dw_mbx_tag.c(105): warning:  #177-D: variable "temp"  was declared but never referenced
-  	uint16_t i,j=0,k=0,temp[TAG_NUM_IN_SYS];
-..\APL\dw_mbx_tag.c(180): warning:  #177-D: variable "target_tagi"  was declared but never referenced
-  		{uint8_t target_tagi;
-..\APL\dw_mbx_tag.c(168): warning:  #177-D: variable "tag_recv_interval"  was declared but never referenced
-              uint16_t tag_recv_interval;
-..\APL\dw_mbx_tag.c(169): warning:  #177-D: variable "temp_tagpos"  was declared but never referenced
-              float temp_tagpos;
-..\APL\dw_mbx_tag.c(141): warning:  #177-D: variable "send_len"  was declared but never referenced
-  	u8 send_len,i;
-..\APL\dw_mbx_tag.c(143): warning:  #177-D: variable "rec_syncid"  was declared but never referenced
-  	uint32_t rec_syncid,status_reg;
-..\APL\dw_mbx_tag.c(144): warning:  #177-D: variable "checksum"  was declared but never referenced
-  	uint16_t checksum;
-..\APL\dw_mbx_tag.c(145): warning:  #177-D: variable "kk"  was declared but never referenced
-      uint8_t kk;
-..\APL\dw_mbx_tag.c(31): warning:  #550-D: variable "result"  was set but never used
-  static u8 frame_len,timeout,result,rec_nearbase_num;
-..\APL\dw_mbx_tag.c(35): warning:  #550-D: variable "status_reg"  was set but never used
-  static uint32_t status_reg,resp_tx_time;
-..\APL\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];
-..\APL\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];
-..\APL\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;
-..\APL\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;
-..\APL\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;
-..\APL\dw_mbx_tag.c(275): warning:  #177-D: variable "checksum"  was declared but never referenced
-  static u16 checksum;
-..\APL\dw_mbx_tag.c: 17 warnings, 0 errors
+compiling App.c...
+..\APL\App.h(39): warning:  #1295-D: Deprecated declaration Main_Poll - give arg types
+  void Main_Poll();
+..\APL\App.c(61): warning:  #1295-D: Deprecated declaration Uwb_Zubao_Poll - give arg types
+  void Uwb_Zubao_Poll();
+..\APL\App.c(100): warning:  #223-D: function "HIDO_UtilSnprintf" declared implicitly
+      HIDO_UINT32 u32Len = HIDO_UtilSnprintf((HIDO_CHAR *)LBS_data, sizeof(LBS_data), "%s,,,,,0,00,00.0,,,,,,*00,%X,%02x,%x,%d,%d,%d%\r\n",
+..\APL\App.c(216): warning:  #186-D: pointless comparison of unsigned integer with zero
+      if (g_com_map[POWERx] < 0)
+..\APL\App.c(187): warning:  #177-D: variable "temp"  was declared but never referenced
+      float temp;
+..\APL\App.c(188): warning:  #177-D: variable "temp2"  was declared but never referenced
+      uint16_t temp2;
+..\APL\App.c(189): warning:  #177-D: variable "i"  was declared but never referenced
+      uint16_t i;
+..\APL\App.c(281): warning:  #550-D: variable "powercount"  was set but never used
+      static uint32_t powercount=0;
+..\APL\App.c(432): warning:  #223-D: function "delay_ms" declared implicitly
+              delay_ms(100);
+..\APL\App.c(386): warning:  #177-D: variable "powerled_state"  was declared but never referenced
+      static u8 powerled_state=0;
+..\APL\App.c(541): warning:  #223-D: function "Sleep_Panduan_Poll" declared implicitly
+          Sleep_Panduan_Poll();
+..\APL\App.c(557): warning:  #1-D: last line of file ends without a newline
+  ////以上是源代码,被拆除时间接性关闭4G
+..\APL\App.c(49): warning:  #177-D: variable "l_bDismantle"  was declared but never referenced
+  static HIDO_BOOL l_bDismantle = HIDO_FALSE;
+..\APL\App.c(50): warning:  #177-D: variable "l_bCancelAlarm"  was declared but never referenced
+  static HIDO_BOOL l_bCancelAlarm = HIDO_FALSE;
+..\APL\App.c(51): warning:  #177-D: variable "l_u32DismantleAlarmTick"  was declared but never referenced
+  static HIDO_UINT32 l_u32DismantleAlarmTick = 0;
+..\APL\App.c(53): warning:  #177-D: variable "l_bCharge"  was declared but never referenced
+  static HIDO_BOOL l_bCharge = HIDO_FALSE;
+..\APL\App.c(54): warning:  #177-D: variable "l_u32CancelChargeReport"  was declared but never referenced
+  static HIDO_BOOL l_u32CancelChargeReport = HIDO_FALSE;
+..\APL\App.c(55): warning:  #177-D: variable "l_u32ChargeTick"  was declared but never referenced
+  static HIDO_UINT32 l_u32ChargeTick = 0;
+..\APL\App.c(57): warning:  #177-D: variable "l_u32LocationTick"  was declared but never referenced
+  static HIDO_UINT32 l_u32LocationTick = 0;
+..\APL\App.c(91): warning:  #177-D: function "LBSLocationCallback"  was declared but never referenced
+  static HIDO_VOID LBSLocationCallback(ST_LBSLocation *_pstLBSLocation, HIDO_VOID *_pArg)
+..\APL\App.c: 20 warnings, 0 errors
 linking...
-Program Size: Code=62144 RO-data=5196 RW-data=1724 ZI-data=18708  
+Program Size: Code=52072 RO-data=4840 RW-data=1412 ZI-data=16388  
 FromELF: creating hex file...
-"STM32L071RB\STM32L071RB.axf" - 0 Error(s), 17 Warning(s).
+"STM32L071RB\STM32L071RB.axf" - 0 Error(s), 20 Warning(s).
 
 <h2>Software Packages used:</h2>
 
@@ -89,7 +95,7 @@
 <h2>Collection of Component Files used:</h2>
 
    * Component: ARM::CMSIS:CORE:5.4.0
-Build Time Elapsed:  00:00:01
+Build Time Elapsed:  00:00:05
 </pre>
 </body>
 </html>

--
Gitblit v1.9.3