From 87f40001bac1e3595283dabe5ea3baaf38f255a5 Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期三, 27 十二月 2023 17:13:32 +0800
Subject: [PATCH] 咱们是一个频点写死,不会跳频不会跳时间。

---
 MDK-ARM/L051/L051.build_log.htm |  154 ++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 116 insertions(+), 38 deletions(-)

diff --git a/MDK-ARM/L051/L051.build_log.htm b/MDK-ARM/L051/L051.build_log.htm
index 9fc540b..c30db01 100644
--- a/MDK-ARM/L051/L051.build_log.htm
+++ b/MDK-ARM/L051/L051.build_log.htm
@@ -28,46 +28,124 @@
 *** 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 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 125 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
-  #define FLASH_SIZE       		(uint32_t)0x10000
-../Src/main.c(214): warning:  #177-D: variable "lptime1"  was declared but never referenced
-    int32_t lpcount1,lptime1,target_time1;
-../Src/main.c(214): warning:  #177-D: variable "target_time1"  was declared but never referenced
-    int32_t lpcount1,lptime1,target_time1;
-../Src/main.c(382): warning:  #186-D: pointless comparison of unsigned integer with zero
-  		if(module_power<0)
-../Src/main.c(331): warning:  #177-D: variable "temp"  was declared but never referenced
-  {	float temp;
-../Src/main.c(332): warning:  #177-D: variable "temp2"  was declared but never referenced
-  	uint16_t temp2;
-../Src/main.c(333): warning:  #177-D: variable "i"  was declared but never referenced
-  	uint16_t i;
-../Src/main.c(429): warning:  #177-D: variable "bat_count"  was declared but never referenced
-      static uint16_t bat_count = 0;
-../Src/main.c(473): warning:  #223-D: function "RadioIrqProcess" declared implicitly
-          RadioIrqProcess();
-../Src/main.c(539): warning:  #223-D: function "Lora47X_Init" declared implicitly
-      Lora47X_Init();    
-../Src/main.c(546): warning:  #223-D: function "Lora47X_Init" declared implicitly
-          Lora47X_Init();
-../Src/main.c(650): warning:  #223-D: function "Get_VDDVlotage" declared implicitly
-      bat_percent=Get_VDDVlotage();
-../Src/main.c(1002): warning:  #223-D: function "Usart1InitVariables" declared implicitly
-  	Usart1InitVariables();
-../Src/main.c(1210): warning:  #223-D: function "Get_VDDVlotage" declared implicitly
-          bat_percent=Get_VDDVlotage();
-../Src/main.c(804): warning:  #177-D: function "MX_IWDG_Init"  was declared but never referenced
-  static void MX_IWDG_Init(void)
-../Src/main.c(400): warning:  #177-D: function "SystemPower_Config"  was declared but never referenced
-  static void SystemPower_Config(void)
-../Src/main.c: 17 warnings, 0 errors
+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" 
+  }
+..\Src\application\dw_ancapp.c(305): 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
+              uint16_t tag_recv_interval;
+..\Src\application\dw_ancapp.c(261): 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
+  	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
+  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
 linking...
 Program Size: Code=31052 RO-data=748 RW-data=528 ZI-data=6280  
 FromELF: creating hex file...
-"L051\L051.axf" - 0 Error(s), 17 Warning(s).
+"L051\L051.axf" - 0 Error(s), 56 Warning(s).
 
 <h2>Software Packages used:</h2>
 
@@ -90,7 +168,7 @@
 <h2>Collection of Component Files used:</h2>
 
    * Component: ARM::CMSIS:CORE:5.4.0
-Build Time Elapsed:  00:00:02
+Build Time Elapsed:  00:00:03
 </pre>
 </body>
 </html>

--
Gitblit v1.9.3