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 | 48 +++++++++++++++++++++++++++++++----------------- 1 files changed, 31 insertions(+), 17 deletions(-) diff --git a/MDK-ARM/L051/L051.build_log.htm b/MDK-ARM/L051/L051.build_log.htm index 282f8aa..86a7e46 100644 --- a/MDK-ARM/L051/L051.build_log.htm +++ b/MDK-ARM/L051/L051.build_log.htm @@ -22,7 +22,7 @@ <h2>Project:</h2> C:\git\XRange_Tag -Lora-R - GPS\MDK-ARM\L051.uvprojx -Project File Date: 03/24/2024 +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,35 +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(260): warning: #186-D: pointless comparison of unsigned integer with zero +../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(211): warning: #177-D: variable "temp" was declared but never referenced +../Src/main.c(213): warning: #177-D: variable "temp" was declared but never referenced { float temp; -../Src/main.c(212): warning: #177-D: variable "temp2" was declared but never referenced +../Src/main.c(214): warning: #177-D: variable "temp2" was declared but never referenced uint16_t temp2; -../Src/main.c(213): warning: #177-D: variable "i" was declared but never referenced +../Src/main.c(215): warning: #177-D: variable "i" was declared but never referenced uint16_t i; -../Src/main.c(291): warning: #177-D: variable "bat_count" was declared but never referenced +../Src/main.c(295): warning: #177-D: variable "bat_count" was declared but never referenced static uint16_t bat_count = 0; -../Src/main.c(330): warning: #223-D: function "RadioIrqProcess" declared implicitly +../Src/main.c(348): warning: #223-D: function "RadioIrqProcess" declared implicitly RadioIrqProcess(); -../Src/main.c(521): warning: #223-D: function "LoraUp_Poll" declared implicitly - LoraUp_Poll(); -../Src/main.c(781): warning: #223-D: function "Usart1InitVariables" declared implicitly +../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(1060): warning: #223-D: function "delay_ms" declared implicitly +../Src/main.c(1126): warning: #223-D: function "delay_ms" declared implicitly delay_ms(100); -../Src/main.c(1063): warning: #223-D: function "delay_ms" declared implicitly +../Src/main.c(1129): warning: #223-D: function "delay_ms" declared implicitly delay_ms(10); -../Src/main.c(269): warning: #177-D: function "SystemPower_Config" was declared but never referenced +../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(345): warning: #177-D: variable "send_frame1" was declared but never referenced +../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: 14 warnings, 0 errors +../Src/main.c: 21 warnings, 0 errors linking... -Program Size: Code=30224 RO-data=684 RW-data=700 ZI-data=7420 +Program Size: Code=30264 RO-data=684 RW-data=700 ZI-data=7420 FromELF: creating hex file... -"L051\L051.axf" - 0 Error(s), 14 Warning(s). +"L051\L051.axf" - 0 Error(s), 21 Warning(s). <h2>Software Packages used:</h2> -- Gitblit v1.9.3