peripheral.log
33.1 KB
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
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
Module peripheral is in DEFALUT mode
Compiling hal\peripheral\src\DclH_kbd.c ...
"hal\peripheral\src\DclH_kbd.c", line 237: Warning: #177-D: variable "u4KeyReg" was declared but never referenced
kal_uint16 u4KeyReg = 0;
^
"hal\peripheral\src\DclH_kbd.c", line 732: Warning: #177-D: variable "buffer" was declared but never referenced
char buffer[100];
^
hal\peripheral\src\DclH_kbd.c: 2 warnings, 0 errors
Compiling hal\peripheral\src\DclS_kbd.c ...
Compiling hal\peripheral\src\Dcl_SeriPortDrv.c ...
"hal\peripheral\src\Dcl_SeriPortDrv.c", line 143: Warning: #144-D: a value of type "DCL_STATUS (*)(DCL_HANDLE, DCL_CTRL_CMD, DCL_CTRL_DATA_T *)" cannot be used to initialize an entity of type "DCL_STATUS (*)(DCL_HANDLE, DCL_CTRL_CMD, void *)"
extern DEV_Operations uart_dev_operations = {DclSerPort_Open,DclSerPort_ReadData,DclSerPort_WriteData,DclSerPort_Control,DclSerPort_RegisterCallback,DclSerPort_Query,DclSerPort_Close};/* add for dcl common layer */
^
"hal\peripheral\src\Dcl_SeriPortDrv.c", line 143: Warning: #144-D: a value of type "DCL_STATUS (*)(DCL_HANDLE, DCL_EVENT, DCL_CALLBACK *, void *)" cannot be used to initialize an entity of type "DCL_STATUS (*)(DCL_HANDLE, DCL_EVENT, DCL_CALLBACK, void *, DCL_USER_ID)"
extern DEV_Operations uart_dev_operations = {DclSerPort_Open,DclSerPort_ReadData,DclSerPort_WriteData,DclSerPort_Control,DclSerPort_RegisterCallback,DclSerPort_Query,DclSerPort_Close};/* add for dcl common layer */
^
"hal\peripheral\src\Dcl_SeriPortDrv.c", line 290: Warning: #940-D: missing return statement at end of non-void function "DclSerPort_Control"
}
^
"hal\peripheral\src\Dcl_SeriPortDrv.c", line 326: Warning: #940-D: missing return statement at end of non-void function "DclSerPort_QueryHandleWithMSG"
}
^
"hal\peripheral\src\Dcl_SeriPortDrv.c", line 309: Warning: C3017W: port may be used before being set
UART_PORT port;
^
hal\peripheral\src\Dcl_SeriPortDrv.c: 5 warnings, 0 errors
Compiling hal\peripheral\src\accdet.c ...
Compiling hal\peripheral\src\adc.c ...
"hal\peripheral\src\adc.c", line 528: Warning: #223-D: function "va_cal_query" declared implicitly
cal=((double)1)+((double)va_cal_query()/(double)28000000);
^
hal\peripheral\src\adc.c: 1 warning, 0 errors
Compiling hal\peripheral\src\adc_msg_handle.c ...
Compiling hal\peripheral\src\adcmeasure.c ...
"custom/common/hal/aud_common_config.h", line 140: Warning: #47-D: incompatible redefinition of macro "AUDIO_INCLUDE" (declared at line 637 of "custom/common/hal/audcoeff_default.h")
#define AUDIO_INCLUDE STRINGIFY_VALUE(TOPWELL_AUDIO_GMN3_H)
^
"hal\peripheral\src\adcmeasure.c", line 1261: Warning: #177-D: variable "result" was declared but never referenced
kal_bool result;
^
hal\peripheral\src\adcmeasure.c: 2 warnings, 0 errors
Compiling hal\peripheral\src\adcsche.c ...
"hal\peripheral\src\adcsche.c", line 631: Warning: #186-D: pointless comparison of unsigned integer with zero
if ( 0<=prCreateObj->u1AdcChannel<=5 || 12<=prCreateObj->u1AdcChannel<=15)
^
hal\peripheral\src\adcsche.c: 1 warning, 0 errors
Compiling hal\peripheral\src\alerter.c ...
Compiling hal\peripheral\src\auxmain.c ...
Compiling hal\peripheral\src\dbgprint.c ...
Compiling hal\peripheral\src\dcl_adc.c ...
"hal\peripheral\src\dcl_adc.c", line 472: Warning: #223-D: function "adc_set_bypass_ZCV" declared implicitly
adc_set_bypass_ZCV(prADCSetBypassZcv->bBypassZcv);
^
"hal\peripheral\src\dcl_adc.c", line 480: Warning: #223-D: function "adc_get_ZCV" declared implicitly
prADCGetZcv->u4Volt=adc_get_ZCV();
^
"hal\peripheral\src\dcl_adc.c", line 493: Warning: #223-D: function "adc_sche_set_ignore_by_ts" declared implicitly
adc_sche_set_ignore_by_ts(sche_id,prCreateObj->ignore_by_ts);
^
"hal\peripheral\src\dcl_adc.c", line 504: Warning: #223-D: function "adc_sche_check_channel" declared implicitly
if(adc_sche_check_channel(prCreateObj)==-1)
^
hal\peripheral\src\dcl_adc.c: 4 warnings, 0 errors
Compiling hal\peripheral\src\dcl_aux.c ...
Compiling hal\peripheral\src\dcl_chr_det.c ...
Compiling hal\peripheral\src\dcl_common.c ...
Compiling hal\peripheral\src\dcl_eint.c ...
"hal\peripheral\src\dcl_eint.c", line 264: Warning: #513-D: a value of type "DCL_CALLBACK" cannot be assigned to an entity of type "void (*)(kal_uint8)"
EINT_FUNC[eint_no].eint_func = callback;
^
"hal\peripheral\src\dcl_eint.c", line 244: Warning: #177-D: variable "savedMask" was declared but never referenced
kal_uint32 savedMask;
^
"hal\peripheral\src\dcl_eint.c", line 330: Warning: #188-D: enumerated type mixed with another type
EINT_Registration(eint_no,rConfig->debounce_en,rConfig->act_polarity,NULL,rConfig->auto_unmask);
^
"hal\peripheral\src\dcl_eint.c", line 330: Warning: #188-D: enumerated type mixed with another type
EINT_Registration(eint_no,rConfig->debounce_en,rConfig->act_polarity,NULL,rConfig->auto_unmask);
^
"hal\peripheral\src\dcl_eint.c", line 330: Warning: #188-D: enumerated type mixed with another type
EINT_Registration(eint_no,rConfig->debounce_en,rConfig->act_polarity,NULL,rConfig->auto_unmask);
^
"hal\peripheral\src\dcl_eint.c", line 357: Warning: #188-D: enumerated type mixed with another type
EINT_Set_Polarity(eint_no,rPolarityData->ACT_Polarity);
^
"hal\peripheral\src\dcl_eint.c", line 381: Warning: #188-D: enumerated type mixed with another type
EINT_Set_Sensitivity(eint_no,rSensData->sensitivity);
^
"hal\peripheral\src\dcl_eint.c", line 537: Warning: #188-D: enumerated type mixed with another type
DRV_BuildPrimitive(
^
hal\peripheral\src\dcl_eint.c: 8 warnings, 0 errors
Compiling hal\peripheral\src\dcl_f32k_clk.c ...
"hal\peripheral\src\dcl_f32k_clk.c", line 131: Warning: #223-D: function "F32K_OSC32_Init" declared implicitly
F32K_OSC32_Init();
^
"hal\peripheral\src\dcl_f32k_clk.c", line 300: Warning: #223-D: function "F32K_OSC32_Init" declared implicitly
F32K_OSC32_Init();
^
"hal\peripheral\src\dcl_f32k_clk.c", line 318: Warning: #223-D: function "F32K_Set_Emb_OSC32_Mode" declared implicitly
return_status = F32K_Set_Emb_OSC32_Mode(prSetEmbOsc32Mode->osc32_mode);
^
"hal\peripheral\src\dcl_f32k_clk.c", line 326: Warning: #223-D: function "F32K_Set_EOSC_CALI_TD" declared implicitly
return_status = F32K_Set_EOSC_CALI_TD(prSetEoscCaliTd->td);
^
"hal\peripheral\src\dcl_f32k_clk.c", line 334: Warning: #223-D: function "F32K_Set_EOSC_CALI_Run_Time_En" declared implicitly
return_status = F32K_Set_EOSC_CALI_Run_Time_En(prSetEoscCaliRunTimeEn->en);
^
hal\peripheral\src\dcl_f32k_clk.c: 5 warnings, 0 errors
Compiling hal\peripheral\src\dcl_gpio.c ...
"hal\peripheral\src\dcl_gpio.c", line 93: Warning: #144-D: a value of type "DCL_STATUS (*)(DCL_HANDLE, DCL_CTRL_CMD, DCL_CTRL_DATA_T *)" cannot be used to initialize an entity of type "DCL_STATUS (*)(DCL_HANDLE, DCL_CTRL_CMD, void *)"
extern DEV_Operations gpio_dev_operations = {DclGPIO_Open, NULL, NULL, DclGPIO_Control, NULL, NULL, DclGPIO_Close};/* add for dcl common layer */
^
"hal\peripheral\src\dcl_gpio.c", line 328: Warning: #186-D: pointless comparison of unsigned integer with zero
if( ((port < GPIO_DDIE_MIN_GPIO_PIN) || (port > GPIO_DDIE_MAX_GPIO_PIN)) )
^
"hal\peripheral\src\dcl_gpio.c", line 331: Warning: #117-D: non-void function "DclGPIO_Control" should return a value
return;
^
hal\peripheral\src\dcl_gpio.c: 3 warnings, 0 errors
Compiling hal\peripheral\src\dcl_gpt.c ...
Compiling hal\peripheral\src\dcl_gpt_hw.c ...
"hal\peripheral\src\dcl_gpt_hw.c", line 185: Warning: #177-D: function "GPT_return_current_count" was declared but never referenced
static kal_uint16 GPT_return_current_count(void);
^
hal\peripheral\src\dcl_gpt_hw.c: 1 warning, 0 errors
Compiling hal\peripheral\src\dcl_hts.c ...
Compiling hal\peripheral\src\dcl_i2c.c ...
"hal\peripheral\src\dcl_i2c.c", line 186: Warning: #144-D: a value of type "DCL_STATUS (*)(DCL_HANDLE, DCL_CTRL_CMD, DCL_CTRL_DATA_T *)" cannot be used to initialize an entity of type "DCL_STATUS (*)(DCL_HANDLE, DCL_CTRL_CMD, void *)"
DclSI2C_Control,
^
hal\peripheral\src\dcl_i2c.c: 1 warning, 0 errors
Compiling hal\peripheral\src\dcl_irda.c ...
Compiling hal\peripheral\src\dcl_pfc.c ...
Compiling hal\peripheral\src\dcl_pmu.c ...
Compiling hal\peripheral\src\dcl_pmu6261.c ...
"plutommi/mmi/Inc/TOPWELL_FEATURES.h", line 105: Warning: #47-D: incompatible redefinition of macro "CFG_TOPWELL_MENU_LAYOUT_CURRENCY" (declared at line 67)
#define CFG_TOPWELL_MENU_LAYOUT_CURRENCY (__MENU_DEFAULT__)
^
"plutommi/mmi/Inc/TOPWELL_FEATURES.h", line 67: Warning: #47-D: incompatible redefinition of macro "CFG_TOPWELL_MENU_LAYOUT_CURRENCY" (declared at line 105)
#define CFG_TOPWELL_MENU_LAYOUT_CURRENCY (__MENU_ORGANIZE__)
^
"plutommi/mmi/Inc/TOPWELL_FEATURES.h", line 105: Warning: #47-D: incompatible redefinition of macro "CFG_TOPWELL_MENU_LAYOUT_CURRENCY" (declared at line 67)
#define CFG_TOPWELL_MENU_LAYOUT_CURRENCY (__MENU_DEFAULT__)
^
"hal\peripheral\src\dcl_pmu6261.c", line 1969: Warning: #223-D: function "GPIO_ModeSetup" declared implicitly
GPIO_ModeSetup(topwell_tourch_pin,0);
^
"hal\peripheral\src\dcl_pmu6261.c", line 1970: Warning: #223-D: function "GPIO_InitIO" declared implicitly
GPIO_InitIO(1,topwell_tourch_pin);
^
"hal\peripheral\src\dcl_pmu6261.c", line 1971: Warning: #223-D: function "GPIO_WriteIO" declared implicitly
GPIO_WriteIO(1,topwell_tourch_pin);
^
"hal\peripheral\src\dcl_pmu6261.c", line 1975: Warning: #223-D: function "GPIO_ModeSetup" declared implicitly
GPIO_ModeSetup(topwell_tourch_pin,0);
^
"hal\peripheral\src\dcl_pmu6261.c", line 1976: Warning: #223-D: function "GPIO_InitIO" declared implicitly
GPIO_InitIO(1,topwell_tourch_pin);
^
"hal\peripheral\src\dcl_pmu6261.c", line 1977: Warning: #223-D: function "GPIO_WriteIO" declared implicitly
GPIO_WriteIO(0,topwell_tourch_pin);
^
"hal\peripheral\src\dcl_pmu6261.c", line 1983: Warning: #223-D: function "GPIO_ModeSetup" declared implicitly
GPIO_ModeSetup(topwell_tourch_pin,0);
^
"hal\peripheral\src\dcl_pmu6261.c", line 1984: Warning: #223-D: function "GPIO_InitIO" declared implicitly
GPIO_InitIO(1,topwell_tourch_pin);
^
"hal\peripheral\src\dcl_pmu6261.c", line 1985: Warning: #223-D: function "GPIO_ReadIO" declared implicitly
state = GPIO_ReadIO(topwell_tourch_pin);
^
"hal\peripheral\src\dcl_pmu6261.c", line 2028: Warning: #111-D: statement is unreachable
return 0;
^
hal\peripheral\src\dcl_pmu6261.c: 13 warnings, 0 errors
Compiling hal\peripheral\src\dcl_pmu6261_init.c ...
Compiling hal\peripheral\src\dcl_pmu_common.c ...
Compiling hal\peripheral\src\dcl_pw.c ...
Compiling hal\peripheral\src\dcl_pwm.c ...
"custom/codegen/KEYTAK61D_GB_11C_BB/pwm_drv.h", line 35: Warning: #47-D: incompatible redefinition of macro "DCL_NONE" (declared at line 32)
#define DCL_NONE DCL_PWM4
^
"hal\peripheral\src\dcl_pwm.c", line 357: Warning: #188-D: enumerated type mixed with another type
comm_pwm_driver->pwmClkInit( iPWMNum,rPWMConfig->clksrc,rPWMConfig->clkdiv);
^
"hal\peripheral\src\dcl_pwm.c", line 357: Warning: #188-D: enumerated type mixed with another type
comm_pwm_driver->pwmClkInit( iPWMNum,rPWMConfig->clksrc,rPWMConfig->clkdiv);
^
hal\peripheral\src\dcl_pwm.c: 3 warnings, 0 errors
Compiling hal\peripheral\src\dcl_pxs.c ...
Compiling hal\peripheral\src\dcl_rtc.c ...
Compiling hal\peripheral\src\dcl_sts.c ...
Compiling hal\peripheral\src\dcl_wdt.c ...
Compiling hal\peripheral\src\drv_comm.c ...
Compiling hal\peripheral\src\drv_hisr.c ...
Compiling hal\peripheral\src\f32k_clk.c ...
Compiling hal\peripheral\src\gpio.c ...
"hal\peripheral\src\gpio.c", line 631: Warning: #177-D: variable "index" was declared but never referenced
kal_uint32 index;
^
"hal\peripheral\src\gpio.c", line 671: Warning: #177-D: variable "index" was declared but never referenced
kal_uint32 index;
^
"hal\peripheral\src\gpio.c", line 736: Warning: #177-D: variable "savedMask" was declared but never referenced
kal_uint32 savedMask;
^
"hal\peripheral\src\gpio.c", line 737: Warning: #177-D: variable "index" was declared but never referenced
kal_uint32 index;
^
"hal\peripheral\src\gpio.c", line 857: Warning: #177-D: variable "savedMask" was declared but never referenced
kal_uint32 savedMask;
^
"hal\peripheral\src\gpio.c", line 858: Warning: #177-D: variable "index" was declared but never referenced
kal_uint32 index;
^
"hal\peripheral\src\gpio.c", line 859: Warning: #177-D: variable "temp_pull" was declared but never referenced
kal_uint16 temp_pull;
^
"hal\peripheral\src\gpio.c", line 955: Warning: #177-D: variable "savedMask" was declared but never referenced
kal_uint32 savedMask;
^
"hal\peripheral\src\gpio.c", line 1221: Warning: #177-D: variable "savedMask" was declared but never referenced
kal_uint32 savedMask;
^
hal\peripheral\src\gpio.c: 9 warnings, 0 errors
Compiling hal\peripheral\src\gpt_udvt_test.c ...
"hal\peripheral\src\gpt_udvt_test.c", line 115: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("***********************************************************\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 233: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 1---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 281: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 2---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 328: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 3---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 375: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 4---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 422: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 5---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 471: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 6---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 518: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 7---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 567: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 8 ---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 615: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 9---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 654: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 10---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 709: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 11--- \r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 759: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("---now,start gpt test case 12---\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 791: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("Error: GPT Initialization Failed\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 797: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("Error: GPT-1 handle invalid\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 803: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("Error: GPT-2 handle invalid\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 809: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("Error: GPT Initialization Failed\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 816: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print(" Error: GPT-3 handle invalid\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 820: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("*** Initialization Done ***\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 851: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 1035: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("gpt1 time passed = %d,and the expected time is %d \r\n",time_passed,2*GPT_ONE_SHOT_COUNT_DOWN_VAL);
^
"hal\peripheral\src\gpt_udvt_test.c", line 1043: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("gpt2 time passed = %d,and the expected time is %d \r\n",time_passed,2*GPT_ONE_SHOT_COUNT_DOWN_VAL);
^
"hal\peripheral\src\gpt_udvt_test.c", line 1050: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("error ,no test \r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 1059: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("Error: GPT-1 RESET command failed\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 1065: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("Error: GPT-1 SET clock command failed \r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 1070: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("Error: GPT-1 SET start command failed \r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 1123: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("gpt1 time passed = %d,and the expected time is %d \r\n",time_passed,2*GPT_REPEAT_COUNT_DOWN_VAL);
^
"hal\peripheral\src\gpt_udvt_test.c", line 1128: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("gpt2 time passed = %d,and the expected time is %d \r\n",time_passed,2*GPT_REPEAT_COUNT_DOWN_VAL);
^
"hal\peripheral\src\gpt_udvt_test.c", line 1133: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("error ,no test \r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 1142: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("Error: GPT-1 SET start command failed \r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 1179: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("gpt4 time passed = %d,and the expected time is 52000000 ",time_passed);
^
"hal\peripheral\src\gpt_udvt_test.c", line 1218: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("%c", input);
^
"hal\peripheral\src\gpt_udvt_test.c", line 1223: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("\r\n");
^
"hal\peripheral\src\gpt_udvt_test.c", line 1224: Warning: #167-D: argument of type "kal_uint8 *" is incompatible with parameter of type "const char *restrict"
sscanf(str, "%d", value);
^
hal\peripheral\src\gpt_udvt_test.c: 34 warnings, 0 errors
Compiling hal\peripheral\src\hif_legacy.c ...
Compiling hal\peripheral\src\hif_v1.c ...
Compiling hal\peripheral\src\hif_v2.c ...
Compiling hal\peripheral\src\i2c.c ...
Compiling hal\peripheral\src\i2c_dual.c ...
Compiling hal\peripheral\src\i2c_udvt_test.c ...
"hal\peripheral\src\i2c_udvt_test.c", line 77: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("****************************************************\r\n");
^
"hal\peripheral\src\i2c_udvt_test.c", line 162: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("...repeat start with direction change test begin...\r\n");
^
"hal\peripheral\src\i2c_udvt_test.c", line 263: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("...I2c timing test begin...\r\n");
^
"hal\peripheral\src\i2c_udvt_test.c", line 377: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("...continuous read/write test begin...\r\n");
^
"hal\peripheral\src\i2c_udvt_test.c", line 465: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("...timeout test begin...\r\n");
^
"hal\peripheral\src\i2c_udvt_test.c", line 518: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("...busbusy test begin...\r\n");
^
"hal\peripheral\src\i2c_udvt_test.c", line 586: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("...multislave test begin...\r\n");
^
"hal\peripheral\src\i2c_udvt_test.c", line 761: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("...clock stretching test begin...\r\n");
^
"hal\peripheral\src\i2c_udvt_test.c", line 881: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("%c", input);
^
"hal\peripheral\src\i2c_udvt_test.c", line 886: Warning: #223-D: function "dbg_print" declared implicitly
dbg_print("\r\n");
^
"hal\peripheral\src\i2c_udvt_test.c", line 887: Warning: #167-D: argument of type "kal_uint8 *" is incompatible with parameter of type "const char *restrict"
sscanf(str, "%d", value);
^
hal\peripheral\src\i2c_udvt_test.c: 11 warnings, 0 errors
Compiling hal\peripheral\src\kbd_jogball.c ...
Compiling hal\peripheral\src\kbdmain.c ...
"hal\peripheral\src\kbdmain.c", line 1425: Warning: #223-D: function "EINT_Mask" declared implicitly
EINT_Mask(SW_KBD_EINT_NO);
^
"hal\peripheral\src\kbdmain.c", line 1430: Warning: #223-D: function "EINT_UnMask" declared implicitly
EINT_UnMask(SW_KBD_EINT_NO);
^
hal\peripheral\src\kbdmain.c: 2 warnings, 0 errors
Compiling hal\peripheral\src\lpwr.c ...
Compiling hal\peripheral\src\motion_sensor.c ...
Compiling hal\peripheral\src\nli_arb.c ...
Compiling hal\peripheral\src\pfc.c ...
Compiling hal\peripheral\src\pwm.c ...
"custom/codegen/KEYTAK61D_GB_11C_BB/pwm_drv.h", line 35: Warning: #47-D: incompatible redefinition of macro "DCL_NONE" (declared at line 32)
#define DCL_NONE DCL_PWM4
^
"hal\peripheral\src\pwm.c", line 729: Warning: #177-D: variable "i" was declared but never referenced
kal_uint8 i;
^
"hal\peripheral\src\pwm.c", line 558: Warning: C3017W: tmp_channel may be used before being set
volatile kal_uint16 tmp_channel;
^
"hal\peripheral\src\pwm.c", line 634: Warning: C3017W: reg_channel may be used before being set
kal_uint16 reg_channel;
^
hal\peripheral\src\pwm.c: 4 warnings, 0 errors
Compiling hal\peripheral\src\rtc.c ...
"hal\peripheral\src\rtc.c", line 2495: Warning: #177-D: variable "reg_val" was declared but never referenced
kal_uint16 reg_val = 0xf;
^
"hal\peripheral\src\rtc.c", line 2555: Warning: #177-D: variable "reg_val" was declared but never referenced
kal_uint16 reg_val = 0xf;
^
"hal\peripheral\src\rtc.c", line 4981: Warning: C3017W: reg_addr may be used before being set
kal_uint32 reg_addr;
^
hal\peripheral\src\rtc.c: 3 warnings, 0 errors
Compiling hal\peripheral\src\rwg.c ...
Compiling hal\peripheral\src\spi.c ...
Compiling hal\peripheral\src\spi_hal.c ...
"hal\peripheral\src\spi_hal.c", line 30: Warning: #144-D: a value of type "DCL_STATUS (*)(DCL_HANDLE, DCL_CTRL_CMD, DCL_CTRL_DATA_T *)" cannot be used to initialize an entity of type "DCL_STATUS (*)(DCL_HANDLE, DCL_CTRL_CMD, void *)"
extern DEV_Operations spi_dev_operations = {DclSPI_Open,DclSPI_ReadData,DclSPI_WriteData,DclSPI_Control,DclSPI_RegisterCallback,DclSPI_Query,DclSPI_Close};/* add for dcl common layer */
^
"hal\peripheral\src\spi_hal.c", line 30: Warning: #144-D: a value of type "DCL_STATUS (*)(DCL_HANDLE, DCL_EVENT, DCL_CALLBACK *, void *)" cannot be used to initialize an entity of type "DCL_STATUS (*)(DCL_HANDLE, DCL_EVENT, DCL_CALLBACK, void *, DCL_USER_ID)"
extern DEV_Operations spi_dev_operations = {DclSPI_Open,DclSPI_ReadData,DclSPI_WriteData,DclSPI_Control,DclSPI_RegisterCallback,DclSPI_Query,DclSPI_Close};/* add for dcl common layer */
^
"hal\peripheral\src\spi_hal.c", line 1016: Warning: #188-D: enumerated type mixed with another type
result=spi_ioctl(spi_inner_handler,cmd,data);
^
hal\peripheral\src\spi_hal.c: 3 warnings, 0 errors
Compiling hal\peripheral\src\sw_keypad.c ...
"hal\peripheral\src\sw_keypad.c", line 886: Warning: #188-D: enumerated type mixed with another type
polarity = ~polarity; /*reverse EINT polarity*/
^
hal\peripheral\src\sw_keypad.c: 1 warning, 0 errors
Compiling hal\peripheral\src\touch_panel.c ...
Compiling hal\peripheral\src\touch_panel_main.c ...
Compiling hal\peripheral\src\ts_drv.c ...
Compiling hal\peripheral\src\uart.c ...
"hal\peripheral\src\uart.c", line 6334: Warning: #177-D: variable "wdt_data_disable" was declared but never referenced
WDT_CTRL_ENABLE_T wdt_data_disable;
^
"hal\peripheral\src\uart.c", line 6335: Warning: #177-D: variable "dcl_wdt_handle_disable" was declared but never referenced
DCL_HANDLE dcl_wdt_handle_disable;
^
hal\peripheral\src\uart.c: 2 warnings, 0 errors
Compiling hal\peripheral\src\uart_handler.c ...
Compiling hal\peripheral\src\uart_vfifo.c ...
Compiling hal\peripheral\src\wdt.c ...
make[2]: Entering directory `D:/Project/61D_GPRS_1418/CODE_V00'
CFLAGS = --cpu ARM7EJ-S --littleend -O3 --remove_unneeded_entities -D__RVCT__ -JC:\ARM\RVCT31_569\Data\3.1\569\include\windows --fpmode=ieee_fixed --split_sections --diag_suppress 1,1295,1296,2548 --dwarf2 -D__SERIAL_FLASH_EN__ -D__SERIAL_FLASH_SUPPORT__ --bss_threshold=0
CPLUSFLAGS = --cpp --cpu ARM7EJ-S --littleend -O3 --remove_unneeded_entities -D__RVCT__ -JC:\ARM\RVCT31_569\Data\3.1\569\include\windows --fpmode=ieee_fixed --split_sections --diag_suppress 1,1295,1296,2548 --dwarf2 --bss_threshold=0
AFLAGS = --debug --littleend --cpu ARM7EJ-S --apcs /interwork -16
ADEFS = -pd "__DRV_COMM_INIT_DEINIT__ SETL {TRUE}" -pd "MT6261 SETL {TRUE}" -pd "MT6261_S00 SETL {TRUE}" -pd "__SV5_ENABLED__ SETL {TRUE}" -pd "__EVENT_BASED_TIMER__ SETL {TRUE}" -pd "__PRODUCTION_RELEASE__ SETL {TRUE}" -pd "KAL_ON_NUCLEUS SETL {TRUE}" -pd "__CHIP_VERSION_CHECK__ SETL {TRUE}" -pd "__ZIMAGE_SUPPORT__ SETL {TRUE}" -pd "ESAL_AR_STK_FPU_SUPPORT SETL {FALSE}" -pd "__ARM_FPUV2__ SETL {FALSE}" -pd "__SERIAL_FLASH_EN__ SETL {TRUE}" -pd "__SERIAL_FLASH_SUPPORT__ SETL {TRUE}"
C:\ARM\RVCT31_569\Programs\3.1\569\win_32-pentium\armar.exe -create ./build/KEYTAK61D_GB_11C/gprs/MT6261o/lib/peripheral.lib --via .\build\KEYTAK61D_GB_11C\gprs\MT6261o\peripheral\peripheral_sort.via
Warning: L3910W: Old syntax, please use '--create'.
./build/KEYTAK61D_GB_11C/gprs/MT6261o/lib/peripheral.lib is updated
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\accdet.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\adc.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\adcmeasure.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\adcsche.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\adc_msg_handle.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\alerter.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\auxmain.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dbgprint.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\DclH_kbd.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\DclS_kbd.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_adc.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_aux.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_chr_det.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_common.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_eint.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_f32k_clk.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_gpio.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_gpt.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_gpt_hw.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_hts.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_i2c.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_irda.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_pfc.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_pmu.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_pmu6261.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_pmu6261_init.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_pmu_common.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_pw.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_pwm.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_pxs.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_rtc.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\Dcl_SeriPortDrv.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_sts.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\dcl_wdt.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\drv_comm.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\drv_hisr.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\f32k_clk.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\gpio.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\gpt_udvt_test.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\hif_legacy.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\hif_v1.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\hif_v2.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\i2c.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\i2c_dual.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\i2c_udvt_test.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\kbdmain.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\kbd_jogball.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\lpwr.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\motion_sensor.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\nli_arb.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\pfc.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\pwm.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\rtc.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\rwg.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\spi.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\spi_hal.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\sw_keypad.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\touch_panel.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\touch_panel_main.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\ts_drv.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\uart.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\uart_handler.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\uart_vfifo.det
.\build\KEYTAK61D_GB_11C\gprs\MT6261r\peripheral_dep\wdt.det
Processing accdet.det adc.det adcmeasure.det adcsche.det adc_msg_handle.det alerter.det auxmain.det dbgprint.det DclH_kbd.det DclS_kbd.det dcl_adc.det dcl_aux.det dcl_chr_det.det dcl_common.det dcl_eint.det dcl_f32k_clk.det dcl_gpio.det dcl_gpt.det dcl_gpt_hw.det dcl_hts.det dcl_i2c.det dcl_irda.det dcl_pfc.det dcl_pmu.det dcl_pmu6261.det dcl_pmu6261_init.det dcl_pmu_common.det dcl_pw.det dcl_pwm.det dcl_pxs.det dcl_rtc.det Dcl_SeriPortDrv.det dcl_sts.det dcl_wdt.det drv_comm.det drv_hisr.det f32k_clk.det gpio.det gpt_udvt_test.det hif_legacy.det hif_v1.det hif_v2.det i2c.det i2c_dual.det i2c_udvt_test.det kbdmain.det kbd_jogball.det lpwr.det motion_sensor.det nli_arb.det pfc.det pwm.det rtc.det rwg.det spi.det spi_hal.det sw_keypad.det touch_panel.det touch_panel_main.det ts_drv.det uart.det uart_handler.det uart_vfifo.det wdt.det
make[2]: Leaving directory `D:/Project/61D_GPRS_1418/CODE_V00'