From 6d0ef72024f3f677a9ba7457bbd303ea2fccfd7a Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期五, 31 五月 2024 17:50:29 +0800
Subject: [PATCH] 双spi改完能测距

---
 MDK-ARM/L051/L051.build_log.htm |  168 ++++++++++++++++---------------------------------------
 1 files changed, 49 insertions(+), 119 deletions(-)

diff --git a/MDK-ARM/L051/L051.build_log.htm b/MDK-ARM/L051/L051.build_log.htm
index c30db01..d28e7f2 100644
--- a/MDK-ARM/L051/L051.build_log.htm
+++ b/MDK-ARM/L051/L051.build_log.htm
@@ -21,131 +21,61 @@
 Dialog DLL:      TARMCM1.DLL V1.14.2.0
  
 <h2>Project:</h2>
-C:\git\XRange_Tag -Lora-R\MDK-ARM\L051.uvprojx
-Project File Date:  12/26/2023
+C:\git\XRange_Tag -Lora-R - L071 URT\MDK-ARM\L051.uvprojx
+Project File Date:  05/31/2024
 
 <h2>Output:</h2>
 *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
 Build target 'L051'
 Note: source file '..\Src\radio\crc.c' - object file renamed from 'L051\crc.o' to 'L051\crc_1.o'.
-compiling dw_ancapp.c...
-..\Src\application\dw_ancapp.c(147): warning:  #177-D: variable "temp"  was declared but never referenced
-  	uint16_t i,j=0,temp[TAG_NUM_IN_SYS];
-..\Src\application\dw_ancapp.c(198): warning:  #223-D: function "GetLPTime" declared implicitly
-          random_time = (GetLPTime()%100);
-..\Src\application\dw_ancapp.c(249): warning:  #940-D: missing return statement at end of non-void function "Anchor_RecNearPoll" 
-  }
-..\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
+compiling sx126x-board.c...
+..\Src\radio\sx126x-board.c(41): warning:  #223-D: function "printf" declared implicitly
+           printf("uwb_cs_error\r\n");
+..\Src\radio\sx126x-board.c(66): warning:  #223-D: function "delay_us" declared implicitly
+      delay_us( 2000 );
+..\Src\radio\sx126x-board.c: 2 warnings, 0 errors
+compiling main.c...
+../Drivers/ExternlDrivers/lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
+  void LIS3DH_ENTER_STY_Init();
+../Src/OnChipDevices/Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 123 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
+  #define FLASH_SIZE       		(uint32_t)0x10000
+../Src/application/syn6288.h(11): warning:  #1-D: last line of file ends without a newline
+   
+../Src/radio/lora.h(61): warning:  #1-D: last line of file ends without a newline
+  void LoraUp_Poll();
+../Src/radio/lora.h(61): warning:  #1295-D: Deprecated declaration LoraUp_Poll - give arg types
+  void LoraUp_Poll();
+../Src/radio/lora.h(61): warning:  #1-D: last line of file ends without a newline
+  void LoraUp_Poll();
+../Src/radio/lora.h(61): warning:  #1295-D: Deprecated declaration LoraUp_Poll - give arg types
+  void LoraUp_Poll();
+../Src/main.c(365): warning:  #186-D: pointless comparison of unsigned integer with zero
+  		if(module_power<0)
+../Src/main.c(310): warning:  #177-D: variable "temp"  was declared but never referenced
+      float temp;
+../Src/main.c(311): warning:  #177-D: variable "temp2"  was declared but never referenced
+  	uint16_t temp2;
+../Src/main.c(312): warning:  #177-D: variable "i"  was declared but never referenced
+  	uint16_t i;
+../Src/main.c(411): warning:  #177-D: variable "bat_count"  was declared but never referenced
+      static uint16_t bat_count = 0;
+../Src/main.c(565): warning:  #177-D: variable "l_u32QXpowerTick"  was declared but never referenced
+   static uint32_t l_u32QXpowerTick = 0;    
+../Src/main.c(566): warning:  #177-D: variable "powercount"  was declared but never referenced
+  static uint32_t powercount=0;
+../Src/main.c(764): warning:  #223-D: function "RadioIrqProcess" declared implicitly
+                RadioIrqProcess();
+../Src/main.c(1058): warning:  #223-D: function "Usart1InitVariables" declared implicitly
+  	Usart1InitVariables();
+../Src/main.c(926): warning:  #177-D: function "MX_IWDG_Init"  was declared but never referenced
+  static void MX_IWDG_Init(void)
+../Src/main.c(382): warning:  #177-D: function "SystemPower_Config"  was declared but never referenced
+  static void SystemPower_Config(void)
+../Src/main.c: 18 warnings, 0 errors
 linking...
-Program Size: Code=31052 RO-data=748 RW-data=528 ZI-data=6280  
+Program Size: Code=39532 RO-data=820 RW-data=668 ZI-data=8372  
 FromELF: creating hex file...
-"L051\L051.axf" - 0 Error(s), 56 Warning(s).
+"L051\L051.axf" - 0 Error(s), 20 Warning(s).
 
 <h2>Software Packages used:</h2>
 
@@ -168,7 +98,7 @@
 <h2>Collection of Component Files used:</h2>
 
    * Component: ARM::CMSIS:CORE:5.4.0
-Build Time Elapsed:  00:00:03
+Build Time Elapsed:  00:00:02
 </pre>
 </body>
 </html>

--
Gitblit v1.9.3