From 3f91d9cad5d95d7a37a4af1f1ed8c99b3d7c2e64 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期五, 28 三月 2025 15:47:30 +0800 Subject: [PATCH] 有BUG,没调完 --- MDK-ARM/L051/L051.build_log.htm | 46 +++++----------------------------------------- 1 files changed, 5 insertions(+), 41 deletions(-) diff --git a/MDK-ARM/L051/L051.build_log.htm b/MDK-ARM/L051/L051.build_log.htm index 022f787..444a053 100644 --- a/MDK-ARM/L051/L051.build_log.htm +++ b/MDK-ARM/L051/L051.build_log.htm @@ -29,9 +29,9 @@ Build target 'L051' Note: source file '..\Src\radio\crc.c' - object file renamed from 'L051\crc.o' to 'L051\crc_1.o'. compiling dw_mbx_tag.c... -../Src/radio/lora.h(46): warning: #1-D: last line of file ends without a newline +../Src/radio/lora.h(47): 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 +../Src/radio/lora.h(47): warning: #1295-D: Deprecated declaration LoraUp_Poll - give arg types void LoraUp_Poll(); ..\Src\application\dw_mbx_tag.c(100): warning: #940-D: missing return statement at end of non-void function "Anchor_RecNearPoll" } @@ -51,7 +51,7 @@ uint16_t checksum; ..\Src\application\dw_mbx_tag.c(145): warning: #177-D: variable "kk" was declared but never referenced uint8_t kk; -..\Src\application\dw_mbx_tag.c(330): warning: #177-D: variable "bat" was declared but never referenced +..\Src\application\dw_mbx_tag.c(352): warning: #177-D: variable "bat" was declared but never referenced u8 bat; ..\Src\application\dw_mbx_tag.c(29): warning: #550-D: variable "result" was set but never used static u8 frame_len,timeout,rec_nearbase_num,result; @@ -70,46 +70,10 @@ ..\Src\application\dw_mbx_tag.c(43): 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: 20 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 125 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h") - #define FLASH_SIZE (uint32_t)0x10000 -../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(283): warning: #186-D: pointless comparison of unsigned integer with zero - if(module_power<0) -../Src/main.c(229): warning: #177-D: variable "temp" was declared but never referenced - { float temp; -../Src/main.c(230): warning: #177-D: variable "temp2" was declared but never referenced - uint16_t temp2; -../Src/main.c(231): warning: #177-D: variable "i" was declared but never referenced - uint16_t i; -../Src/main.c(314): warning: #177-D: variable "bat_count" was declared but never referenced - static uint16_t bat_count = 0; -../Src/main.c(354): warning: #223-D: function "RadioIrqProcess" declared implicitly - RadioIrqProcess(); -../Src/main.c(829): warning: #223-D: function "Usart1InitVariables" declared implicitly - Usart1InitVariables(); -../Src/main.c(1111): warning: #223-D: function "delay_ms" declared implicitly - delay_ms(100); -../Src/main.c(1114): warning: #223-D: function "delay_ms" declared implicitly - delay_ms(10); -../Src/main.c(292): warning: #177-D: function "SystemPower_Config" was declared but never referenced - static void SystemPower_Config(void) -../Src/main.c(381): warning: #177-D: variable "send_frame1" was declared but never referenced - static uint8_t send_frame1[EUART_RX_BUF_SIZE]; -../Src/main.c: 17 warnings, 0 errors linking... -Program Size: Code=30400 RO-data=684 RW-data=708 ZI-data=7444 +Program Size: Code=30256 RO-data=684 RW-data=708 ZI-data=7444 FromELF: creating hex file... -"L051\L051.axf" - 0 Error(s), 37 Warning(s). +"L051\L051.axf" - 0 Error(s), 20 Warning(s). <h2>Software Packages used:</h2> -- Gitblit v1.9.3