chen
3 天以前 33fcf88d7af90ba43679be0428b13bcb05f15341
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
<html>
<body>
<pre>
<h1>µVision Build Log</h1>
<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
 
Tool Versions:
Toolchain:       MDK-ARM Plus  Version: 5.30.0.0
Toolchain Path:  d:\Keil_v5\ARM\ARMCLANG\Bin
C Compiler:      ArmClang.exe V6.14
Assembler:       Armasm.exe V6.14
Linker/Locator:  ArmLink.exe V6.14
Library Manager: ArmAr.exe V6.14
Hex Converter:   FromElf.exe V6.14
CPU DLL:         SARMCM3.DLL V5.30.0.0
Dialog DLL:      DARMCM1.DLL V1.19.3.0
Target DLL:      Segger\JL2CM3.dll V2.99.38.0
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
 
<h2>Output:</h2>
*** Using Compiler 'V6.14', folder: 'd:\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).
 
<h2>Software Packages used:</h2>
 
Package Vendor: MKSEMI
                http://www.mk-semi.com/MKSEMI.MK800X_DFP.1.0.3.pack
                MKSEMI.MK800X_DFP.1.0.3
                Device Family Pack for MK800X
 
<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
 
<h2>Collection of Component Files used:</h2>
Build Time Elapsed:  00:00:13
</pre>
</body>
</html>