From 7742d3182f57e7aad7900e70314f53d761937c51 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期三, 12 二月 2025 09:23:04 +0800 Subject: [PATCH] 1.27,加入了uwb初始化过了才会触发中断。uwb初始化的时候复位拉低1000ms --- MDK-ARM/L051/L051.build_log.htm | 72 ++++++++++++++++++++--------------- 1 files changed, 41 insertions(+), 31 deletions(-) diff --git a/MDK-ARM/L051/L051.build_log.htm b/MDK-ARM/L051/L051.build_log.htm index ebbc309..86a7e46 100644 --- a/MDK-ARM/L051/L051.build_log.htm +++ b/MDK-ARM/L051/L051.build_log.htm @@ -21,8 +21,8 @@ Dialog DLL: TARMCM1.DLL V1.14.2.0 <h2>Project:</h2> -C:\git\XRange_Tag -Lora-R\MDK-ARM\L051.uvprojx -Project File Date: 11/14/2023 +C:\git\XRange_Tag -Lora-R - GPS\MDK-ARM\L051.uvprojx +Project File Date: 01/15/2025 <h2>Output:</h2> *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' @@ -33,39 +33,49 @@ 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(198): warning: #177-D: variable "lptime" was declared but never referenced - int32_t lpcount,lptime,target_time; -../Src/main.c(198): warning: #177-D: variable "target_time" was declared but never referenced - int32_t lpcount,lptime,target_time; -../Src/main.c(356): warning: #186-D: pointless comparison of unsigned integer with zero - if(module_power<0) -../Src/main.c(306): warning: #177-D: variable "temp" was declared but never referenced - { float temp; -../Src/main.c(307): warning: #177-D: variable "temp2" was declared but never referenced - uint16_t temp2; -../Src/main.c(308): warning: #177-D: variable "i" was declared but never referenced - uint16_t i; -../Src/main.c(402): warning: #177-D: variable "bat_count" was declared but never referenced +../Src/radio/Lora.h(46): warning: #1-D: last line of file ends without a newline + void LoraUp_Poll(); +../Src/radio/Lora.h(46): warning: #1295-D: Deprecated declaration LoraUp_Poll - give arg types + void LoraUp_Poll(); +../Src/radio/lora.h(46): warning: #1-D: last line of file ends without a newline + void LoraUp_Poll(); +../Src/radio/lora.h(46): warning: #1295-D: Deprecated declaration LoraUp_Poll - give arg types + void LoraUp_Poll(); +../Src/main.c(264): warning: #186-D: pointless comparison of unsigned integer with zero + if(module_power<0) +../Src/main.c(213): warning: #177-D: variable "temp" was declared but never referenced + { float temp; +../Src/main.c(214): warning: #177-D: variable "temp2" was declared but never referenced + uint16_t temp2; +../Src/main.c(215): warning: #177-D: variable "i" was declared but never referenced + uint16_t i; +../Src/main.c(295): warning: #177-D: variable "bat_count" was declared but never referenced static uint16_t bat_count = 0; -../Src/main.c(446): warning: #223-D: function "RadioIrqProcess" declared implicitly +../Src/main.c(348): warning: #223-D: function "RadioIrqProcess" declared implicitly RadioIrqProcess(); -../Src/main.c(592): warning: #223-D: function "Lora_Init" declared implicitly - Lora_Init(); -../Src/main.c(599): warning: #223-D: function "Get_VDDVlotage" declared implicitly - bat_percent=Get_VDDVlotage(); -../Src/main.c(614): warning: #223-D: function "Lora_rx_open" declared implicitly - Lora_rx_open(); -../Src/main.c(886): warning: #223-D: function "Usart1InitVariables" declared implicitly - Usart1InitVariables(); -../Src/main.c(1071): warning: #223-D: function "Get_VDDVlotage" declared implicitly - bat_percent=Get_VDDVlotage(); -../Src/main.c(373): warning: #177-D: function "SystemPower_Config" was declared but never referenced +../Src/main.c(565): warning: #223-D: function "UWB_RXON" declared implicitly + UWB_RXON(); +../Src/main.c(570): warning: #223-D: function "UWB_RXOFF" declared implicitly + UWB_RXOFF(); +../Src/main.c(841): warning: #223-D: function "Usart1InitVariables" declared implicitly + Usart1InitVariables(); +../Src/main.c(1126): warning: #223-D: function "delay_ms" declared implicitly + delay_ms(100); +../Src/main.c(1129): warning: #223-D: function "delay_ms" declared implicitly + delay_ms(10); +../Src/main.c(1160): warning: #223-D: function "UWB_RXOFF" declared implicitly + UWB_RXOFF(); +../Src/main.c(1177): warning: #223-D: function "UWB_RXOFF" declared implicitly + UWB_RXOFF(); +../Src/main.c(273): warning: #177-D: function "SystemPower_Config" was declared but never referenced static void SystemPower_Config(void) -../Src/main.c: 16 warnings, 0 errors +../Src/main.c(378): warning: #177-D: variable "send_frame1" was declared but never referenced + static uint8_t send_frame1[EUART_RX_BUF_SIZE]; +../Src/main.c: 21 warnings, 0 errors linking... -Program Size: Code=29596 RO-data=748 RW-data=524 ZI-data=6036 +Program Size: Code=30264 RO-data=684 RW-data=700 ZI-data=7420 FromELF: creating hex file... -"L051\L051.axf" - 0 Error(s), 16 Warning(s). +"L051\L051.axf" - 0 Error(s), 21 Warning(s). <h2>Software Packages used:</h2> @@ -88,7 +98,7 @@ <h2>Collection of Component Files used:</h2> * Component: ARM::CMSIS:CORE:5.4.0 -Build Time Elapsed: 00:00:01 +Build Time Elapsed: 00:00:02 </pre> </body> </html> -- Gitblit v1.9.3