From e0ab7433ec2d2cd78c3faeeddb56024a7d1a2aea Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期二, 24 九月 2024 16:02:27 +0800
Subject: [PATCH] 1.32,加入双击sos关闭lora发送

---
 MDK-ARM/L051/L051.build_log.htm |  255 +++++++++++++++++++++++++++++---------------------
 1 files changed, 147 insertions(+), 108 deletions(-)

diff --git a/MDK-ARM/L051/L051.build_log.htm b/MDK-ARM/L051/L051.build_log.htm
index f51bb27..cf79f13 100644
--- a/MDK-ARM/L051/L051.build_log.htm
+++ b/MDK-ARM/L051/L051.build_log.htm
@@ -26,34 +26,19 @@
 
 <h2>Output:</h2>
 *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
-Build target 'L051'
+Rebuild target 'L051'
 Note: source file '..\Src\radio\crc.c' - object file renamed from 'L051\crc.o' to 'L051\crc_1.o'.
-compiling CRC.c...
-..\Src\application\CRC.c(44): warning:  #1-D: last line of file ends without a newline
-  } 
-..\Src\application\CRC.c: 1 warning, 0 errors
-compiling Spi.c...
-..\Src\OnChipDevices\Spi.c(50): warning:  #177-D: variable "stat"  was declared but never referenced
-      decaIrqStatus_t  stat ;
-..\Src\OnChipDevices\Spi.c(101): warning:  #177-D: variable "stat"  was declared but never referenced
-      decaIrqStatus_t  stat ;
-..\Src\OnChipDevices\Spi.c: 2 warnings, 0 errors
-compiling dw_driver.c...
-..\Src\ExternalDevices\dw_driver.c(9): warning:  #223-D: function "delay_us" declared implicitly
-      delay_us(i);  
-..\Src\ExternalDevices\dw_driver.c: 1 warning, 0 errors
+compiling deca_range_tables.c...
+compiling dps310.c...
+..\Drivers\ExternlDrivers\dps310.c(264): warning:  #223-D: function "test_read_block" declared implicitly
+          ret = test_read_block(IFX_DPS310_PSR_TMP_READ_REG_ADDR,
+..\Drivers\ExternlDrivers\dps310.c: 1 warning, 0 errors
+assembling startup_stm32l051xx.s...
+compiling deca_params_init.c...
 compiling Flash.c...
 ..\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\OnChipDevices\Flash.c: 1 warning, 0 errors
-compiling syn6288.c...
-..\Src\application\syn6288.h(11): warning:  #1-D: last line of file ends without a newline
-   
-..\Src\application\syn6288.c(35): warning:  #223-D: function "delay_ms" declared implicitly
-    delay_ms(800);
-..\Src\application\syn6288.c(57): warning:  #1-D: last line of file ends without a newline
-   
-..\Src\application\syn6288.c: 3 warnings, 0 errors
 compiling ADC.c...
 ..\Src\OnChipDevices\ADC.c(11): warning:  #940-D: missing return statement at end of non-void function "Get_ADC_Value" 
   }
@@ -64,11 +49,24 @@
 ..\Src\OnChipDevices\ADC.c(69): warning:  #1-D: last line of file ends without a newline
   }
 ..\Src\OnChipDevices\ADC.c: 4 warnings, 0 errors
-compiling WS2812.c...
-..\Src\application\WS2812.c(108): warning:  #223-D: function "delay_us" declared implicitly
-      delay_us(50);
-..\Src\application\WS2812.c: 1 warning, 0 errors
-compiling Usart.c...
+compiling syn6288.c...
+..\Src\application\syn6288.h(11): warning:  #1-D: last line of file ends without a newline
+   
+..\Src\application\syn6288.c(35): warning:  #223-D: function "delay_ms" declared implicitly
+    delay_ms(800);
+..\Src\application\syn6288.c(57): warning:  #1-D: last line of file ends without a newline
+   
+..\Src\application\syn6288.c: 3 warnings, 0 errors
+compiling global_param.c...
+../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\global_param.c(20): warning:  #223-D: function "delay_ms" declared implicitly
+  		delay_ms(100);
+..\Src\application\global_param.c(34): warning:  #223-D: function "delay_ms" declared implicitly
+          delay_ms(200);
+..\Src\application\global_param.c(54): warning:  #68-D: integer conversion resulted in a change of sign
+  		g_com_map[DIST_OFFSET]=-31;
+..\Src\application\global_param.c: 4 warnings, 0 errors
 compiling serial_at_cmd_app.c...
 ..\Src\application\serial_at_cmd_app.c(11): warning:  #47-D: incompatible redefinition of macro "EUART_RX_BUF_SIZE"  (declared at line 40 of "../Src/OnChipDevices/Usart.h")
   #define EUART_RX_BUF_SIZE 100
@@ -87,16 +85,65 @@
 ..\Src\application\serial_at_cmd_app.c(117): warning:  #223-D: function "delay_ms" declared implicitly
   					delay_ms(100);
 ..\Src\application\serial_at_cmd_app.c: 8 warnings, 0 errors
-compiling global_param.c...
-../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\global_param.c(20): warning:  #223-D: function "delay_ms" declared implicitly
-  		delay_ms(100);
-..\Src\application\global_param.c(34): warning:  #223-D: function "delay_ms" declared implicitly
-          delay_ms(200);
-..\Src\application\global_param.c(54): warning:  #68-D: integer conversion resulted in a change of sign
-  		g_com_map[DIST_OFFSET]=-31;
-..\Src\application\global_param.c: 4 warnings, 0 errors
+compiling WS2812.c...
+..\Src\application\WS2812.c(108): warning:  #223-D: function "delay_us" declared implicitly
+      delay_us(50);
+..\Src\application\WS2812.c: 1 warning, 0 errors
+compiling CRC.c...
+..\Src\application\CRC.c(44): warning:  #1-D: last line of file ends without a newline
+  } 
+..\Src\application\CRC.c: 1 warning, 0 errors
+compiling Usart.c...
+compiling dw_app.c...
+..\Src\application\dw_app.c(148): warning:  #223-D: function "delay_us" declared implicitly
+      delay_us(600);
+..\Src\application\dw_app.c(207): warning:  #1-D: last line of file ends without a newline
+  }
+..\Src\application\dw_app.c: 2 warnings, 0 errors
+compiling dw_driver.c...
+..\Src\ExternalDevices\dw_driver.c(9): warning:  #223-D: function "delay_us" declared implicitly
+      delay_us(i);  
+..\Src\ExternalDevices\dw_driver.c: 1 warning, 0 errors
+compiling dps368_test.c...
+..\Drivers\ExternlDrivers\lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
+  void LIS3DH_ENTER_STY_Init();
+..\Drivers\ExternlDrivers\dps368_test.c(45): warning:  #177-D: variable "temp"  was declared but never referenced
+  	uint32_t temp=0;
+..\Drivers\ExternlDrivers\dps368_test.c(67): warning:  #940-D: missing return statement at end of non-void function "test_write_byte" 
+  }
+..\Drivers\ExternlDrivers\dps368_test.c(158): warning:  #1-D: last line of file ends without a newline
+     }
+..\Drivers\ExternlDrivers\dps368_test.c(145): warning:  #550-D: variable "ret"  was set but never used
+  {  u8 ret;    
+..\Drivers\ExternlDrivers\dps368_test.c: 5 warnings, 0 errors
+compiling Spi.c...
+..\Src\OnChipDevices\Spi.c(50): warning:  #177-D: variable "stat"  was declared but never referenced
+      decaIrqStatus_t  stat ;
+..\Src\OnChipDevices\Spi.c(101): warning:  #177-D: variable "stat"  was declared but never referenced
+      decaIrqStatus_t  stat ;
+..\Src\OnChipDevices\Spi.c: 2 warnings, 0 errors
+compiling lis3dh_driver.c...
+..\Drivers\ExternlDrivers\lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
+  void LIS3DH_ENTER_STY_Init();
+..\Drivers\ExternlDrivers\lis3dh_driver.c(123): warning:  #177-D: variable "lisid"  was declared but never referenced
+  	uint8_t lisid,response;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(123): warning:  #177-D: variable "response"  was declared but never referenced
+  	uint8_t lisid,response;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(124): warning:  #177-D: variable "lisidtemp"  was declared but never referenced
+      uint8_t lisidtemp;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(163): warning:  #177-D: variable "angle_x"  was declared but never referenced
+  	float angle_x, angle_y, angle_z, angle_xyz;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(163): warning:  #177-D: variable "angle_y"  was declared but never referenced
+  	float angle_x, angle_y, angle_z, angle_xyz;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(163): warning:  #177-D: variable "angle_xyz"  was declared but never referenced
+  	float angle_x, angle_y, angle_z, angle_xyz;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(164): warning:  #177-D: variable "data"  was declared but never referenced
+  	int8_t data[6];
+..\Drivers\ExternlDrivers\lis3dh_driver.c(165): warning:  #177-D: variable "i"  was declared but never referenced
+  	uint8_t i;
+..\Drivers\ExternlDrivers\lis3dh_driver.c(166): warning:  #550-D: variable "lisid"  was set but never used
+  	uint8_t lisid,response;
+..\Drivers\ExternlDrivers\lis3dh_driver.c: 10 warnings, 0 errors
 compiling GPS.c...
 ..\Src\application\GPS.c(489): warning:  #177-D: variable "wait_pos_stable_times"  was declared but never referenced
       {static uint8_t wait_pos_stable_times = 6;        
@@ -141,12 +188,6 @@
 ..\Src\application\GPS.c(119): warning:  #177-D: function "GPS_ParseTime"  was declared but never referenced
   static HIDO_INT32 GPS_ParseTime(HIDO_DataStruct *_pstTimeData, ST_GPS *_pstGPS)
 ..\Src\application\GPS.c: 21 warnings, 0 errors
-compiling dw_app.c...
-..\Src\application\dw_app.c(148): warning:  #223-D: function "delay_us" declared implicitly
-      delay_us(600);
-..\Src\application\dw_app.c(207): warning:  #1-D: last line of file ends without a newline
-  }
-..\Src\application\dw_app.c: 2 warnings, 0 errors
 compiling dw_mbx_tag.c...
 ../Src/radio/lora.h(61): warning:  #1-D: last line of file ends without a newline
   void LoraUp_Poll();
@@ -191,48 +232,24 @@
 ..\Src\application\dw_mbx_tag.c(45): warning:  #550-D: variable "uwb_losttimer"  was set but never used
   static u8 frame_seq_nb2,battary,button,uwb_losttimer,taglist_pos;
 ..\Src\application\dw_mbx_tag.c: 21 warnings, 0 errors
-compiling dps368_test.c...
-..\Drivers\ExternlDrivers\lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
-  void LIS3DH_ENTER_STY_Init();
-..\Drivers\ExternlDrivers\dps368_test.c(45): warning:  #177-D: variable "temp"  was declared but never referenced
-  	uint32_t temp=0;
-..\Drivers\ExternlDrivers\dps368_test.c(67): warning:  #940-D: missing return statement at end of non-void function "test_write_byte" 
-  }
-..\Drivers\ExternlDrivers\dps368_test.c(158): warning:  #1-D: last line of file ends without a newline
-     }
-..\Drivers\ExternlDrivers\dps368_test.c(145): warning:  #550-D: variable "ret"  was set but never used
-  {  u8 ret;    
-..\Drivers\ExternlDrivers\dps368_test.c: 5 warnings, 0 errors
 compiling deca_device.c...
 ..\Src\decadriver\deca_device.c(2874): warning:  #177-D: variable "stat"  was declared but never referenced
       decaIrqStatus_t stat ;
 ..\Src\decadriver\deca_device.c(3096): warning:  #177-D: variable "stat"  was declared but never referenced
       decaIrqStatus_t stat ;
 ..\Src\decadriver\deca_device.c: 2 warnings, 0 errors
-compiling lis3dh_driver.c...
-..\Drivers\ExternlDrivers\lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
-  void LIS3DH_ENTER_STY_Init();
-..\Drivers\ExternlDrivers\lis3dh_driver.c(123): warning:  #177-D: variable "lisid"  was declared but never referenced
-  	uint8_t lisid,response;
-..\Drivers\ExternlDrivers\lis3dh_driver.c(123): warning:  #177-D: variable "response"  was declared but never referenced
-  	uint8_t lisid,response;
-..\Drivers\ExternlDrivers\lis3dh_driver.c(124): warning:  #177-D: variable "lisidtemp"  was declared but never referenced
-      uint8_t lisidtemp;
-..\Drivers\ExternlDrivers\lis3dh_driver.c(163): warning:  #177-D: variable "angle_x"  was declared but never referenced
-  	float angle_x, angle_y, angle_z, angle_xyz;
-..\Drivers\ExternlDrivers\lis3dh_driver.c(163): warning:  #177-D: variable "angle_y"  was declared but never referenced
-  	float angle_x, angle_y, angle_z, angle_xyz;
-..\Drivers\ExternlDrivers\lis3dh_driver.c(163): warning:  #177-D: variable "angle_xyz"  was declared but never referenced
-  	float angle_x, angle_y, angle_z, angle_xyz;
-..\Drivers\ExternlDrivers\lis3dh_driver.c(164): warning:  #177-D: variable "data"  was declared but never referenced
-  	int8_t data[6];
-..\Drivers\ExternlDrivers\lis3dh_driver.c(165): warning:  #177-D: variable "i"  was declared but never referenced
-  	uint8_t i;
-..\Drivers\ExternlDrivers\lis3dh_driver.c(166): warning:  #550-D: variable "lisid"  was set but never used
-  	uint8_t lisid,response;
-..\Drivers\ExternlDrivers\lis3dh_driver.c: 10 warnings, 0 errors
+compiling crc.c...
+compiling sx126x.c...
 compiling stm32l0xx_it.c...
+compiling system_stm32l0xx.c...
 compiling stm32l0xx_hal_msp.c...
+compiling delay.c...
+..\Src\radio\delay.c(32): warning:  #223-D: function "delay_us" declared implicitly
+      delay_us(Delay);
+..\Src\radio\delay.c(29): warning:  #550-D: variable "tickstart"  was set but never used
+      uint32_t tickstart = 0;
+..\Src\radio\delay.c: 2 warnings, 0 errors
+compiling stm32l0xx_hal_adc_ex.c...
 compiling radio.c...
 compiling sx126x-board.c...
 ..\Src\radio\sx126x-board.c(41): warning:  #223-D: function "printf" declared implicitly
@@ -240,28 +257,7 @@
 ..\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 Lora.c...
-..\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/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\radio\Lora.c(192): warning:  #223-D: function "UWB_RXOFF" declared implicitly
-          UWB_RXOFF();   
-..\Src\radio\Lora.c(329): warning:  #223-D: function "Usart5Init" declared implicitly
-                                  Usart5Init();
-..\Src\radio\Lora.c(450): warning:  #223-D: function "RadioGetStatus" declared implicitly
-      RadioGetStatus();
-..\Src\radio\Lora.c(483): warning:  #177-D: variable "result"  was declared but never referenced
-  {    uint16_t  result ;
-..\Src\radio\Lora.c(475): warning:  #177-D: variable "target_count1"  was declared but never referenced
-  static uint16_t current_count1,target_count1,end_count1,start_count1;
-..\Src\radio\Lora.c: 10 warnings, 0 errors
+compiling stm32l0xx_hal_adc.c...
 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();
@@ -287,23 +283,66 @@
   	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(458): warning:  #223-D: function "RadioIrqProcess" declared implicitly
+../Src/main.c(459): warning:  #223-D: function "RadioIrqProcess" declared implicitly
       RadioIrqProcess();
-../Src/main.c(575): warning:  #177-D: variable "l_u32QXpowerTick"  was declared but never referenced
+../Src/main.c(587): warning:  #177-D: variable "l_u32QXpowerTick"  was declared but never referenced
    static uint32_t l_u32QXpowerTick = 0;    
-../Src/main.c(576): warning:  #177-D: variable "powercount"  was declared but never referenced
+../Src/main.c(588): warning:  #177-D: variable "powercount"  was declared but never referenced
   static uint32_t powercount=0;
-../Src/main.c(775): warning:  #223-D: function "RadioIrqProcess" declared implicitly
+../Src/main.c(787): warning:  #223-D: function "RadioIrqProcess" declared implicitly
                 RadioIrqProcess();
-../Src/main.c(1074): warning:  #223-D: function "Usart1InitVariables" declared implicitly
+../Src/main.c(1089): warning:  #223-D: function "Usart1InitVariables" declared implicitly
   	Usart1InitVariables();
 ../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
+compiling stm32l0xx_hal.c...
+compiling stm32l0xx_hal_i2c_ex.c...
+compiling stm32l0xx_hal_flash_ramfunc.c...
+compiling Lora.c...
+..\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/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\radio\Lora.c(192): warning:  #223-D: function "UWB_RXOFF" declared implicitly
+          UWB_RXOFF();   
+..\Src\radio\Lora.c(329): warning:  #223-D: function "Usart5Init" declared implicitly
+                                  Usart5Init();
+..\Src\radio\Lora.c(450): warning:  #223-D: function "RadioGetStatus" declared implicitly
+      RadioGetStatus();
+..\Src\radio\Lora.c(483): warning:  #177-D: variable "result"  was declared but never referenced
+  {    uint16_t  result ;
+..\Src\radio\Lora.c(475): warning:  #177-D: variable "target_count1"  was declared but never referenced
+  static uint16_t current_count1,target_count1,end_count1,start_count1;
+..\Src\radio\Lora.c: 10 warnings, 0 errors
+compiling stm32l0xx_hal_flash.c...
+compiling stm32l0xx_hal_flash_ex.c...
+compiling stm32l0xx_hal_gpio.c...
+compiling stm32l0xx_hal_rcc_ex.c...
+compiling stm32l0xx_hal_pwr_ex.c...
+compiling stm32l0xx_hal_rcc.c...
+compiling stm32l0xx_hal_i2c.c...
+compiling stm32l0xx_hal_pwr.c...
+compiling stm32l0xx_hal_dma.c...
+compiling stm32l0xx_hal_exti.c...
+compiling stm32l0xx_hal_cortex.c...
+compiling stm32l0xx_hal_iwdg.c...
+compiling stm32l0xx_hal_lptim.c...
+compiling stm32l0xx_hal_uart_ex.c...
+compiling stm32l0xx_hal_tim_ex.c...
+compiling stm32l0xx_hal_uart.c...
+compiling stm32l0xx_hal_spi.c...
+compiling stm32l0xx_hal_tim.c...
 linking...
-Program Size: Code=39736 RO-data=820 RW-data=684 ZI-data=8372  
+Program Size: Code=39832 RO-data=820 RW-data=684 ZI-data=8372  
 FromELF: creating hex file...
-"L051\L051.axf" - 0 Error(s), 116 Warning(s).
+"L051\L051.axf" - 0 Error(s), 119 Warning(s).
 
 <h2>Software Packages used:</h2>
 
@@ -326,7 +365,7 @@
 <h2>Collection of Component Files used:</h2>
 
    * Component: ARM::CMSIS:CORE:5.4.0
-Build Time Elapsed:  00:00:04
+Build Time Elapsed:  00:00:07
 </pre>
 </body>
 </html>

--
Gitblit v1.9.3