From 83d414d07af1f5330fcbd7612eb7b0c312d2598f Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期三, 19 二月 2025 18:03:57 +0800
Subject: [PATCH] 1.6,加入版本号。

---
 keil/Objects/uwb_simple_example.build_log.htm |  781 +++++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 583 insertions(+), 198 deletions(-)

diff --git a/keil/Objects/uwb_simple_example.build_log.htm b/keil/Objects/uwb_simple_example.build_log.htm
index 0ee8ea3..5f0ff3a 100644
--- a/keil/Objects/uwb_simple_example.build_log.htm
+++ b/keil/Objects/uwb_simple_example.build_log.htm
@@ -5,11 +5,11 @@
 <h2>Tool Versions:</h2>
 IDE-Version: μVision V5.30.0.0
 Copyright (C) 2020 ARM Ltd and ARM Germany GmbH. All rights reserved.
-License Information: qweq xookko@outlook.com, qweqeq, LIC=47GU5-GD9Z0-FWK2N-Y9XQ0-MH3EA-KZ8D2
+License Information: WXK WXK, WXK, LIC=LSNXV-PQMLL-2Z8W4-FC0XG-4GU90-PI7N8
  
 Tool Versions:
 Toolchain:       MDK-ARM Plus  Version: 5.30.0.0
-Toolchain Path:  d:\Keil_v5\ARM\ARMCLANG\Bin
+Toolchain Path:  C:\Keil_v5\ARM\ARMCLANG\Bin
 C Compiler:      ArmClang.exe V6.14
 Assembler:       Armasm.exe V6.14
 Linker/Locator:  ArmLink.exe V6.14
@@ -21,12 +21,397 @@
 Dialog DLL:      TARMCM1.DLL V1.14.2.0
  
 <h2>Project:</h2>
-D:\project chen\ChinaUWBProject_tag\keil\uwb_simple_example.uvprojx
-Project File Date:  11/25/2024
+C:\git-mk8000\ChinaUWBProject - tx\keil\uwb_simple_example.uvprojx
+Project File Date:  12/25/2024
 
 <h2>Output:</h2>
-*** Using Compiler 'V6.14', folder: 'd:\Keil_v5\ARM\ARMCLANG\Bin'
+*** Using Compiler 'V6.14', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
 Build target 'MK8000 Release'
+include/drivers/global_param.c(9): warning: no previous prototype for function 'parameter_check' [-Wmissing-prototypes]
+uint8_t parameter_check(void)
+        ^
+include/drivers/global_param.c(9): note: declare 'static' if the function is not intended to be used outside of this translation unit
+uint8_t parameter_check(void)
+^
+static 
+include/drivers/global_param.c(46): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+                result=flash_open(FLASH_ID0,NULL);
+                      ~^~~~~~~~~~~~~~~~~~~~~~~~~~
+include/drivers/global_param.c(70): warning: implicit conversion changes signedness: 'int' to 'uint16_t' (aka 'unsigned short') [-Wsign-conversion]
+                g_com_map[DIST_OFFSET]=-31;
+                                      ~^~~
+include/drivers/global_param.c(107): warning: implicit conversion changes signedness: 'int' to 'uint16_t' (aka 'unsigned short') [-Wsign-conversion]
+                g_com_map[DIST_OFFSET]=-31;
+                                      ~^~~
+include/drivers/global_param.c(129): warning: no newline at end of file [-Wnewline-eof]
+}
+ ^
+5 warnings generated.
+compiling global_param.c...
+dw_app.c(1): warning: In file included from...
+./dw_app.h(132): warning: no newline at end of file [-Wnewline-eof]
+#endif
+      ^
+dw_app.c(52): warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
+            clockOffsetRatio = anc_clockoffset[i] * (FREQ_OFFSET_MULTIPLIER * HERTZ_TO_PPM_MULTIPLIER_CHAN_5 / 1.0e6) ;//MK8000<D0><U+07B8><C4>
+                             ~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+dw_app.c(60): warning: implicit conversion turns floating-point number into integer: 'double' to 'int32_t' (aka 'int') [-Wfloat-conversion]
+            nearbase_distlist[i]  = distance+anc_distoffset[i];
+                                  ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~
+dw_app.c(131): warning: implicit conversion turns floating-point number into integer: 'double' to 'uint16_t' (aka 'unsigned short') [-Wfloat-conversion]
+            taglist_dist[i+taglist_current_index]  = distance+(int16_t)g_com_map[DIST_OFFSET];//offset未<BC><D3>
+                                                   ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+dw_app.c(141): warning: no newline at end of file [-Wnewline-eof]
+//#endif
+        ^
+dw_app.c(133): warning: implicit conversion from 'int' to 'uint16_t' (aka 'unsigned short') changes value from 196607 to 65535 [-Wconstant-conversion]
+                                                taglist_dist[i] = 0x2ffff;
+                                                                ~ ^~~~~~~
+dw_app.c(11): warning: no previous extern declaration for non-static variable 'tof' [-Wmissing-variable-declarations]
+double tof,distance;
+       ^
+dw_app.c(11): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+double tof,distance;
+^
+dw_app.c(11): warning: no previous extern declaration for non-static variable 'distance' [-Wmissing-variable-declarations]
+double tof,distance;
+           ^
+dw_app.c(11): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+double tof,distance;
+^
+dw_app.c(26): warning: no previous extern declaration for non-static variable 'temp_freq_offset' [-Wmissing-variable-declarations]
+int32_t temp_freq_offset;
+        ^
+dw_app.c(26): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+int32_t temp_freq_offset;
+^
+dw_app.c(27): warning: no previous extern declaration for non-static variable 'tround_temp' [-Wmissing-variable-declarations]
+int64_t tround_temp,treply_temp;
+        ^
+dw_app.c(27): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+int64_t tround_temp,treply_temp;
+^
+dw_app.c(27): warning: no previous extern declaration for non-static variable 'treply_temp' [-Wmissing-variable-declarations]
+int64_t tround_temp,treply_temp;
+                    ^
+dw_app.c(27): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+int64_t tround_temp,treply_temp;
+^
+dw_app.c(28): warning: no previous extern declaration for non-static variable 'tof_i' [-Wmissing-variable-declarations]
+int32_t tof_i;
+        ^
+dw_app.c(28): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+int32_t tof_i;
+^
+dw_app.c(29): warning: no previous extern declaration for non-static variable 'tof_i_ui' [-Wmissing-variable-declarations]
+uint32_t tof_i_ui;
+         ^
+dw_app.c(29): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint32_t tof_i_ui;
+^
+dw_app.c(30): warning: no previous extern declaration for non-static variable 'tof_f' [-Wmissing-variable-declarations]
+double tof_f;
+       ^
+dw_app.c(30): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+double tof_f;
+^
+14 warnings generated.
+compiling dw_app.c...
+include/drivers/serial_at_cmd_app.c(43): warning: no previous extern declaration for non-static variable 'j_ct' [-Wmissing-variable-declarations]
+uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0   ;
+        ^
+include/drivers/serial_at_cmd_app.c(43): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0   ;
+^
+include/drivers/serial_at_cmd_app.c(43): warning: no previous extern declaration for non-static variable 'CT_satrt_temp' [-Wmissing-variable-declarations]
+uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0   ;
+               ^
+include/drivers/serial_at_cmd_app.c(43): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0   ;
+^
+include/drivers/serial_at_cmd_app.c(43): warning: no previous extern declaration for non-static variable 'CT_satrt' [-Wmissing-variable-declarations]
+uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0   ;
+                               ^
+include/drivers/serial_at_cmd_app.c(43): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0   ;
+^
+include/drivers/serial_at_cmd_app.c(43): warning: no previous extern declaration for non-static variable 'numb_base' [-Wmissing-variable-declarations]
+uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0   ;
+                                          ^
+include/drivers/serial_at_cmd_app.c(43): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0   ;
+^
+include/drivers/serial_at_cmd_app.c(45): warning: no previous extern declaration for non-static variable 'id_cmpare' [-Wmissing-variable-declarations]
+uint8_t id_cmpare[12]={0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x30, 0x30, 0x30, 0x31};//123456780001//<B2><E2><CA><D4>//RC2202A<A3><BA>
+        ^
+include/drivers/serial_at_cmd_app.c(45): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t id_cmpare[12]={0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x30, 0x30, 0x30, 0x31};//123456780001//<B2><E2><CA><D4>//RC2202A<A3><BA>
+^
+include/drivers/serial_at_cmd_app.c(46): warning: no previous extern declaration for non-static variable 'CT_sum' [-Wmissing-variable-declarations]
+uint32_t CT_sum=0;
+         ^
+include/drivers/serial_at_cmd_app.c(46): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint32_t CT_sum=0;
+^
+include/drivers/serial_at_cmd_app.c(58): warning: no previous prototype for function 'Checksum_u16' [-Wmissing-prototypes]
+uint16_t Checksum_u16(uint8_t* pdata, uint32_t len) 
+         ^
+include/drivers/serial_at_cmd_app.c(58): note: declare 'static' if the function is not intended to be used outside of this translation unit
+uint16_t Checksum_u16(uint8_t* pdata, uint32_t len) 
+^
+static 
+include/drivers/serial_at_cmd_app.c(67): warning: no previous prototype for function 'SendComMap0' [-Wmissing-prototypes]
+void SendComMap0(uint8_t data_length, uint8_t index)//<B1><ED>示<B3>晒<A6><B6><C1>取<B5>幕<D8>应<B0><FC>
+     ^
+include/drivers/serial_at_cmd_app.c(67): note: declare 'static' if the function is not intended to be used outside of this translation unit
+void SendComMap0(uint8_t data_length, uint8_t index)//<B1><ED>示<B3>晒<A6><B6><C1>取<B5>幕<D8>应<B0><FC>
+^
+static 
+include/drivers/serial_at_cmd_app.c(88): warning: no previous prototype for function 'SendComMap' [-Wmissing-prototypes]
+void SendComMap(uint8_t data_length, uint8_t index)//<B1><ED>示<B3>晒<A6><B6><C1>取<B5>幕<D8>应<B0><FC>
+     ^
+include/drivers/serial_at_cmd_app.c(88): note: declare 'static' if the function is not intended to be used outside of this translation unit
+void SendComMap(uint8_t data_length, uint8_t index)//<B1><ED>示<B3>晒<A6><B6><C1>取<B5>幕<D8>应<B0><FC>
+^
+static 
+include/drivers/serial_at_cmd_app.c(116): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+        result = flash_open(FLASH_ID0,NULL);
+               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
+include/drivers/serial_at_cmd_app.c(119): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+          result = flash_write_nbytes(FLASH_ID0,APP_CONFIG_IAPFLAG_MAP,(uint8_t*)&tmp,2);
+                 ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+include/drivers/serial_at_cmd_app.c(121): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
+        Serial0PutString("<BD><F8><C8><EB><C9><FD><BC><B6>模式\r\n");
+                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+./include/drivers/mk_uart.h(70): note: expanded from macro 'Serial0PutString'
+#define Serial0PutString(x)   Serial0_PutString((uint8_t*)(x))
+                                                           ^
+include/drivers/serial_at_cmd_app.c(179): warning: 'break' will never be executed [-Wunreachable-code-break]
+                                        break;
+                                        ^~~~~
+include/drivers/serial_at_cmd_app.c(240): warning: unused variable 'checksum' [-Wunused-variable]
+        uint16_t checksum = 0;
+                 ^
+include/drivers/serial_at_cmd_app.c(242): warning: unused variable 'pack_datalen' [-Wunused-variable]
+        static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
+                       ^
+include/drivers/serial_at_cmd_app.c(242): warning: unused variable 'pack_length' [-Wunused-variable]
+        static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
+                                        ^
+include/drivers/serial_at_cmd_app.c(242): warning: unused variable 'pack_index' [-Wunused-variable]
+        static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
+                                                        ^
+include/drivers/serial_at_cmd_app.c(242): warning: unused variable 'pack_msgtype' [-Wunused-variable]
+        static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
+                                                                       ^
+include/drivers/serial_at_cmd_app.c(242): warning: unused variable 'pack_cmd' [-Wunused-variable]
+        static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
+                                                                                        ^
+include/drivers/serial_at_cmd_app.c(42): warning: no previous extern declaration for non-static variable 'mUsart2ReceivePack_before' [-Wmissing-variable-declarations]
+uint8_t  mUsart2ReceivePack_before , mUsart2ReceivePack_now;
+         ^
+include/drivers/serial_at_cmd_app.c(42): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t  mUsart2ReceivePack_before , mUsart2ReceivePack_now;
+^
+include/drivers/serial_at_cmd_app.c(42): warning: no previous extern declaration for non-static variable 'mUsart2ReceivePack_now' [-Wmissing-variable-declarations]
+uint8_t  mUsart2ReceivePack_before , mUsart2ReceivePack_now;
+                                     ^
+include/drivers/serial_at_cmd_app.c(42): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t  mUsart2ReceivePack_before , mUsart2ReceivePack_now;
+^
+include/drivers/serial_at_cmd_app.c(47): warning: no previous extern declaration for non-static variable 'char_broadcast_data' [-Wmissing-variable-declarations]
+char char_broadcast_data[80];//<B9>悴�<CA><FD><BE><DD>
+     ^
+include/drivers/serial_at_cmd_app.c(47): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+char char_broadcast_data[80];//<B9>悴�<CA><FD><BE><DD>
+^
+include/drivers/serial_at_cmd_app.c(49): warning: no previous extern declaration for non-static variable 'Lora_TXD_bff' [-Wmissing-variable-declarations]
+uint8_t  Lora_TXD_bff[Lora_TXD_bff_MAX]; //lora<B7><A2><CB>突<BA><B4><E6><C7><F8>
+         ^
+include/drivers/serial_at_cmd_app.c(49): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t  Lora_TXD_bff[Lora_TXD_bff_MAX]; //lora<B7><A2><CB>突<BA><B4><E6><C7><F8>
+^
+include/drivers/serial_at_cmd_app.c(50): warning: no previous extern declaration for non-static variable 'data_buff' [-Wmissing-variable-declarations]
+uint16_t data_buff[data_buff_MAX][2];    //<BB><F9>站<CA><FD><BE>莼<BA><B4><E6><C7><F8>
+         ^
+include/drivers/serial_at_cmd_app.c(50): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t data_buff[data_buff_MAX][2];    //<BB><F9>站<CA><FD><BE>莼<BA><B4><E6><C7><F8>
+^
+include/drivers/serial_at_cmd_app.c(52): warning: no previous extern declaration for non-static variable 'char_mac' [-Wmissing-variable-declarations]
+char  char_mac[14],char_ssi[6];
+      ^
+include/drivers/serial_at_cmd_app.c(52): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+char  char_mac[14],char_ssi[6];
+^
+include/drivers/serial_at_cmd_app.c(52): warning: no previous extern declaration for non-static variable 'char_ssi' [-Wmissing-variable-declarations]
+char  char_mac[14],char_ssi[6];
+                   ^
+include/drivers/serial_at_cmd_app.c(52): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+char  char_mac[14],char_ssi[6];
+^
+include/drivers/serial_at_cmd_app.c(54): warning: no previous extern declaration for non-static variable 'ssi_double' [-Wmissing-variable-declarations]
+double ssi_double;
+       ^
+include/drivers/serial_at_cmd_app.c(54): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+double ssi_double;
+^
+include/drivers/serial_at_cmd_app.c(55): warning: no previous extern declaration for non-static variable 'temp_16' [-Wmissing-variable-declarations]
+uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
+         ^
+include/drivers/serial_at_cmd_app.c(55): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
+^
+include/drivers/serial_at_cmd_app.c(55): warning: no previous extern declaration for non-static variable 'temp_16_id' [-Wmissing-variable-declarations]
+uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
+                 ^
+include/drivers/serial_at_cmd_app.c(55): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
+^
+include/drivers/serial_at_cmd_app.c(55): warning: no previous extern declaration for non-static variable 'temp_16_distance' [-Wmissing-variable-declarations]
+uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
+                            ^
+include/drivers/serial_at_cmd_app.c(55): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
+^
+include/drivers/serial_at_cmd_app.c(55): warning: no previous extern declaration for non-static variable 'data_buff_start' [-Wmissing-variable-declarations]
+uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
+                                             ^
+include/drivers/serial_at_cmd_app.c(55): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
+^
+31 warnings generated.
+compiling serial_at_cmd_app.c...
+include/main/main.c(57): warning: no previous extern declaration for non-static variable 'trx_buf' [-Wmissing-variable-declarations]
+uint8_t trx_buf[10] = {0};
+        ^
+include/main/main.c(57): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t trx_buf[10] = {0};
+^
+include/main/main.c(72): warning: no previous extern declaration for non-static variable 'test_uart_cfg' [-Wmissing-variable-declarations]
+struct UART_CFG_T test_uart_cfg =
+                  ^
+include/main/main.c(72): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+struct UART_CFG_T test_uart_cfg =
+^
+include/main/main.c(97): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
+    ASSERT(status, "WDT TIMEOUT<A3><AC><B3><CC><D0><F2><B8><B4>位");
+                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+./include/drivers\mk_trace.h(144): note: expanded from macro 'ASSERT'
+    trace_assert_dump(__FILE__, __FUNCTION__, __LINE__, str, ##__VA_ARGS__)
+                                                        ^~~
+include/main/main.c(114): warning: no previous extern declaration for non-static variable 'app_wdt_cfg' [-Wmissing-variable-declarations]
+ struct WDT_CFG_T app_wdt_cfg = {
+                  ^
+include/main/main.c(114): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+ struct WDT_CFG_T app_wdt_cfg = {
+ ^
+include/main/main.c(121): warning: no previous extern declaration for non-static variable 'state5v' [-Wmissing-variable-declarations]
+uint8_t state5v = 1;
+        ^
+include/main/main.c(121): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t state5v = 1;
+^
+include/main/main.c(122): warning: no previous extern declaration for non-static variable 'bat_percent' [-Wmissing-variable-declarations]
+uint8_t bat_percent=0,g_start_send_flag=1;
+        ^
+include/main/main.c(122): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t bat_percent=0,g_start_send_flag=1;
+^
+include/main/main.c(122): warning: no previous extern declaration for non-static variable 'g_start_send_flag' [-Wmissing-variable-declarations]
+uint8_t bat_percent=0,g_start_send_flag=1;
+                      ^
+include/main/main.c(122): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t bat_percent=0,g_start_send_flag=1;
+^
+include/main/main.c(171): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
+            bat_percent = ((fVoltage_mv - 3000) /8);
+                        ~  ~~~~~~~~~~~~~~~~~~~~~^~
+include/main/main.c(178): warning: unused variable 'lost_jumpcount' [-Wunused-variable]
+        static uint8_t lost_jumpcount=0;
+                       ^
+include/main/main.c(222): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
+            bat_percent = ((fVoltage_mv - 3300) /8);
+                        ~  ~~~~~~~~~~~~~~~~~~~~~^~
+include/main/main.c(236): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
+group_id=g_com_map[GROUP_ID];
+        ~^~~~~~~~~~~~~~~~~~~
+include/main/main.c(238): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
+tag_frequency=1000/g_com_map[COM_INTERVAL];     
+             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
+include/main/main.c(240): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
+LOG_INFO(TRACE_MODULE_APP,"<C9>璞窱D: %x .\r\n",dev_id);
+                           ^~~~
+./include/drivers\mk_trace.h(170): note: expanded from macro 'LOG_INFO'
+#define LOG_INFO(LOG_MODULE, str, ...) TRACE(LOG_MODULE, TRACE_LEVEL_INFO, str, ##__VA_ARGS__)
+                                                                           ^~~
+./include/drivers\mk_trace.h(132): note: expanded from macro 'TRACE'
+#define TRACE(module, level, str, ...) trace_printf((module), (level), (str), ##__VA_ARGS__)
+                                                                        ^~~
+include/main/main.c(241): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
+LOG_INFO(TRACE_MODULE_APP,"<B9>碳<FE><B0>姹�:UWB-<B1><EA>签 V%d.%d. \r\n",g_com_map[VERSION]>>8,g_com_map[VERSION]&0xff);
+                           ^~~~~~~~~~~~       ~~~~~~~~
+./include/drivers\mk_trace.h(170): note: expanded from macro 'LOG_INFO'
+#define LOG_INFO(LOG_MODULE, str, ...) TRACE(LOG_MODULE, TRACE_LEVEL_INFO, str, ##__VA_ARGS__)
+                                                                           ^~~
+./include/drivers\mk_trace.h(132): note: expanded from macro 'TRACE'
+#define TRACE(module, level, str, ...) trace_printf((module), (level), (str), ##__VA_ARGS__)
+                                                                        ^~~
+include/main/main.c(284): warning: implicit declaration of function 'reset_cause_get' is invalid in C99 [-Wimplicit-function-declaration]
+    reset_cause_get();
+    ^
+include/main/main.c(285): warning: implicit declaration of function 'reset_cause_clear' is invalid in C99 [-Wimplicit-function-declaration]
+    reset_cause_clear();
+    ^
+include/main/main.c(326): warning: implicit declaration of function 'Tag_uwb_init' is invalid in C99 [-Wimplicit-function-declaration]
+                Tag_uwb_init();
+                ^
+include/main/main.c(351): warning: implicit declaration of function 'LoraUp_Poll' is invalid in C99 [-Wimplicit-function-declaration]
+                        LoraUp_Poll();
+                        ^
+include/main/main.c(68): warning: no previous extern declaration for non-static variable 'enable_sleep_count' [-Wmissing-variable-declarations]
+uint8_t enable_sleep_count,sleep_flag;
+        ^
+include/main/main.c(68): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t enable_sleep_count,sleep_flag;
+^
+include/main/main.c(68): warning: no previous extern declaration for non-static variable 'sleep_flag' [-Wmissing-variable-declarations]
+uint8_t enable_sleep_count,sleep_flag;
+                           ^
+include/main/main.c(68): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t enable_sleep_count,sleep_flag;
+^
+include/main/main.c(69): warning: no previous extern declaration for non-static variable 'battery_get_count' [-Wmissing-variable-declarations]
+uint32_t battery_get_count;
+         ^
+include/main/main.c(69): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint32_t battery_get_count;
+^
+include/main/main.c(123): warning: no previous extern declaration for non-static variable 'fVoltage_mv' [-Wmissing-variable-declarations]
+int16_t fVoltage_mv;
+        ^
+include/main/main.c(123): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+int16_t fVoltage_mv;
+^
+include/main/main.c(128): warning: no previous extern declaration for non-static variable 'tag_frequency' [-Wmissing-variable-declarations]
+uint8_t tag_frequency;
+        ^
+include/main/main.c(128): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t tag_frequency;
+^
+include/main/main.c(100): warning: unused variable 'sample' [-Wunused-variable]
+static uint32_t sample[NUM_SAMPLES] = {0};
+                ^
+include/main/main.c(101): warning: unused variable 'usr_adc_cfg' [-Wunused-variable]
+static struct ADC_CFG_T usr_adc_cfg = {
+                        ^
+include/main/main.c(203): warning: unused function 'adc_callback' [-Wunused-function]
+static void adc_callback(void *data, uint32_t number)
+            ^
+include/main/main.c(228): warning: unused function 'voltage_input_handler' [-Wunused-function]
+static void voltage_input_handler(enum IO_PIN_T pin)
+            ^
+27 warnings generated.
+compiling main.c...
 uwb_tag_.c(9): warning: In file included from...
 ./dw_app.h(132): warning: no newline at end of file [-Wnewline-eof]
 #endif
@@ -89,75 +474,75 @@
 void uwb_poll_buffer_construct(void)
 ^
 static 
-uwb_tag_.c(360): warning: no previous prototype for function 'FindNearBasePos' [-Wmissing-prototypes]
+uwb_tag_.c(362): warning: no previous prototype for function 'FindNearBasePos' [-Wmissing-prototypes]
 uint8_t FindNearBasePos(uint16_t baseid)//寻<D5>业<B1>前<C1>斜<ED><D6>械幕<F9>站<B7><B5><BB><D8><CB><F7><D2><FD>
         ^
-uwb_tag_.c(360): note: declare 'static' if the function is not intended to be used outside of this translation unit
+uwb_tag_.c(362): note: declare 'static' if the function is not intended to be used outside of this translation unit
 uint8_t FindNearBasePos(uint16_t baseid)//寻<D5>业<B1>前<C1>斜<ED><D6>械幕<F9>站<B7><B5><BB><D8><CB><F7><D2><FD>
 ^
 static 
-uwb_tag_.c(370): warning: non-void function does not return a value in all control paths [-Wreturn-type]
+uwb_tag_.c(372): warning: non-void function does not return a value in all control paths [-Wreturn-type]
 }
 ^
-uwb_tag_.c(394): warning: unused variable 'temp' [-Wunused-variable]
+uwb_tag_.c(396): warning: unused variable 'temp' [-Wunused-variable]
         uint16_t i,j=0,temp[TAG_NUM_IN_SYS];
                        ^
-uwb_tag_.c(415): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(417): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                                                 temp_dist=true_nearbase_distlist[j];
                                                          ~^~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(417): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(419): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                                                 temp_exsis=true_exsistbase_list[i];
                                                           ~^~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(422): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
+uwb_tag_.c(424): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
                                                 true_nearbase_distlist[j+1]=temp_dist;
                                                                            ~^~~~~~~~~
-uwb_tag_.c(423): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(425): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
                                                 true_nearbase_idlist[j+1]=temp_id;
                                                                          ~^~~~~~~
-uwb_tag_.c(424): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
+uwb_tag_.c(426): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
                                                 true_exsistbase_list[j+1]=temp_exsis;
                                                                          ~^~~~~~~~~~
-uwb_tag_.c(432): warning: implicit conversion loses integer precision: 'int32_t' (aka 'int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
+uwb_tag_.c(434): warning: implicit conversion loses integer precision: 'int32_t' (aka 'int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
                                 exsistbase_list[i] = true_exsistbase_list[i];
                                                    ~ ^~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(446): warning: variable 'temp' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
+uwb_tag_.c(448): warning: variable 'temp' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
     if(taglist_total_num<MAX_TAG_LIST_NUM)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(448): note: uninitialized use occurs here
+uwb_tag_.c(450): note: uninitialized use occurs here
         return temp;
                ^~~~
-uwb_tag_.c(446): note: remove the 'if' if its condition is always true
+uwb_tag_.c(448): note: remove the 'if' if its condition is always true
     if(taglist_total_num<MAX_TAG_LIST_NUM)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(437): note: initialize the variable 'temp' to silence this warning
+uwb_tag_.c(439): note: initialize the variable 'temp' to silence this warning
     uint16_t temp;
                  ^
                   = 0
-uwb_tag_.c(451): warning: no previous extern declaration for non-static variable 'tt' [-Wmissing-variable-declarations]
+uwb_tag_.c(453): warning: no previous extern declaration for non-static variable 'tt' [-Wmissing-variable-declarations]
 int tt=1;
     ^
-uwb_tag_.c(451): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(453): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 int tt=1;
 ^
-uwb_tag_.c(492): warning: no previous extern declaration for non-static variable 'sleep_time_step' [-Wmissing-variable-declarations]
+uwb_tag_.c(494): warning: no previous extern declaration for non-static variable 'sleep_time_step' [-Wmissing-variable-declarations]
 int sleep_time_step=SLEEP_COUNT;
     ^
-uwb_tag_.c(492): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(494): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 int sleep_time_step=SLEEP_COUNT;
 ^
-uwb_tag_.c(501): warning: no previous extern declaration for non-static variable 'time' [-Wmissing-variable-declarations]
+uwb_tag_.c(503): warning: no previous extern declaration for non-static variable 'time' [-Wmissing-variable-declarations]
 uint8_t shengji_flag,time=5;
                      ^
-uwb_tag_.c(501): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(503): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 uint8_t shengji_flag,time=5;
 ^
-uwb_tag_.c(508): warning: implicit declaration of function 'Checksum_u16' is invalid in C99 [-Wimplicit-function-declaration]
+uwb_tag_.c(510): warning: implicit declaration of function 'Checksum_u16' is invalid in C99 [-Wimplicit-function-declaration]
                     checksum1=Checksum_u16(rx_buf,rx_length-2);
                               ^
-uwb_tag_.c(508): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(510): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
                     checksum1=Checksum_u16(rx_buf,rx_length-2);
                              ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(554): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
+uwb_tag_.c(556): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                                     LOG_INFO(TRACE_MODULE_APP, "<BD><F8><C8><EB><C9><FD><BC><B6>模式,<BD><D3><CA><D5><CE>募<FE><B4><F3>小%d\r\n",rec_wenjian_daxiao); 
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
 ./include/drivers\mk_trace.h(170): note: expanded from macro 'LOG_INFO'
@@ -166,101 +551,101 @@
 ./include/drivers\mk_trace.h(132): note: expanded from macro 'TRACE'
 #define TRACE(module, level, str, ...) trace_printf((module), (level), (str), ##__VA_ARGS__)
                                                                         ^~~
-uwb_tag_.c(505): warning: no previous prototype for function 'Uwb_Update' [-Wmissing-prototypes]
+uwb_tag_.c(507): warning: no previous prototype for function 'Uwb_Update' [-Wmissing-prototypes]
 void Uwb_Update(void)
      ^
-uwb_tag_.c(505): note: declare 'static' if the function is not intended to be used outside of this translation unit
+uwb_tag_.c(507): note: declare 'static' if the function is not intended to be used outside of this translation unit
 void Uwb_Update(void)
 ^
 static 
-uwb_tag_.c(546): warning: result of comparison of constant 331776 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
+uwb_tag_.c(548): warning: result of comparison of constant 331776 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
                                     if(rec_wenjian_daxiao>APP_SIZE||rec_wenjian_daxiao==0)
                                        ~~~~~~~~~~~~~~~~~~^~~~~~~~~
-uwb_tag_.c(539): warning: 'break' will never be executed [-Wunreachable-code-break]
+uwb_tag_.c(541): warning: 'break' will never be executed [-Wunreachable-code-break]
                                     break; 
                                     ^~~~~
-uwb_tag_.c(580): warning: implicit declaration of function 'Checksum_u16' is invalid in C99 [-Wimplicit-function-declaration]
+uwb_tag_.c(582): warning: implicit declaration of function 'Checksum_u16' is invalid in C99 [-Wimplicit-function-declaration]
         checksum = Checksum_u16(uwb_sendbuffer,11+data_length);
                    ^
-uwb_tag_.c(580): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(582): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
         checksum = Checksum_u16(uwb_sendbuffer,11+data_length);
                  ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(585): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(587): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
     tempflag=uwb_tx(uwb_sendbuffer,data_length+13,1,poll_tx_en_start_u32);//<C1><A2><BC><B4><B7><A2><CB><CD>  
             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(598): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(600): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                 tempflag=uwb_tx(uwb_sendbuffer,13+4*tag_num_tosend,1,poll_tx_en_start_u32);//<C1><A2><BC><B4><B7><A2><CB><CD>
                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(614): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(616): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
         tempflag=uwb_rx(1,resp_rx_en_start_u32, RESP_RX_TIMEOUT_US);
                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(634): warning: implicit declaration of function 'IdleTask' is invalid in C99 [-Wimplicit-function-declaration]
+uwb_tag_.c(636): warning: implicit declaration of function 'IdleTask' is invalid in C99 [-Wimplicit-function-declaration]
                                                 IdleTask();
                                                 ^
-uwb_tag_.c(646): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(648): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                         tempflag=uwb_rx(0, 0, RESP_RX_TIMEOUT_US);//<C1><A2><BC><B4><BF><AA><C6><F4><BD><D3><CA>懿<A2><C9><E8><D6><C3>0<B3><AC>时
                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(655): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
+uwb_tag_.c(657): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
                                                                 rec_tag_index = CmpTagInList(rec_nearbaseid);//<B5><B1>前<D0><C2><C0><B4><B5><C4><D5><E2><B0><FC><CA><FD><BE>莶<E5><C8>氲鼻�<B1><ED><D6>械<C4>位<D6><C3><CB><F7><D2><FD>
                                                                               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(659): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
+uwb_tag_.c(661): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
                                                                         SetANCTimestap(temp_index,&rx_buf[RESP_MSG_POLL_RX_TS_IDX],&rx_buf[RESP_MSG_RESP_TX_TS_IDX],(uint32_t)resp_rx_ts_i64,&rx_buf[RESP_MSG_ANC_DISTOFFSET],test2,(uint32_t)poll_tx_ts_i64);
                                                                         ~~~~~~~~~~~~~~ ^~~~~~~~~~
-uwb_tag_.c(682): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(684): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                 tempflag=uwb_rx(0, 0, RESP_RX_TIMEOUT_US);//<C1><A2><BC><B4><BF><AA><C6><F4><BD><D3><CA>懿<A2><C9><E8><D6><C3>0<B3><AC>时
                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(714): warning: non-void function does not return a value [-Wreturn-type]
+uwb_tag_.c(716): warning: non-void function does not return a value [-Wreturn-type]
 }
 ^
-uwb_tag_.c(716): warning: no previous prototype for function 'UpdateCRC16' [-Wmissing-prototypes]
+uwb_tag_.c(718): warning: no previous prototype for function 'UpdateCRC16' [-Wmissing-prototypes]
 uint16_t UpdateCRC16(uint16_t crcIn, uint8_t byte)
          ^
-uwb_tag_.c(716): note: declare 'static' if the function is not intended to be used outside of this translation unit
+uwb_tag_.c(718): note: declare 'static' if the function is not intended to be used outside of this translation unit
 uint16_t UpdateCRC16(uint16_t crcIn, uint8_t byte)
 ^
 static 
-uwb_tag_.c(753): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(755): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
     crc = UpdateCRC16(crc,*data++);
           ~~~~~~~~~~~ ^~~
-uwb_tag_.c(755): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(757): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
   crc = UpdateCRC16(crc,0);
         ~~~~~~~~~~~ ^~~
-uwb_tag_.c(756): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(758): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
   crc = UpdateCRC16(crc,0);
         ~~~~~~~~~~~ ^~~
-uwb_tag_.c(746): warning: no previous prototype for function 'Cal_CRC16' [-Wmissing-prototypes]
+uwb_tag_.c(748): warning: no previous prototype for function 'Cal_CRC16' [-Wmissing-prototypes]
 uint16_t Cal_CRC16(const uint8_t* data, uint32_t size)
          ^
-uwb_tag_.c(746): note: declare 'static' if the function is not intended to be used outside of this translation unit
+uwb_tag_.c(748): note: declare 'static' if the function is not intended to be used outside of this translation unit
 uint16_t Cal_CRC16(const uint8_t* data, uint32_t size)
 ^
 static 
-uwb_tag_.c(760): warning: no previous prototype for function 'delay_ms' [-Wmissing-prototypes]
+uwb_tag_.c(762): warning: no previous prototype for function 'delay_ms' [-Wmissing-prototypes]
 void delay_ms(uint32_t nTimer)  
      ^
-uwb_tag_.c(760): note: declare 'static' if the function is not intended to be used outside of this translation unit
+uwb_tag_.c(762): note: declare 'static' if the function is not intended to be used outside of this translation unit
 void delay_ms(uint32_t nTimer)  
 ^
 static 
-uwb_tag_.c(796): warning: implicit declaration of function 'Checksum_u16' is invalid in C99 [-Wimplicit-function-declaration]
+uwb_tag_.c(798): warning: implicit declaration of function 'Checksum_u16' is invalid in C99 [-Wimplicit-function-declaration]
     crc16=Checksum_u16(send_lora_data,6);
           ^
-uwb_tag_.c(796): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(798): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
     crc16=Checksum_u16(send_lora_data,6);
          ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(802): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(804): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
     tempflag=uwb_tx(send_lora_data,8+2,1,poll_tx_en_start_u32);//<C1><A2><BC><B4><B7><A2><CB><CD>  
             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(808): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(810): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
     result=flash_open(FLASH_ID0,NULL);
           ~^~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(830): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(832): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
                 crc16=Checksum_u16(send_lora_data,8);
                      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(834): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
+uwb_tag_.c(836): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
                 jindu=(muqiandeshengjibao*100)/final_bag_num;
                      ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
-uwb_tag_.c(835): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
+uwb_tag_.c(837): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                 LOG_INFO(TRACE_MODULE_APP, "<C9><FD><BC><B6><BD><F8><B6><C8>%d\r\n",jindu);
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./include/drivers\mk_trace.h(170): note: expanded from macro 'LOG_INFO'
@@ -269,36 +654,36 @@
 ./include/drivers\mk_trace.h(132): note: expanded from macro 'TRACE'
 #define TRACE(module, level, str, ...) trace_printf((module), (level), (str), ##__VA_ARGS__)
                                                                         ^~~
-uwb_tag_.c(838): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(840): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                 tempflag=uwb_tx(send_lora_data,10+2,1,poll_tx_en_start_u32);//<C1><A2><BC><B4><B7><A2><CB><CD>
                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(845): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(847): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                 tempflag=uwb_rx(0,0, 50000);
                         ~^~~~~~~~~~~~~~~~~~
-uwb_tag_.c(857): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(859): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
                      result=flash_open(FLASH_ID0,NULL);
                            ~^~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(859): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(861): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
                      result12=flash_write_nbytes(FLASH_ID0, APP2_ADRESS+ONE_BAG_DAXIAO*muqiandeshengjibao, (uint8_t*)Zhongjian_data, ONE_BAG_DAXIAO);
                              ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(860): warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
+uwb_tag_.c(862): warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
                      while(!result12==0)
                            ^        ~~
-uwb_tag_.c(860): note: add parentheses after the '!' to evaluate the comparison first
+uwb_tag_.c(862): note: add parentheses after the '!' to evaluate the comparison first
                      while(!result12==0)
                            ^
                             (          )
-uwb_tag_.c(860): note: add parentheses around left hand side expression to silence this warning
+uwb_tag_.c(862): note: add parentheses around left hand side expression to silence this warning
                      while(!result12==0)
                            ^
                            (        )
-uwb_tag_.c(862): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(864): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
                      result12=flash_write_nbytes(FLASH_ID0, APP2_ADRESS+ONE_BAG_DAXIAO*muqiandeshengjibao, (uint8_t*)Zhongjian_data, ONE_BAG_DAXIAO);
                              ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(897): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(899): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
                 crc16=Checksum_u16(send_lora_data,6);
                      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(901): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
+uwb_tag_.c(903): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                 LOG_INFO(TRACE_MODULE_APP, "<D5><FD><D4>诜<A2><CB><CD><D7><EE><BA><F3>一<B0><FC>\r\n");    
                                             ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
 ./include/drivers\mk_trace.h(170): note: expanded from macro 'LOG_INFO'
@@ -307,23 +692,23 @@
 ./include/drivers\mk_trace.h(132): note: expanded from macro 'TRACE'
 #define TRACE(module, level, str, ...) trace_printf((module), (level), (str), ##__VA_ARGS__)
                                                                         ^~~
-uwb_tag_.c(903): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
+uwb_tag_.c(905): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                 tempflag=uwb_tx(send_lora_data,8+2,1,poll_tx_en_start_u32);//<C1><A2><BC><B4><B7><A2><CB><CD>  
                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(910): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(912): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
                 result=flash_open(FLASH_ID0,NULL); 
                       ~^~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(911): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
+uwb_tag_.c(913): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
                 result11=flash_erase(FLASH_ID0,APP_1OR2_ADRESS,0x1000);
                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-uwb_tag_.c(781): warning: no previous prototype for function 'LoraUp_Poll' [-Wmissing-prototypes]
+uwb_tag_.c(783): warning: no previous prototype for function 'LoraUp_Poll' [-Wmissing-prototypes]
 void LoraUp_Poll(void)
      ^
-uwb_tag_.c(781): note: declare 'static' if the function is not intended to be used outside of this translation unit
+uwb_tag_.c(783): note: declare 'static' if the function is not intended to be used outside of this translation unit
 void LoraUp_Poll(void)
 ^
 static 
-uwb_tag_.c(888): warning: 'break' will never be executed [-Wunreachable-code-break]
+uwb_tag_.c(890): warning: 'break' will never be executed [-Wunreachable-code-break]
                     break;
                     ^~~~~
 uwb_tag_.c(52): warning: no previous extern declaration for non-static variable 'dev_id' [-Wmissing-variable-declarations]
@@ -560,160 +945,160 @@
 uwb_tag_.c(195): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 uint32_t count1,count2;
 ^
-uwb_tag_.c(259): warning: no previous extern declaration for non-static variable 'temp_rx_first_stamp' [-Wmissing-variable-declarations]
+uwb_tag_.c(261): warning: no previous extern declaration for non-static variable 'temp_rx_first_stamp' [-Wmissing-variable-declarations]
 uint32_t temp_rx_first_stamp,temp_rx_second_stamp;
          ^
-uwb_tag_.c(259): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(261): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 uint32_t temp_rx_first_stamp,temp_rx_second_stamp;
 ^
-uwb_tag_.c(259): warning: no previous extern declaration for non-static variable 'temp_rx_second_stamp' [-Wmissing-variable-declarations]
+uwb_tag_.c(261): warning: no previous extern declaration for non-static variable 'temp_rx_second_stamp' [-Wmissing-variable-declarations]
 uint32_t temp_rx_first_stamp,temp_rx_second_stamp;
                              ^
-uwb_tag_.c(259): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(261): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 uint32_t temp_rx_first_stamp,temp_rx_second_stamp;
 ^
-uwb_tag_.c(260): warning: no previous extern declaration for non-static variable 'temp_rx_first_id' [-Wmissing-variable-declarations]
+uwb_tag_.c(262): warning: no previous extern declaration for non-static variable 'temp_rx_first_id' [-Wmissing-variable-declarations]
 uint16_t temp_rx_first_id,temp_rx_second_id;
          ^
-uwb_tag_.c(260): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(262): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 uint16_t temp_rx_first_id,temp_rx_second_id;
 ^
-uwb_tag_.c(260): warning: no previous extern declaration for non-static variable 'temp_rx_second_id' [-Wmissing-variable-declarations]
+uwb_tag_.c(262): warning: no previous extern declaration for non-static variable 'temp_rx_second_id' [-Wmissing-variable-declarations]
 uint16_t temp_rx_first_id,temp_rx_second_id;
                           ^
-uwb_tag_.c(260): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(262): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 uint16_t temp_rx_first_id,temp_rx_second_id;
 ^
-uwb_tag_.c(391): warning: no previous extern declaration for non-static variable 'temp_j' [-Wmissing-variable-declarations]
+uwb_tag_.c(393): warning: no previous extern declaration for non-static variable 'temp_j' [-Wmissing-variable-declarations]
 int temp_j;
     ^
-uwb_tag_.c(391): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(393): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 int temp_j;
 ^
-uwb_tag_.c(450): warning: no previous extern declaration for non-static variable 'count_index' [-Wmissing-variable-declarations]
+uwb_tag_.c(452): warning: no previous extern declaration for non-static variable 'count_index' [-Wmissing-variable-declarations]
 uint32_t count_index;
          ^
-uwb_tag_.c(450): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(452): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 uint32_t count_index;
 ^
-uwb_tag_.c(452): warning: no previous extern declaration for non-static variable 'freqlost_count' [-Wmissing-variable-declarations]
+uwb_tag_.c(454): warning: no previous extern declaration for non-static variable 'freqlost_count' [-Wmissing-variable-declarations]
 float freqlost_count;
       ^
-uwb_tag_.c(452): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(454): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 float freqlost_count;
 ^
-uwb_tag_.c(493): warning: no previous extern declaration for non-static variable 'rand_temp' [-Wmissing-variable-declarations]
+uwb_tag_.c(495): warning: no previous extern declaration for non-static variable 'rand_temp' [-Wmissing-variable-declarations]
 int rand_temp;
     ^
-uwb_tag_.c(493): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uwb_tag_.c(495): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 int rand_temp;
 ^
-uwb_tag_.c(495): warning: no previous extern declaration for non-static variable 'rec_index' [-Wmissing-variable-declarations]
+uwb_tag_.c(497): warning: no previous extern declaration for non-static variable 'rec_index' [-Wmissing-variable-declarations]
 uint8_t rec_index,rec_secdelay;
-        ^
-uwb_tag_.c(495): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint8_t rec_index,rec_secdelay;
-^
-uwb_tag_.c(495): warning: no previous extern declaration for non-static variable 'rec_secdelay' [-Wmissing-variable-declarations]
-uint8_t rec_index,rec_secdelay;
-                  ^
-uwb_tag_.c(495): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint8_t rec_index,rec_secdelay;
-^
-uwb_tag_.c(496): warning: no previous extern declaration for non-static variable 'rec_value' [-Wmissing-variable-declarations]
-uint16_t rec_value;
-         ^
-uwb_tag_.c(496): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint16_t rec_value;
-^
-uwb_tag_.c(497): warning: no previous extern declaration for non-static variable 'readgcom_flag' [-Wmissing-variable-declarations]
-uint8_t readgcom_flag;
         ^
 uwb_tag_.c(497): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint8_t readgcom_flag;
+uint8_t rec_index,rec_secdelay;
 ^
-uwb_tag_.c(498): warning: no previous extern declaration for non-static variable 'wg_report_id' [-Wmissing-variable-declarations]
-uint16_t wg_report_id;
+uwb_tag_.c(497): warning: no previous extern declaration for non-static variable 'rec_secdelay' [-Wmissing-variable-declarations]
+uint8_t rec_index,rec_secdelay;
+                  ^
+uwb_tag_.c(497): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t rec_index,rec_secdelay;
+^
+uwb_tag_.c(498): warning: no previous extern declaration for non-static variable 'rec_value' [-Wmissing-variable-declarations]
+uint16_t rec_value;
          ^
 uwb_tag_.c(498): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t rec_value;
+^
+uwb_tag_.c(499): warning: no previous extern declaration for non-static variable 'readgcom_flag' [-Wmissing-variable-declarations]
+uint8_t readgcom_flag;
+        ^
+uwb_tag_.c(499): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t readgcom_flag;
+^
+uwb_tag_.c(500): warning: no previous extern declaration for non-static variable 'wg_report_id' [-Wmissing-variable-declarations]
+uint16_t wg_report_id;
+         ^
+uwb_tag_.c(500): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 uint16_t wg_report_id;
 ^
-uwb_tag_.c(776): warning: no previous extern declaration for non-static variable 'rec_wenjian_daxiao' [-Wmissing-variable-declarations]
+uwb_tag_.c(778): warning: no previous extern declaration for non-static variable 'rec_wenjian_daxiao' [-Wmissing-variable-declarations]
 uint16_t rec_wenjian_daxiao;
-         ^
-uwb_tag_.c(776): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint16_t rec_wenjian_daxiao;
-^
-uwb_tag_.c(773): warning: no previous extern declaration for non-static variable 'wangguan_up_id' [-Wmissing-variable-declarations]
-uint16_t wangguan_up_id;
-         ^
-uwb_tag_.c(773): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint16_t wangguan_up_id;
-^
-uwb_tag_.c(772): warning: no previous extern declaration for non-static variable 'shengji_flag' [-Wmissing-variable-declarations]
-uint8_t shengji_flag;
-        ^
-uwb_tag_.c(772): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint8_t shengji_flag;
-^
-uwb_tag_.c(775): warning: no previous extern declaration for non-static variable 'LoraUp_flag' [-Wmissing-variable-declarations]
-uint8_t LoraUp_flag;
-        ^
-uwb_tag_.c(775): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint8_t LoraUp_flag;
-^
-uwb_tag_.c(504): warning: no previous extern declaration for non-static variable 'checksum1' [-Wmissing-variable-declarations]
-uint16_t checksum1;
-         ^
-uwb_tag_.c(504): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint16_t checksum1;
-^
-uwb_tag_.c(765): warning: no previous extern declaration for non-static variable 'send_lora_data' [-Wmissing-variable-declarations]
-uint8_t send_lora_data[250];
-        ^
-uwb_tag_.c(765): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint8_t send_lora_data[250];
-^
-uwb_tag_.c(766): warning: no previous extern declaration for non-static variable 'muqiandeshengjibao' [-Wmissing-variable-declarations]
-uint16_t muqiandeshengjibao;
-         ^
-uwb_tag_.c(766): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint16_t muqiandeshengjibao;
-^
-uwb_tag_.c(768): warning: no previous extern declaration for non-static variable 'huifushengjibaoerror_num' [-Wmissing-variable-declarations]
-uint8_t huifushengjibaoerror_num;
-        ^
-uwb_tag_.c(768): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint8_t huifushengjibaoerror_num;
-^
-uwb_tag_.c(770): warning: no previous extern declaration for non-static variable 'testflag' [-Wmissing-variable-declarations]
-uint16_t testflag;
-         ^
-uwb_tag_.c(770): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint16_t testflag;
-^
-uwb_tag_.c(771): warning: no previous extern declaration for non-static variable 'Zhongjian_data' [-Wmissing-variable-declarations]
-uint32_t Zhongjian_data[60];
-         ^
-uwb_tag_.c(771): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint32_t Zhongjian_data[60];
-^
-uwb_tag_.c(774): warning: no previous extern declaration for non-static variable 'huifushengjibao_flag' [-Wmissing-variable-declarations]
-uint8_t huifushengjibao_flag;
-        ^
-uwb_tag_.c(774): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint8_t huifushengjibao_flag;
-^
-uwb_tag_.c(777): warning: no previous extern declaration for non-static variable 'lora_up_rec_flag' [-Wmissing-variable-declarations]
-uint8_t lora_up_rec_flag;
-        ^
-uwb_tag_.c(777): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint8_t lora_up_rec_flag;
-^
-uwb_tag_.c(778): warning: no previous extern declaration for non-static variable 'flash_shuju' [-Wmissing-variable-declarations]
-uint16_t flash_shuju;
          ^
 uwb_tag_.c(778): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t rec_wenjian_daxiao;
+^
+uwb_tag_.c(775): warning: no previous extern declaration for non-static variable 'wangguan_up_id' [-Wmissing-variable-declarations]
+uint16_t wangguan_up_id;
+         ^
+uwb_tag_.c(775): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t wangguan_up_id;
+^
+uwb_tag_.c(774): warning: no previous extern declaration for non-static variable 'shengji_flag' [-Wmissing-variable-declarations]
+uint8_t shengji_flag;
+        ^
+uwb_tag_.c(774): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t shengji_flag;
+^
+uwb_tag_.c(777): warning: no previous extern declaration for non-static variable 'LoraUp_flag' [-Wmissing-variable-declarations]
+uint8_t LoraUp_flag;
+        ^
+uwb_tag_.c(777): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t LoraUp_flag;
+^
+uwb_tag_.c(506): warning: no previous extern declaration for non-static variable 'checksum1' [-Wmissing-variable-declarations]
+uint16_t checksum1;
+         ^
+uwb_tag_.c(506): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t checksum1;
+^
+uwb_tag_.c(767): warning: no previous extern declaration for non-static variable 'send_lora_data' [-Wmissing-variable-declarations]
+uint8_t send_lora_data[250];
+        ^
+uwb_tag_.c(767): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t send_lora_data[250];
+^
+uwb_tag_.c(768): warning: no previous extern declaration for non-static variable 'muqiandeshengjibao' [-Wmissing-variable-declarations]
+uint16_t muqiandeshengjibao;
+         ^
+uwb_tag_.c(768): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t muqiandeshengjibao;
+^
+uwb_tag_.c(770): warning: no previous extern declaration for non-static variable 'huifushengjibaoerror_num' [-Wmissing-variable-declarations]
+uint8_t huifushengjibaoerror_num;
+        ^
+uwb_tag_.c(770): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t huifushengjibaoerror_num;
+^
+uwb_tag_.c(772): warning: no previous extern declaration for non-static variable 'testflag' [-Wmissing-variable-declarations]
+uint16_t testflag;
+         ^
+uwb_tag_.c(772): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint16_t testflag;
+^
+uwb_tag_.c(773): warning: no previous extern declaration for non-static variable 'Zhongjian_data' [-Wmissing-variable-declarations]
+uint32_t Zhongjian_data[60];
+         ^
+uwb_tag_.c(773): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint32_t Zhongjian_data[60];
+^
+uwb_tag_.c(776): warning: no previous extern declaration for non-static variable 'huifushengjibao_flag' [-Wmissing-variable-declarations]
+uint8_t huifushengjibao_flag;
+        ^
+uwb_tag_.c(776): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t huifushengjibao_flag;
+^
+uwb_tag_.c(779): warning: no previous extern declaration for non-static variable 'lora_up_rec_flag' [-Wmissing-variable-declarations]
+uint8_t lora_up_rec_flag;
+        ^
+uwb_tag_.c(779): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint8_t lora_up_rec_flag;
+^
+uwb_tag_.c(780): warning: no previous extern declaration for non-static variable 'flash_shuju' [-Wmissing-variable-declarations]
+uint16_t flash_shuju;
+         ^
+uwb_tag_.c(780): note: declare 'static' if the variable is not intended to be used outside of this translation unit
 uint16_t flash_shuju;
 ^
 uwb_tag_.c(150): warning: unused variable 'tx_poll_msg' [-Wunused-variable]
@@ -731,36 +1116,36 @@
 uwb_tag_.c(162): warning: unused variable 'final_tx_ts_i64' [-Wunused-variable]
 static int64_t final_tx_ts_i64;
                ^
-uwb_tag_.c(226): warning: unused variable 'state' [-Wunused-variable]
+uwb_tag_.c(228): warning: unused variable 'state' [-Wunused-variable]
 static enum SIMPLE_FSM_T state = SIMPLE_IDLE;
                          ^
-uwb_tag_.c(767): warning: unused variable 'current_count1' [-Wunused-variable]
+uwb_tag_.c(769): warning: unused variable 'current_count1' [-Wunused-variable]
 static uint16_t current_count1,target_count1,end_count1,start_count1;
                 ^
-uwb_tag_.c(767): warning: unused variable 'target_count1' [-Wunused-variable]
+uwb_tag_.c(769): warning: unused variable 'target_count1' [-Wunused-variable]
 static uint16_t current_count1,target_count1,end_count1,start_count1;
                                ^
-uwb_tag_.c(767): warning: unused variable 'end_count1' [-Wunused-variable]
+uwb_tag_.c(769): warning: unused variable 'end_count1' [-Wunused-variable]
 static uint16_t current_count1,target_count1,end_count1,start_count1;
                                              ^
-uwb_tag_.c(767): warning: unused variable 'start_count1' [-Wunused-variable]
+uwb_tag_.c(769): warning: unused variable 'start_count1' [-Wunused-variable]
 static uint16_t current_count1,target_count1,end_count1,start_count1;
                                                         ^
-uwb_tag_.c(779): warning: unused variable 'status_reg' [-Wunused-variable]
+uwb_tag_.c(781): warning: unused variable 'status_reg' [-Wunused-variable]
 static uint32_t status_reg;
                 ^
-uwb_tag_.c(780): warning: unused variable 'frame_len' [-Wunused-variable]
+uwb_tag_.c(782): warning: unused variable 'frame_len' [-Wunused-variable]
 static uint32_t frame_len;
                 ^
 144 warnings generated.
 compiling uwb_tag_.c...
 linking...
 .\include\devices\MK800X\Source\ARM\MK800X_ac6_copy.sct(25): warning: L6314W: No section matches pattern *(.XIP_SECTION).
-Program Size: Code=52572 RO-data=7292 RW-data=1284 ZI-data=26156  
+Program Size: Code=51120 RO-data=7292 RW-data=1284 ZI-data=26156  
 Finished: 0 information, 1 warning and 0 error messages.
 FromELF: creating hex file...
-After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\project chen\ChinaUWBProject_tag\keil\Objects\uwb_simple_example.axf"
-".\Objects\uwb_simple_example.axf" - 0 Error(s), 145 Warning(s).
+After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "C:\git-mk8000\ChinaUWBProject - tx\keil\Objects\uwb_simple_example.axf"
+".\Objects\uwb_simple_example.axf" - 0 Error(s), 222 Warning(s).
 
 <h2>Software Packages used:</h2>
 
@@ -771,10 +1156,10 @@
 
 <h2>Collection of Component include folders:</h2>
   .\RTE\_MK8000_Release
-  d:\Users\xookk\AppData\Local\Arm\Packs\MKSEMI\MK800X_DFP\1.0.3\Device\Include
+  C:\Keil_v5\ARM\PACK\MKSEMI\MK800X_DFP\1.0.3\Device\Include
 
 <h2>Collection of Component Files used:</h2>
-Build Time Elapsed:  00:00:07
+Build Time Elapsed:  00:00:05
 </pre>
 </body>
 </html>

--
Gitblit v1.9.3