| | |
| | | Dialog DLL: TARMCM1.DLL V1.14.2.0 |
| | | |
| | | <h2>Project:</h2> |
| | | D:\project chen\ChinaUWBProject_tag_URT\keil\uwb_simple_example.uvprojx |
| | | Project File Date: 09/13/2024 |
| | | D:\project chen\ChinaUWBProject_tag\keil\uwb_simple_example.uvprojx |
| | | Project File Date: 11/25/2024 |
| | | |
| | | <h2>Output:</h2> |
| | | *** Using Compiler 'V6.14', folder: 'd:\Keil_v5\ARM\ARMCLANG\Bin' |
| | | Build target 'MK8000 Release' |
| | | After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\project chen\ChinaUWBProject_tag_URT\keil\Objects\uwb_simple_example.axf" |
| | | ".\Objects\uwb_simple_example.axf" - 0 Error(s), 0 Warning(s). |
| | | uwb_tag_.c(8): warning: In file included from... |
| | | ./dw_app.h(45): warning: no newline at end of file [-Wnewline-eof] |
| | | #endif |
| | | ^ |
| | | uwb_tag_.c(162): warning: no previous extern declaration for non-static variable 'anclost_times' [-Wmissing-variable-declarations] |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): warning: no previous extern declaration for non-static variable 'mainbase_lost_count' [-Wmissing-variable-declarations] |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): warning: no previous extern declaration for non-static variable 'get_newbase' [-Wmissing-variable-declarations] |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(165): warning: no previous extern declaration for non-static variable 'temp_count1' [-Wmissing-variable-declarations] |
| | | uint32_t temp_count1=0; |
| | | ^ |
| | | uwb_tag_.c(165): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint32_t temp_count1=0; |
| | | ^ |
| | | uwb_tag_.c(166): warning: no previous extern declaration for non-static variable 'temp_count2' [-Wmissing-variable-declarations] |
| | | uint32_t temp_count2=0; |
| | | ^ |
| | | uwb_tag_.c(166): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint32_t temp_count2=0; |
| | | ^ |
| | | uwb_tag_.c(167): warning: no previous extern declaration for non-static variable 'temp_count3' [-Wmissing-variable-declarations] |
| | | uint32_t temp_count3=0; |
| | | ^ |
| | | uwb_tag_.c(167): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint32_t temp_count3=0; |
| | | ^ |
| | | uwb_tag_.c(168): warning: no previous extern declaration for non-static variable 'temp_count4' [-Wmissing-variable-declarations] |
| | | uint32_t temp_count4=0; |
| | | ^ |
| | | uwb_tag_.c(168): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint32_t temp_count4=0; |
| | | ^ |
| | | uwb_tag_.c(169): warning: no previous extern declaration for non-static variable 'tempflag' [-Wmissing-variable-declarations] |
| | | uint32_t tempflag=0; |
| | | ^ |
| | | uwb_tag_.c(169): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint32_t tempflag=0; |
| | | ^ |
| | | uwb_tag_.c(185): warning: implicit conversion loses integer precision: 'int32_t' (aka 'int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] |
| | | u16_nearbase_distlist[i] = nearbase_distlist[i]; |
| | | ~ ^~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(181): warning: no previous prototype for function 'uwb_poll_buffer_construct' [-Wmissing-prototypes] |
| | | void uwb_poll_buffer_construct(void) |
| | | ^ |
| | | uwb_tag_.c(181): note: declare 'static' if the function is not intended to be used outside of this translation unit |
| | | void uwb_poll_buffer_construct(void) |
| | | ^ |
| | | static |
| | | uwb_tag_.c(323): warning: no previous prototype for function 'FindNearBasePos' [-Wmissing-prototypes] |
| | | uint8_t FindNearBasePos(uint16_t baseid)//Ѱ<D5>ҵ<B1>ǰ<C1>б<ED><D6>еĻ<F9>վ<B7><B5><BB><D8><CB><F7><D2><FD> |
| | | ^ |
| | | uwb_tag_.c(323): note: declare 'static' if the function is not intended to be used outside of this translation unit |
| | | uint8_t FindNearBasePos(uint16_t baseid)//Ѱ<D5>ҵ<B1>ǰ<C1>б<ED><D6>еĻ<F9>վ<B7><B5><BB><D8><CB><F7><D2><FD> |
| | | ^ |
| | | static |
| | | uwb_tag_.c(333): warning: non-void function does not return a value in all control paths [-Wreturn-type] |
| | | } |
| | | ^ |
| | | uwb_tag_.c(364): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] |
| | | temp_dist=true_nearbase_distlist[j]; |
| | | ~^~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(366): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] |
| | | temp_exsis=true_exsistbase_list[j]; |
| | | ~^~~~~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(371): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion] |
| | | true_nearbase_distlist[j+1]=temp_dist; |
| | | ~^~~~~~~~~ |
| | | uwb_tag_.c(372): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] |
| | | true_nearbase_idlist[j+1]=temp_id; |
| | | ~^~~~~~~ |
| | | uwb_tag_.c(373): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion] |
| | | true_exsistbase_list[j+1]=temp_exsis; |
| | | ~^~~~~~~~~~ |
| | | uwb_tag_.c(381): warning: implicit conversion loses integer precision: 'int32_t' (aka 'int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] |
| | | exsistbase_list[i] = true_exsistbase_list[i]; |
| | | ~ ^~~~~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(395): warning: variable 'temp' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] |
| | | if(taglist_total_num<MAX_TAG_LIST_NUM) |
| | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(397): note: uninitialized use occurs here |
| | | return temp; |
| | | ^~~~ |
| | | uwb_tag_.c(395): note: remove the 'if' if its condition is always true |
| | | if(taglist_total_num<MAX_TAG_LIST_NUM) |
| | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(386): note: initialize the variable 'temp' to silence this warning |
| | | uint16_t temp; |
| | | ^ |
| | | = 0 |
| | | uwb_tag_.c(400): warning: no previous extern declaration for non-static variable 'tt' [-Wmissing-variable-declarations] |
| | | int tt=1; |
| | | ^ |
| | | uwb_tag_.c(400): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int tt=1; |
| | | ^ |
| | | uwb_tag_.c(445): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] |
| | | tempflag=uwb_tx(uwb_sendbuffer,13+4*nearbase_num,1,poll_tx_en_start_u32);//<C1><A2><BC><B4><B7><A2><CB><CD> |
| | | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(459): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] |
| | | tempflag=uwb_rx(0,0, RESP_RX_TIMEOUT_US); |
| | | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(482): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] |
| | | tempflag=uwb_rx(0, 0, RESP_RX_TIMEOUT_US);//<C1><A2><BC><B4><BF><AA><C6><F4><BD><D3><CA>ܲ<A2><C9><E8><D6><C3>0<B3><AC>ʱ |
| | | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(488): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] |
| | | SetANCTimestap(rec_nearbasepos,&rx_buf[RESP_MSG_POLL_RX_TS_IDX],&rx_buf[RESP_MSG_RESP_TX_TS_IDX],(uint32_t)resp_rx_ts_i64,&rx_buf[RESP_MSG_ANC_DISTOFFSET],test2,(uint32_t)poll_tx_ts_i64); |
| | | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(511): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] |
| | | tempflag=uwb_rx(0, 0, RESP_RX_TIMEOUT_US);//<C1><A2><BC><B4><BF><AA><C6><F4><BD><D3><CA>ܲ<A2><C9><E8><D6><C3>0<B3><AC>ʱ |
| | | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | uwb_tag_.c(532): warning: no newline at end of file [-Wnewline-eof] |
| | | #endif |
| | | ^ |
| | | uwb_tag_.c(531): warning: non-void function does not return a value [-Wreturn-type] |
| | | } |
| | | ^ |
| | | uwb_tag_.c(48): warning: no previous extern declaration for non-static variable 'dev_id' [-Wmissing-variable-declarations] |
| | | uint32_t dev_id; |
| | | ^ |
| | | uwb_tag_.c(48): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint32_t dev_id; |
| | | ^ |
| | | uwb_tag_.c(49): warning: no previous extern declaration for non-static variable 'group_id' [-Wmissing-variable-declarations] |
| | | uint8_t group_id; |
| | | ^ |
| | | uwb_tag_.c(49): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t group_id; |
| | | ^ |
| | | uwb_tag_.c(163): warning: no previous extern declaration for non-static variable 'rec_nearbaseid' [-Wmissing-variable-declarations] |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(163): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(151): warning: no previous extern declaration for non-static variable 'temp_tag_num' [-Wmissing-variable-declarations] |
| | | uint8_t temp_tag_num; |
| | | ^ |
| | | uwb_tag_.c(151): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t temp_tag_num; |
| | | ^ |
| | | uwb_tag_.c(152): warning: no previous extern declaration for non-static variable 'test2' [-Wmissing-variable-declarations] |
| | | int32_t test2; |
| | | ^ |
| | | uwb_tag_.c(152): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t test2; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(156): 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; |
| | | ^ |
| | | uwb_tag_.c(157): warning: no previous extern declaration for non-static variable 'taglist_total_num' [-Wmissing-variable-declarations] |
| | | uint16_t taglist_total_num,taglist_current_index; //<B5><B1>ǰ<C1>б<ED><D7><DC><CA><FD><C1><BF> |
| | | ^ |
| | | uwb_tag_.c(157): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t taglist_total_num,taglist_current_index; //<B5><B1>ǰ<C1>б<ED><D7><DC><CA><FD><C1><BF> |
| | | ^ |
| | | uwb_tag_.c(157): warning: no previous extern declaration for non-static variable 'taglist_current_index' [-Wmissing-variable-declarations] |
| | | uint16_t taglist_total_num,taglist_current_index; //<B5><B1>ǰ<C1>б<ED><D7><DC><CA><FD><C1><BF> |
| | | ^ |
| | | uwb_tag_.c(157): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t taglist_total_num,taglist_current_index; //<B5><B1>ǰ<C1>б<ED><D7><DC><CA><FD><C1><BF> |
| | | ^ |
| | | uwb_tag_.c(158): warning: no previous extern declaration for non-static variable 'taglist_keeptime' [-Wmissing-variable-declarations] |
| | | uint8_t taglist_keeptime[MAX_TAG_LIST_NUM]; //ÿ<B8><F6><B1><EA>ǩ<B4><E6><BB><EE>ʱ<BC><E4> |
| | | ^ |
| | | uwb_tag_.c(158): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t taglist_keeptime[MAX_TAG_LIST_NUM]; //ÿ<B8><F6><B1><EA>ǩ<B4><E6><BB><EE>ʱ<BC><E4> |
| | | ^ |
| | | uwb_tag_.c(159): warning: no previous extern declaration for non-static variable 'taglist_id' [-Wmissing-variable-declarations] |
| | | uint16_t taglist_id[MAX_TAG_LIST_NUM],taglist_dist[MAX_TAG_LIST_NUM]; //<B1><EA>ǩ<BE><E0><C0><EB><BA>ͱ<EA>ǩ<B5><C4>ID |
| | | ^ |
| | | uwb_tag_.c(159): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t taglist_id[MAX_TAG_LIST_NUM],taglist_dist[MAX_TAG_LIST_NUM]; //<B1><EA>ǩ<BE><E0><C0><EB><BA>ͱ<EA>ǩ<B5><C4>ID |
| | | ^ |
| | | uwb_tag_.c(159): warning: no previous extern declaration for non-static variable 'taglist_dist' [-Wmissing-variable-declarations] |
| | | uint16_t taglist_id[MAX_TAG_LIST_NUM],taglist_dist[MAX_TAG_LIST_NUM]; //<B1><EA>ǩ<BE><E0><C0><EB><BA>ͱ<EA>ǩ<B5><C4>ID |
| | | ^ |
| | | uwb_tag_.c(159): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t taglist_id[MAX_TAG_LIST_NUM],taglist_dist[MAX_TAG_LIST_NUM]; //<B1><EA>ǩ<BE><E0><C0><EB><BA>ͱ<EA>ǩ<B5><C4>ID |
| | | ^ |
| | | uwb_tag_.c(161): warning: no previous extern declaration for non-static variable 'mainbase_dist' [-Wmissing-variable-declarations] |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): warning: no previous extern declaration for non-static variable 'nearbase_distlist' [-Wmissing-variable-declarations] |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): warning: no previous extern declaration for non-static variable 'true_nearbase_distlist' [-Wmissing-variable-declarations] |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): warning: no previous extern declaration for non-static variable 'true_exsistbase_list' [-Wmissing-variable-declarations] |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): warning: no previous extern declaration for non-static variable 'ancsync_time' [-Wmissing-variable-declarations] |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): warning: no previous extern declaration for non-static variable 'nextpoll_delaytime' [-Wmissing-variable-declarations] |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): warning: no previous extern declaration for non-static variable 'offsettimeus' [-Wmissing-variable-declarations] |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(161): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t mainbase_dist,nearbase_distlist[MAX_NEARBASE_NUM],true_nearbase_distlist[MAX_NEARBASE_NUM],true_exsistbase_list[MAX_NEARBASE_NUM],ancsync_time,nextpoll_delaytime,offsettimeus; |
| | | ^ |
| | | uwb_tag_.c(162): warning: no previous extern declaration for non-static variable 'exsistbase_list' [-Wmissing-variable-declarations] |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): warning: no previous extern declaration for non-static variable 'nearbase_num' [-Wmissing-variable-declarations] |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): warning: no previous extern declaration for non-static variable 'last_nearbase_num' [-Wmissing-variable-declarations] |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): warning: no previous extern declaration for non-static variable 'next_nearbase_num' [-Wmissing-variable-declarations] |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(162): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint8_t anclost_times=0 , mainbase_lost_count=0,exsistbase_list[MAX_NEARBASE_NUM],get_newbase=0,nearbase_num,last_nearbase_num,next_nearbase_num; |
| | | ^ |
| | | uwb_tag_.c(163): warning: no previous extern declaration for non-static variable 'nearbaseid_list' [-Wmissing-variable-declarations] |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(163): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(163): warning: no previous extern declaration for non-static variable 'mainbase_id' [-Wmissing-variable-declarations] |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(163): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(163): warning: no previous extern declaration for non-static variable 'true_nearbase_idlist' [-Wmissing-variable-declarations] |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(163): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(163): warning: no previous extern declaration for non-static variable 'rec_nearbasepos' [-Wmissing-variable-declarations] |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(163): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t nearbaseid_list[MAX_NEARBASE_NUM],mainbase_id,true_nearbase_idlist[MAX_NEARBASE_NUM],rec_nearbaseid,rec_nearbasepos; |
| | | ^ |
| | | uwb_tag_.c(164): warning: no previous extern declaration for non-static variable 'u16_nearbase_distlist' [-Wmissing-variable-declarations] |
| | | uint16_t u16_nearbase_distlist[MAX_NEARBASE_NUM]; |
| | | ^ |
| | | uwb_tag_.c(164): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint16_t u16_nearbase_distlist[MAX_NEARBASE_NUM]; |
| | | ^ |
| | | uwb_tag_.c(170): warning: no previous extern declaration for non-static variable 'freq_offset' [-Wmissing-variable-declarations] |
| | | int32_t freq_offset,freq_offset_filter; |
| | | ^ |
| | | uwb_tag_.c(170): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t freq_offset,freq_offset_filter; |
| | | ^ |
| | | uwb_tag_.c(170): warning: no previous extern declaration for non-static variable 'freq_offset_filter' [-Wmissing-variable-declarations] |
| | | int32_t freq_offset,freq_offset_filter; |
| | | ^ |
| | | uwb_tag_.c(170): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int32_t freq_offset,freq_offset_filter; |
| | | ^ |
| | | uwb_tag_.c(171): warning: no previous extern declaration for non-static variable 'temp_flag' [-Wmissing-variable-declarations] |
| | | int temp_flag,poll_tx_num,resp_rx_num; |
| | | ^ |
| | | uwb_tag_.c(171): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int temp_flag,poll_tx_num,resp_rx_num; |
| | | ^ |
| | | uwb_tag_.c(171): warning: no previous extern declaration for non-static variable 'poll_tx_num' [-Wmissing-variable-declarations] |
| | | int temp_flag,poll_tx_num,resp_rx_num; |
| | | ^ |
| | | uwb_tag_.c(171): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int temp_flag,poll_tx_num,resp_rx_num; |
| | | ^ |
| | | uwb_tag_.c(171): warning: no previous extern declaration for non-static variable 'resp_rx_num' [-Wmissing-variable-declarations] |
| | | int temp_flag,poll_tx_num,resp_rx_num; |
| | | ^ |
| | | uwb_tag_.c(171): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | int temp_flag,poll_tx_num,resp_rx_num; |
| | | ^ |
| | | uwb_tag_.c(173): warning: no previous extern declaration for non-static variable 'count1' [-Wmissing-variable-declarations] |
| | | uint32_t count1,count2; |
| | | ^ |
| | | uwb_tag_.c(173): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint32_t count1,count2; |
| | | ^ |
| | | uwb_tag_.c(173): warning: no previous extern declaration for non-static variable 'count2' [-Wmissing-variable-declarations] |
| | | uint32_t count1,count2; |
| | | ^ |
| | | uwb_tag_.c(173): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint32_t count1,count2; |
| | | ^ |
| | | uwb_tag_.c(399): warning: no previous extern declaration for non-static variable 'count_index' [-Wmissing-variable-declarations] |
| | | uint32_t count_index; |
| | | ^ |
| | | uwb_tag_.c(399): note: declare 'static' if the variable is not intended to be used outside of this translation unit |
| | | uint32_t count_index; |
| | | ^ |
| | | uwb_tag_.c(129): warning: unused variable 'tx_poll_msg' [-Wunused-variable] |
| | | static uint8_t tx_poll_msg[] = {0x41, 0x88, 0, 0x4D, 0x4B, 0x53, 0x45, 0x4D, 0x49, 0x02}; |
| | | ^ |
| | | uwb_tag_.c(130): warning: unused variable 'rx_resp_msg' [-Wunused-variable] |
| | | static uint8_t rx_resp_msg[] = {0x41, 0x88, 0, 0x4D, 0x4B, 0x4D, 0x49, 0x53, 0x45, 0x03, 0x07}; |
| | | ^ |
| | | uwb_tag_.c(131): warning: unused variable 'tx_final_msg' [-Wunused-variable] |
| | | static uint8_t tx_final_msg[] = {0x41, 0x88, 0, 0x4D, 0x4B, 0x53, 0x45, 0x4D, 0x49, 0x04, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; |
| | | ^ |
| | | uwb_tag_.c(136): warning: unused variable 'final_tx_en_start_u32' [-Wunused-variable] |
| | | static uint32_t final_tx_en_start_u32; |
| | | ^ |
| | | uwb_tag_.c(141): warning: unused variable 'final_tx_ts_i64' [-Wunused-variable] |
| | | static int64_t final_tx_ts_i64; |
| | | ^ |
| | | uwb_tag_.c(154): warning: unused variable 'rec_tag_index' [-Wunused-variable] |
| | | static uint8_t rec_tag_index,tag_num_tosend; |
| | | ^ |
| | | uwb_tag_.c(154): warning: unused variable 'tag_num_tosend' [-Wunused-variable] |
| | | static uint8_t rec_tag_index,tag_num_tosend; |
| | | ^ |
| | | uwb_tag_.c(198): warning: unused variable 'state' [-Wunused-variable] |
| | | static enum SIMPLE_FSM_T state = SIMPLE_IDLE; |
| | | ^ |
| | | 75 warnings generated. |
| | | compiling uwb_tag_.c... |
| | | linking... |
| | | .\include\devices\MK800X\Source\ARM\MK800X_ac6_copy.sct(25): warning: L6314W: No section matches pattern *(.XIP_SECTION). |
| | | Program Size: Code=47540 RO-data=7260 RW-data=1308 ZI-data=25028 |
| | | Finished: 0 information, 1 warning and 0 error messages. |
| | | FromELF: creating hex file... |
| | | After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\project chen\ChinaUWBProject_tag\keil\Objects\uwb_simple_example.axf" |
| | | ".\Objects\uwb_simple_example.axf" - 0 Error(s), 76 Warning(s). |
| | | |
| | | <h2>Software Packages used:</h2> |
| | | |
| | |
| | | d:\Users\xookk\AppData\Local\Arm\Packs\MKSEMI\MK800X_DFP\1.0.3\Device\Include |
| | | |
| | | <h2>Collection of Component Files used:</h2> |
| | | Build Time Elapsed: 00:00:01 |
| | | Build Time Elapsed: 00:00:04 |
| | | </pre> |
| | | </body> |
| | | </html> |