From 9844ed8dd3438e5deaba146477b80fd2115196b7 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期三, 19 二月 2025 14:54:41 +0800 Subject: [PATCH] 3.4,提前了看门狗 电量小于1%直接关机 --- MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm | 34 ++++++++++++++++++++-------------- 1 files changed, 20 insertions(+), 14 deletions(-) diff --git a/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm b/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm index 4e40675..e979874 100644 --- a/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm +++ b/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm @@ -21,8 +21,8 @@ Dialog DLL: TARMCM1.DLL V1.14.2.0 <h2>Project:</h2> -C:\git\XRange_Tag - 铁鞋\MDK-ARM\STM32L071RB.uvprojx -Project File Date: 05/24/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' @@ -34,19 +34,23 @@ 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(146): warning: #177-D: variable "powerled_state" was declared but never referenced - static u8 powerled_state=0; -..\APL\App.c(262): warning: #186-D: pointless comparison of unsigned integer with zero +..\APL\App.c(216): warning: #186-D: pointless comparison of unsigned integer with zero if (g_com_map[POWERx] < 0) -..\APL\App.c(233): warning: #177-D: variable "temp" was declared but never referenced +..\APL\App.c(187): warning: #177-D: variable "temp" was declared but never referenced float temp; -..\APL\App.c(234): warning: #177-D: variable "temp2" was declared but never referenced +..\APL\App.c(188): warning: #177-D: variable "temp2" was declared but never referenced uint16_t temp2; -..\APL\App.c(235): warning: #177-D: variable "i" was declared but never referenced +..\APL\App.c(189): warning: #177-D: variable "i" was declared but never referenced uint16_t i; -..\APL\App.c(415): warning: #177-D: variable "uwbchecksum" was declared but never referenced - u16 uwbchecksum; -..\APL\App.c(551): warning: #1-D: last line of file ends without a newline +..\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; @@ -62,11 +66,13 @@ 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: 17 warnings, 0 errors +..\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=61348 RO-data=5196 RW-data=1836 ZI-data=17156 +Program Size: Code=52048 RO-data=4840 RW-data=1412 ZI-data=16588 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> -- Gitblit v1.9.3