From 5f59088ed121193c358b0c2b95961b66593b79e5 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期五, 25 七月 2025 18:02:04 +0800 Subject: [PATCH] 修复偶尔mk测距不了的bug --- keil/Objects/uci_fira.build_log.htm | 600 ----------------------------------------------------------- 1 files changed, 9 insertions(+), 591 deletions(-) diff --git a/keil/Objects/uci_fira.build_log.htm b/keil/Objects/uci_fira.build_log.htm index 5d5d5a1..3cdb46a 100644 --- a/keil/Objects/uci_fira.build_log.htm +++ b/keil/Objects/uci_fira.build_log.htm @@ -5,11 +5,11 @@ <h2>Tool Versions:</h2> IDE-Version: μVision V5.30.0.0 Copyright (C) 2020 ARM Ltd and ARM Germany GmbH. All rights reserved. -License Information: qweq xookko@outlook.com, qweqeq, LIC=47GU5-GD9Z0-FWK2N-Y9XQ0-MH3EA-KZ8D2 +License Information: WXK WXK, WXK, LIC=LSNXV-PQMLL-2Z8W4-FC0XG-4GU90-PI7N8 Tool Versions: Toolchain: MDK-ARM Plus Version: 5.30.0.0 -Toolchain Path: d:\Keil_v5\ARM\ARMCLANG\Bin +Toolchain Path: C:\Keil_v5\ARM\ARMCLANG\Bin C Compiler: ArmClang.exe V6.14 Assembler: Armasm.exe V6.14 Linker/Locator: ArmLink.exe V6.14 @@ -21,597 +21,15 @@ Dialog DLL: TARMCM1.DLL V1.14.2.0 <h2>Project:</h2> -D:\project_chen\host\0.6.2_uci_project\keil\uci_fira.uvprojx -Project File Date: 05/19/2025 +C:\git-mk8000\ChinaUWBProject - 德国停车场标签\keil\uci_fira.uvprojx +Project File Date: 07/25/2025 <h2>Output:</h2> -*** Using Compiler 'V6.14', folder: 'd:\Keil_v5\ARM\ARMCLANG\Bin' +*** Using Compiler 'V6.14', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin' Build target 'MK8000 Release' Note: source file '.\include\src\Radio\crc.c' - object file renamed from '.\Objects\crc.o' to '.\Objects\crc_1.o'. -include/drivers/uwb_app.c(9): warning: In file included from... -./include/drivers/dw_app_anchor.h(47): warning: no newline at end of file [-Wnewline-eof] -#endif - ^ -include/drivers/uwb_app.c(56): warning: no previous extern declaration for non-static variable 'temp_count' [-Wmissing-variable-declarations] -uint32_t temp_count=0; - ^ -include/drivers/uwb_app.c(56): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t temp_count=0; -^ -include/drivers/uwb_app.c(57): warning: no previous extern declaration for non-static variable 'temp_count1' [-Wmissing-variable-declarations] -uint32_t temp_count1=0; - ^ -include/drivers/uwb_app.c(57): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t temp_count1=0; -^ -include/drivers/uwb_app.c(58): warning: no previous extern declaration for non-static variable 'temp_count2' [-Wmissing-variable-declarations] -uint32_t temp_count2=0; - ^ -include/drivers/uwb_app.c(58): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t temp_count2=0; -^ -include/drivers/uwb_app.c(59): warning: no previous extern declaration for non-static variable 'temp_count3' [-Wmissing-variable-declarations] -uint32_t temp_count3=0; - ^ -include/drivers/uwb_app.c(59): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t temp_count3=0; -^ -include/drivers/uwb_app.c(60): warning: no previous extern declaration for non-static variable 'temp_count7' [-Wmissing-variable-declarations] -uint32_t temp_count7=0; - ^ -include/drivers/uwb_app.c(60): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t temp_count7=0; -^ -include/drivers/uwb_app.c(61): warning: no previous extern declaration for non-static variable 'temp_internal' [-Wmissing-variable-declarations] -uint32_t temp_internal=0; - ^ -include/drivers/uwb_app.c(61): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t temp_internal=0; -^ -include/drivers/uwb_app.c(62): warning: no previous extern declaration for non-static variable 'elevation' [-Wmissing-variable-declarations] -int16_t elevation = 0; - ^ -include/drivers/uwb_app.c(62): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int16_t elevation = 0; -^ -include/drivers/uwb_app.c(63): warning: no previous extern declaration for non-static variable 'azimuth' [-Wmissing-variable-declarations] -int16_t azimuth = 0; - ^ -include/drivers/uwb_app.c(63): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int16_t azimuth = 0; -^ -include/drivers/uwb_app.c(64): warning: no previous extern declaration for non-static variable 'fom' [-Wmissing-variable-declarations] -uint8_t fom = 0; - ^ -include/drivers/uwb_app.c(64): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t fom = 0; -^ -include/drivers/uwb_app.c(67): warning: no previous extern declaration for non-static variable 'sts_rssi' [-Wmissing-variable-declarations] -float *sts_rssi=NULL; - ^ -include/drivers/uwb_app.c(67): note: declare 'static' if the variable is not intended to be used outside of this translation unit -float *sts_rssi=NULL; -^ -include/drivers/uwb_app.c(198): warning: 'static' ignored on this declaration [-Wmissing-declarations] -static struct anchor_id_car{ -^ -include/drivers/uwb_app.c(283): warning: no previous extern declaration for non-static variable 'range_timeout_us' [-Wmissing-variable-declarations] -uint32_t range_timeout_us = 2000000;//yuan5000 - ^ -include/drivers/uwb_app.c(283): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t range_timeout_us = 2000000;//yuan5000 -^ -include/drivers/uwb_app.c(287): warning: unused variable 'valid_sts' [-Wunused-variable] -{ uint8_t valid_sts=0; - ^ -include/drivers/uwb_app.c(363): warning: no previous extern declaration for non-static variable 'anchordata_num' [-Wmissing-variable-declarations] -uint8_t anchordata_num = 0; - ^ -include/drivers/uwb_app.c(363): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t anchordata_num = 0; -^ -include/drivers/uwb_app.c(370): warning: declaration shadows a variable in the global scope [-Wshadow] -void PushAnchorDataArray(uint16_t ancid,int16_t dist,uint8_t battary) - ^ -include/drivers/uwb_app.c(34): note: previous declaration is here -static uint8_t frame_seq_nb2,battary,button,rec_nearbase_num,ancidlist_num; - ^ -include/drivers/uwb_app.c(387): warning: implicit conversion turns floating-point number into integer: 'double' to 'int32_t' (aka 'int') [-Wfloat-conversion] - distance=dist*0.5+(int16_t)anchordata_dist[i]*0.5; - ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -include/drivers/uwb_app.c(388): warning: implicit conversion changes signedness: 'int16_t' (aka 'short') to 'uint16_t' (aka 'unsigned short') [-Wsign-conversion] - anchordata_dist[i] = dist; - ~ ^~~~ -include/drivers/uwb_app.c(423): warning: no previous prototype for function 'ExistInTagList' [-Wmissing-prototypes] -uint16_t ExistInTagList(uint16_t tagid) - ^ -include/drivers/uwb_app.c(423): note: declare 'static' if the function is not intended to be used outside of this translation unit -uint16_t ExistInTagList(uint16_t tagid) -^ -static -include/drivers/uwb_app.c(433): warning: no previous prototype for function 'CmpCarInExistList' [-Wmissing-prototypes] -uint16_t CmpCarInExistList(uint16_t tagid) - ^ -include/drivers/uwb_app.c(433): note: declare 'static' if the function is not intended to be used outside of this translation unit -uint16_t CmpCarInExistList(uint16_t tagid) -^ -static -include/drivers/uwb_app.c(490): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] - report_ancnum = k; - ~ ^ -include/drivers/uwb_app.c(491): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] - taglist_num=j; - ~^ -include/drivers/uwb_app.c(525): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] - flag_temp2=uwb_tx(send_buffer, 40,1 ,resp_tx_en_start_u32);//<C1><A2><BC><B4><B7><A2><CB>筒<E2><CA><D4>size<B4><F3>小 - ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -include/drivers/uwb_app.c(531): warning: non-void function does not return a value [-Wreturn-type] -} -^ -include/drivers/uwb_app.c(543): warning: 'extern' variable has an initializer [-Wextern-initializer] -extern uint8_t g_start_send_flag,search_open_flag = 1,link_success_flag,flag_secondtask; - ^ -include/drivers/uwb_app.c(543): warning: no previous extern declaration for non-static variable 'search_open_flag' [-Wmissing-variable-declarations] -include/drivers/uwb_app.c(543): note: declare 'static' if the variable is not intended to be used outside of this translation unit -extern uint8_t g_start_send_flag,search_open_flag = 1,link_success_flag,flag_secondtask; - ^ -include/drivers/uwb_app.c(544): warning: no previous extern declaration for non-static variable 'wltag_state' [-Wmissing-variable-declarations] -enumwltagstate wltag_state=RANGE; - ^ -include/drivers/uwb_app.c(544): note: declare 'static' if the variable is not intended to be used outside of this translation unit -enumwltagstate wltag_state=RANGE; -^ -include/drivers/uwb_app.c(546): warning: no previous extern declaration for non-static variable 'uwbtasktimer' [-Wmissing-variable-declarations] -uint32_t uwbtasktimer=0,uwbtagsendtimer=0; - ^ -include/drivers/uwb_app.c(546): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t uwbtasktimer=0,uwbtagsendtimer=0; -^ -include/drivers/uwb_app.c(546): warning: no previous extern declaration for non-static variable 'uwbtagsendtimer' [-Wmissing-variable-declarations] -uint32_t uwbtasktimer=0,uwbtagsendtimer=0; - ^ -include/drivers/uwb_app.c(546): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t uwbtasktimer=0,uwbtagsendtimer=0; -^ -include/drivers/uwb_app.c(550): warning: implicit declaration of function 'UART_CheckReceive' is invalid in C99 [-Wimplicit-function-declaration] -{UART_CheckReceive(); - ^ -include/drivers/uwb_app.c(551): warning: implicit declaration of function 'UART0_CheckReceive' is invalid in C99 [-Wimplicit-function-declaration] - UART0_CheckReceive(); - ^ -include/drivers/uwb_app.c(549): warning: no previous prototype for function 'IdleTask' [-Wmissing-prototypes] -void IdleTask(void) - ^ -include/drivers/uwb_app.c(549): note: declare 'static' if the function is not intended to be used outside of this translation unit -void IdleTask(void) -^ -static -include/drivers/uwb_app.c(583): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] - return get_in_num; - ~~~~~~ ^~~~~~~~~~ -include/drivers/uwb_app.c(575): warning: no previous prototype for function 'CmpCarInTable' [-Wmissing-prototypes] -uint16_t CmpCarInTable(uint16_t tagid) - ^ -include/drivers/uwb_app.c(575): note: declare 'static' if the function is not intended to be used outside of this translation unit -uint16_t CmpCarInTable(uint16_t tagid) -^ -static -include/drivers/uwb_app.c(604): warning: implicit declaration of function 'HIDO_TimerTick' is invalid in C99 [-Wimplicit-function-declaration] - HIDO_TimerTick(); - ^ -include/drivers/uwb_app.c(625): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] - flag_temp1=uwb_rx(0, 0,range_timeout_us);//<CC>峤�<BD><D3><CA><D5><C7><EB><C7><F3> - ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -include/drivers/uwb_app.c(627): warning: illegal character encoding in string literal [-Winvalid-source-encoding] - LOG_INFO(TRACE_MODULE_APP,"<B4><F2><BF><AA>uwb_rx\r\n"); - ^~~~~~~~~~~~~~~~ -./include/drivers\mk_trace.h(170): note: expanded from macro 'LOG_INFO' -#define LOG_INFO(LOG_MODULE, str, ...) TRACE(LOG_MODULE, TRACE_LEVEL_INFO, str, ##__VA_ARGS__) - ^~~ -./include/drivers\mk_trace.h(132): note: expanded from macro 'TRACE' -#define TRACE(module, level, str, ...) trace_printf((module), (level), (str), ##__VA_ARGS__) - ^~~ -include/drivers/uwb_app.c(629): warning: no previous prototype for function 'UWBOneSecondTask' [-Wmissing-prototypes] -void UWBOneSecondTask(void) - ^ -include/drivers/uwb_app.c(629): note: declare 'static' if the function is not intended to be used outside of this translation unit -void UWBOneSecondTask(void) -^ -static -include/drivers/uwb_app.c(639): warning: implicit declaration of function 'HIDO_TimerGetTick' is invalid in C99 [-Wimplicit-function-declaration] - if(HIDO_TimerGetTick()-uwbtasktimer >=1) - ^ -include/drivers/uwb_app.c(639): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] - if(HIDO_TimerGetTick()-uwbtasktimer >=1) - ^~~~~~~~~~~~~~~~~~~~ -include/drivers/uwb_app.c(641): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] - uwbtasktimer = HIDO_TimerGetTick(); - ~ ^~~~~~~~~~~~~~~~~~~ -include/drivers/uwb_app.c(636): warning: no previous prototype for function 'UWBIdleTask' [-Wmissing-prototypes] -void UWBIdleTask(void) - ^ -include/drivers/uwb_app.c(636): note: declare 'static' if the function is not intended to be used outside of this translation unit -void UWBIdleTask(void) -^ -static -include/drivers/uwb_app.c(645): warning: no previous prototype for function 'uwb_app_poll' [-Wmissing-prototypes] -int uwb_app_poll(void) - ^ -include/drivers/uwb_app.c(645): note: declare 'static' if the function is not intended to be used outside of this translation unit -int uwb_app_poll(void) -^ -static -include/drivers/uwb_app.c(688): warning: non-void function does not return a value [-Wreturn-type] -} -^ -include/drivers/uwb_app.c(758): warning: non-void function does not return a value in all control paths [-Wreturn-type] -} -^ -include/drivers/uwb_app.c(793): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] - flag_temp1=uwb_rx(0, 0, range_timeout_us);//<BF><AA><C6><F4><BD><D3><CA><D5> - ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -include/drivers/uwb_app.c(760): warning: no previous prototype for function 'UwbRange' [-Wmissing-prototypes] -int UwbRange(void) - ^ -include/drivers/uwb_app.c(760): note: declare 'static' if the function is not intended to be used outside of this translation unit -int UwbRange(void) -^ -static -include/drivers/uwb_app.c(1003): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] - flag_temp2=uwb_rx(0, 0, RX_SYNC_WIN_US_TEMP);//<BF><AA><C6><F4><BD><D3><CA><D5> - ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -include/drivers/uwb_app.c(1076): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] - flag_temp2=uwb_rx(0, 0, RX_SYNC_WIN_US_TEMP);//<D4>俅慰<AA><C6><F4><BD><D3><CA><D5> - ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -include/drivers/uwb_app.c(944): warning: no previous prototype for function 'UwbSearch' [-Wmissing-prototypes] -int UwbSearch(void) - ^ -include/drivers/uwb_app.c(944): note: declare 'static' if the function is not intended to be used outside of this translation unit -int UwbSearch(void) -^ -static -include/drivers/uwb_app.c(46): warning: no previous extern declaration for non-static variable 'poll_rx_num' [-Wmissing-variable-declarations] -int poll_rx_num,resp_tx_num; - ^ -include/drivers/uwb_app.c(46): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int poll_rx_num,resp_tx_num; -^ -include/drivers/uwb_app.c(46): warning: no previous extern declaration for non-static variable 'resp_tx_num' [-Wmissing-variable-declarations] -int poll_rx_num,resp_tx_num; - ^ -include/drivers/uwb_app.c(46): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int poll_rx_num,resp_tx_num; -^ -include/drivers/uwb_app.c(547): warning: no previous extern declaration for non-static variable 'report_ancnum' [-Wmissing-variable-declarations] -uint8_t report_ancnum; - ^ -include/drivers/uwb_app.c(547): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t report_ancnum; -^ -include/drivers/uwb_app.c(65): warning: no previous extern declaration for non-static variable 'distance' [-Wmissing-variable-declarations] -int32_t distance; - ^ -include/drivers/uwb_app.c(65): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int32_t distance; -^ -include/drivers/uwb_app.c(66): warning: no previous extern declaration for non-static variable 'taglist_num' [-Wmissing-variable-declarations] -uint8_t taglist_num; - ^ -include/drivers/uwb_app.c(66): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t taglist_num; -^ -include/drivers/uwb_app.c(68): warning: no previous extern declaration for non-static variable 'recev_error_num' [-Wmissing-variable-declarations] - uint8_t recev_error_num; - ^ -include/drivers/uwb_app.c(68): note: declare 'static' if the variable is not intended to be used outside of this translation unit - uint8_t recev_error_num; - ^ -include/drivers/uwb_app.c(69): warning: no previous extern declaration for non-static variable 'uwb_rx_flag' [-Wmissing-variable-declarations] -uint8_t uwb_rx_flag; - ^ -include/drivers/uwb_app.c(69): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t uwb_rx_flag; -^ -include/drivers/uwb_app.c(227): warning: no previous extern declaration for non-static variable 'temp_resp_i64' [-Wmissing-variable-declarations] -int64_t temp_resp_i64; - ^ -include/drivers/uwb_app.c(227): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int64_t temp_resp_i64; -^ -include/drivers/uwb_app.c(229): warning: no previous extern declaration for non-static variable 'poll_rx_ts_i64' [-Wmissing-variable-declarations] -int64_t poll_rx_ts_i64; - ^ -include/drivers/uwb_app.c(229): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int64_t poll_rx_ts_i64; -^ -include/drivers/uwb_app.c(230): warning: no previous extern declaration for non-static variable 'resp_tx_ts_i64' [-Wmissing-variable-declarations] -int64_t resp_tx_ts_i64; - ^ -include/drivers/uwb_app.c(230): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int64_t resp_tx_ts_i64; -^ -include/drivers/uwb_app.c(231): warning: no previous extern declaration for non-static variable 'final_rx_ts_i64' [-Wmissing-variable-declarations] -int64_t final_rx_ts_i64; - ^ -include/drivers/uwb_app.c(231): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int64_t final_rx_ts_i64; -^ -include/drivers/uwb_app.c(282): warning: no previous extern declaration for non-static variable 'rssi' [-Wmissing-variable-declarations] -int8_t rssi; - ^ -include/drivers/uwb_app.c(282): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int8_t rssi; -^ -include/drivers/uwb_app.c(284): warning: no previous extern declaration for non-static variable 'flag_temp2' [-Wmissing-variable-declarations] -uint8_t flag_temp2,flag_temp1,resp_tx_flag; - ^ -include/drivers/uwb_app.c(284): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t flag_temp2,flag_temp1,resp_tx_flag; -^ -include/drivers/uwb_app.c(284): warning: no previous extern declaration for non-static variable 'flag_temp1' [-Wmissing-variable-declarations] -uint8_t flag_temp2,flag_temp1,resp_tx_flag; - ^ -include/drivers/uwb_app.c(284): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t flag_temp2,flag_temp1,resp_tx_flag; -^ -include/drivers/uwb_app.c(284): warning: no previous extern declaration for non-static variable 'resp_tx_flag' [-Wmissing-variable-declarations] -uint8_t flag_temp2,flag_temp1,resp_tx_flag; - ^ -include/drivers/uwb_app.c(284): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t flag_temp2,flag_temp1,resp_tx_flag; -^ -include/drivers/uwb_app.c(285): warning: no previous extern declaration for non-static variable 'uwb_losttimer' [-Wmissing-variable-declarations] -uint16_t uwb_losttimer; - ^ -include/drivers/uwb_app.c(285): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint16_t uwb_losttimer; -^ -include/drivers/uwb_app.c(360): warning: no previous extern declaration for non-static variable 'start_receive_count' [-Wmissing-variable-declarations] -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; - ^ -include/drivers/uwb_app.c(360): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; -^ -include/drivers/uwb_app.c(360): warning: no previous extern declaration for non-static variable 'end_receive_count' [-Wmissing-variable-declarations] -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; - ^ -include/drivers/uwb_app.c(360): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; -^ -include/drivers/uwb_app.c(360): warning: no previous extern declaration for non-static variable 'poll_timeout' [-Wmissing-variable-declarations] -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; - ^ -include/drivers/uwb_app.c(360): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; -^ -include/drivers/uwb_app.c(360): warning: no previous extern declaration for non-static variable 'current_count' [-Wmissing-variable-declarations] -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; - ^ -include/drivers/uwb_app.c(360): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; -^ -include/drivers/uwb_app.c(360): warning: no previous extern declaration for non-static variable 'temp_resp' [-Wmissing-variable-declarations] -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; - ^ -include/drivers/uwb_app.c(360): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t start_receive_count,end_receive_count,poll_timeout,current_count,temp_resp; -^ -include/drivers/uwb_app.c(361): warning: no previous extern declaration for non-static variable 'anchordata_id' [-Wmissing-variable-declarations] - uint16_t anchordata_id[TAG_NUM_IN_SYS],anchordata_dist[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(361): note: declare 'static' if the variable is not intended to be used outside of this translation unit - uint16_t anchordata_id[TAG_NUM_IN_SYS],anchordata_dist[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(361): warning: no previous extern declaration for non-static variable 'anchordata_dist' [-Wmissing-variable-declarations] - uint16_t anchordata_id[TAG_NUM_IN_SYS],anchordata_dist[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(361): note: declare 'static' if the variable is not intended to be used outside of this translation unit - uint16_t anchordata_id[TAG_NUM_IN_SYS],anchordata_dist[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(365): warning: no previous extern declaration for non-static variable 'random_time' [-Wmissing-variable-declarations] -uint16_t random_time; - ^ -include/drivers/uwb_app.c(365): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint16_t random_time; -^ -include/drivers/uwb_app.c(367): warning: no previous extern declaration for non-static variable 'hist_dist' [-Wmissing-variable-declarations] -int32_t hist_dist; - ^ -include/drivers/uwb_app.c(367): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int32_t hist_dist; -^ -include/drivers/uwb_app.c(368): warning: no previous extern declaration for non-static variable 'temp_recdist_before_offset' [-Wmissing-variable-declarations] -int16_t temp_recdist_before_offset; - ^ -include/drivers/uwb_app.c(368): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int16_t temp_recdist_before_offset; -^ -include/drivers/uwb_app.c(369): warning: no previous extern declaration for non-static variable 'dist_temp' [-Wmissing-variable-declarations] -int16_t dist_temp; - ^ -include/drivers/uwb_app.c(369): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int16_t dist_temp; -^ -include/drivers/uwb_app.c(548): warning: no previous extern declaration for non-static variable 'report_ancdist' [-Wmissing-variable-declarations] -uint16_t report_ancdist[ANC_MAX_NUM],report_ancid[ANC_MAX_NUM]; - ^ -include/drivers/uwb_app.c(548): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint16_t report_ancdist[ANC_MAX_NUM],report_ancid[ANC_MAX_NUM]; -^ -include/drivers/uwb_app.c(548): warning: no previous extern declaration for non-static variable 'report_ancid' [-Wmissing-variable-declarations] -uint16_t report_ancdist[ANC_MAX_NUM],report_ancid[ANC_MAX_NUM]; - ^ -include/drivers/uwb_app.c(548): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint16_t report_ancdist[ANC_MAX_NUM],report_ancid[ANC_MAX_NUM]; -^ -include/drivers/uwb_app.c(494): warning: no previous extern declaration for non-static variable 'position' [-Wmissing-variable-declarations] -uint8_t position; - ^ -include/drivers/uwb_app.c(494): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t position; -^ -include/drivers/uwb_app.c(533): warning: no previous extern declaration for non-static variable 'uwb_searchcount' [-Wmissing-variable-declarations] -uint16_t uwb_searchcount; - ^ -include/drivers/uwb_app.c(533): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint16_t uwb_searchcount; -^ -include/drivers/uwb_app.c(534): warning: no previous extern declaration for non-static variable 'flag_recsuccess' [-Wmissing-variable-declarations] -uint8_t flag_recsuccess; - ^ -include/drivers/uwb_app.c(534): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t flag_recsuccess; -^ -include/drivers/uwb_app.c(536): warning: no previous extern declaration for non-static variable 'start_receive_count_calibration' [-Wmissing-variable-declarations] -uint32_t start_receive_count_calibration; - ^ -include/drivers/uwb_app.c(536): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t start_receive_count_calibration; -^ -include/drivers/uwb_app.c(537): warning: no previous extern declaration for non-static variable 'current_count_calibration' [-Wmissing-variable-declarations] -uint32_t current_count_calibration; - ^ -include/drivers/uwb_app.c(537): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t current_count_calibration; -^ -include/drivers/uwb_app.c(538): warning: no previous extern declaration for non-static variable 'get_in_num' [-Wmissing-variable-declarations] -uint32_t get_in_num,get_out_num; - ^ -include/drivers/uwb_app.c(538): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t get_in_num,get_out_num; -^ -include/drivers/uwb_app.c(538): warning: no previous extern declaration for non-static variable 'get_out_num' [-Wmissing-variable-declarations] -uint32_t get_in_num,get_out_num; - ^ -include/drivers/uwb_app.c(538): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t get_in_num,get_out_num; -^ -include/drivers/uwb_app.c(539): warning: no previous extern declaration for non-static variable 'anchor_id_in_car' [-Wmissing-variable-declarations] -struct anchor_id_car anchor_id_in_car[TAG_NUM_IN_SYS],anchor_id_out_car[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(539): note: declare 'static' if the variable is not intended to be used outside of this translation unit -struct anchor_id_car anchor_id_in_car[TAG_NUM_IN_SYS],anchor_id_out_car[TAG_NUM_IN_SYS]; -^ -include/drivers/uwb_app.c(539): warning: no previous extern declaration for non-static variable 'anchor_id_out_car' [-Wmissing-variable-declarations] -struct anchor_id_car anchor_id_in_car[TAG_NUM_IN_SYS],anchor_id_out_car[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(539): note: declare 'static' if the variable is not intended to be used outside of this translation unit -struct anchor_id_car anchor_id_in_car[TAG_NUM_IN_SYS],anchor_id_out_car[TAG_NUM_IN_SYS]; -^ -include/drivers/uwb_app.c(540): warning: no previous extern declaration for non-static variable 'change_count' [-Wmissing-variable-declarations] -int16_t change_count[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(540): note: declare 'static' if the variable is not intended to be used outside of this translation unit -int16_t change_count[TAG_NUM_IN_SYS]; -^ -include/drivers/uwb_app.c(541): warning: no previous extern declaration for non-static variable 'anchor_id_in' [-Wmissing-variable-declarations] -uint16_t anchor_id_in[TAG_NUM_IN_SYS],anchor_id_out[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(541): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint16_t anchor_id_in[TAG_NUM_IN_SYS],anchor_id_out[TAG_NUM_IN_SYS]; -^ -include/drivers/uwb_app.c(541): warning: no previous extern declaration for non-static variable 'anchor_id_out' [-Wmissing-variable-declarations] -uint16_t anchor_id_in[TAG_NUM_IN_SYS],anchor_id_out[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(541): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint16_t anchor_id_in[TAG_NUM_IN_SYS],anchor_id_out[TAG_NUM_IN_SYS]; -^ -include/drivers/uwb_app.c(542): warning: no previous extern declaration for non-static variable 'secondtask_search_count' [-Wmissing-variable-declarations] -uint8_t secondtask_search_count,secondtask_search_flag; - ^ -include/drivers/uwb_app.c(542): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t secondtask_search_count,secondtask_search_flag; -^ -include/drivers/uwb_app.c(542): warning: no previous extern declaration for non-static variable 'secondtask_search_flag' [-Wmissing-variable-declarations] -uint8_t secondtask_search_count,secondtask_search_flag; - ^ -include/drivers/uwb_app.c(542): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint8_t secondtask_search_count,secondtask_search_flag; -^ -include/drivers/uwb_app.c(545): warning: no previous extern declaration for non-static variable 'wltag_statetimer' [-Wmissing-variable-declarations] -uint32_t wltag_statetimer,wltag_uwbtimer; - ^ -include/drivers/uwb_app.c(545): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t wltag_statetimer,wltag_uwbtimer; -^ -include/drivers/uwb_app.c(545): warning: no previous extern declaration for non-static variable 'wltag_uwbtimer' [-Wmissing-variable-declarations] -uint32_t wltag_statetimer,wltag_uwbtimer; - ^ -include/drivers/uwb_app.c(545): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint32_t wltag_statetimer,wltag_uwbtimer; -^ -include/drivers/uwb_app.c(616): warning: no previous extern declaration for non-static variable 'g_com_receive_id' [-Wmissing-variable-declarations] -uint16_t g_com_receive_id; - ^ -include/drivers/uwb_app.c(616): note: declare 'static' if the variable is not intended to be used outside of this translation unit -uint16_t g_com_receive_id; -^ -include/drivers/uwb_app.c(29): warning: unused variable 'uwb_sendbuffer' [-Wunused-variable] -static uint8_t uwb_sendbuffer[150]; - ^ -include/drivers/uwb_app.c(30): warning: unused variable 'rx_state' [-Wunused-variable] -static volatile uint16_t rx_state; - ^ -include/drivers/uwb_app.c(34): warning: unused variable 'button' [-Wunused-variable] -static uint8_t frame_seq_nb2,battary,button,rec_nearbase_num,ancidlist_num; - ^ -include/drivers/uwb_app.c(34): warning: unused variable 'ancidlist_num' [-Wunused-variable] -static uint8_t frame_seq_nb2,battary,button,rec_nearbase_num,ancidlist_num; - ^ -include/drivers/uwb_app.c(35): warning: unused variable 'ancidlist_rec' [-Wunused-variable] -static uint16_t ancidlist_rec[TAG_NUM_IN_SYS],ancidlist_send[TAG_NUM_IN_SYS],rec_ancidlist[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(35): warning: unused variable 'ancidlist_send' [-Wunused-variable] -static uint16_t ancidlist_rec[TAG_NUM_IN_SYS],ancidlist_send[TAG_NUM_IN_SYS],rec_ancidlist[TAG_NUM_IN_SYS]; - ^ -include/drivers/uwb_app.c(38): warning: unused variable 'anc_id_recv' [-Wunused-variable] -static uint16_t anc_id_recv,tag_id_recv; - ^ -include/drivers/uwb_app.c(41): warning: unused variable 'tmp_time' [-Wunused-variable] -static uint16_t taglist_pos,tmp_time; - ^ -include/drivers/uwb_app.c(44): warning: unused variable 'frame_len' [-Wunused-variable] -static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag; - ^ -include/drivers/uwb_app.c(44): warning: unused variable 'recpoll_len' [-Wunused-variable] -static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag; - ^ -include/drivers/uwb_app.c(44): warning: unused variable 'current_syncid' [-Wunused-variable] -static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag; - ^ -include/drivers/uwb_app.c(44): warning: unused variable 'new_tagid' [-Wunused-variable] -static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag; - ^ -include/drivers/uwb_app.c(44): warning: unused variable 'result' [-Wunused-variable] -static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag; - ^ -include/drivers/uwb_app.c(44): warning: unused variable 'g_start_sync_flag' [-Wunused-variable] -static uint8_t frame_len,recpoll_len,current_syncid,new_tagid,seize_anchor,result,g_start_sync_flag; - ^ -include/drivers/uwb_app.c(219): warning: unused variable 'rx_poll_msg' [-Wunused-variable] -static uint8_t rx_poll_msg[] = {0x41, 0x88, 0, 0x4D, 0x4B, 0x53, 0x45, 0x4D, 0x49, 0x02}; - ^ -include/drivers/uwb_app.c(220): warning: unused variable 'tx_resp_msg' [-Wunused-variable] -static uint8_t tx_resp_msg[] = {0x41, 0x88, 0, 0x4D, 0x4B, 0x4D, 0x49, 0x53, 0x45, 0x03, 0x07}; - ^ -include/drivers/uwb_app.c(221): warning: unused variable 'rx_final_msg' [-Wunused-variable] -static uint8_t rx_final_msg[] = {0x41, 0x88, 0, 0x4D, 0x4B, 0x53, 0x45, 0x4D, 0x49, 0x04, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; - ^ -include/drivers/uwb_app.c(226): warning: unused variable 'resp_tx_timeout' [-Wunused-variable] -static uint32_t resp_tx_timeout; - ^ -include/drivers/uwb_app.c(234): warning: unused variable 'frame_seq_nb' [-Wunused-variable] -static uint8_t frame_seq_nb = 0; - ^ -include/drivers/uwb_app.c(247): warning: unused variable 'state' [-Wunused-variable] -static enum SIMPLE_FSM_T state = SIMPLE_IDLE; - ^ -116 warnings generated. -compiling uwb_app.c... -linking... -Program Size: Code=116236 RO-data=22824 RW-data=1732 ZI-data=36348 -After Build - User command #1: fromelf.exe --bincombined -o "Output\uci_fira.bin" "D:\project_chen\host\0.6.2_uci_project\keil\Objects\uci_fira.axf" -".\Objects\uci_fira.axf" - 0 Error(s), 116 Warning(s). +After Build - User command #1: fromelf.exe --bincombined -o "Output\uci_fira.bin" "C:\git-mk8000\ChinaUWBProject - 德国停车场标签\keil\Objects\uci_fira.axf" +".\Objects\uci_fira.axf" - 0 Error(s), 0 Warning(s). <h2>Software Packages used:</h2> @@ -622,10 +40,10 @@ <h2>Collection of Component include folders:</h2> .\RTE\_MK8000_Release - d:\Users\xookk\AppData\Local\Arm\Packs\MKSEMI\MK800X_DFP\1.0.3\Device\Include + C:\Keil_v5\ARM\PACK\MKSEMI\MK800X_DFP\1.0.3\Device\Include <h2>Collection of Component Files used:</h2> -Build Time Elapsed: 00:00:13 +Build Time Elapsed: 00:00:01 </pre> </body> </html> -- Gitblit v1.9.3