chen
2025-03-13 f317cd42f19ea851e851600216750ababf89d6c0
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
<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\ChinaUWBProject_tag_URT\keil\uwb_simple_example.uvprojx
Project File Date:  03/13/2025
 
<h2>Output:</h2>
*** Using Compiler 'V6.14', folder: 'd:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'MK8000 Release'
include/main/main.c(57): warning: no previous extern declaration for non-static variable 'trx_buf' [-Wmissing-variable-declarations]
uint8_t trx_buf[10] = {0};
        ^
include/main/main.c(57): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t trx_buf[10] = {0};
^
include/main/main.c(67): warning: no previous extern declaration for non-static variable 'test_uart_cfg' [-Wmissing-variable-declarations]
struct UART_CFG_T test_uart_cfg =
                  ^
include/main/main.c(67): note: declare 'static' if the variable is not intended to be used outside of this translation unit
struct UART_CFG_T test_uart_cfg =
^
include/main/main.c(106): warning: no previous extern declaration for non-static variable 'state5v' [-Wmissing-variable-declarations]
uint8_t state5v = 1;
        ^
include/main/main.c(106): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t state5v = 1;
^
include/main/main.c(107): warning: no previous extern declaration for non-static variable 'bat_percent' [-Wmissing-variable-declarations]
uint8_t bat_percent=0,g_start_send_flag=1;
        ^
include/main/main.c(107): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t bat_percent=0,g_start_send_flag=1;
^
include/main/main.c(107): warning: no previous extern declaration for non-static variable 'g_start_send_flag' [-Wmissing-variable-declarations]
uint8_t bat_percent=0,g_start_send_flag=1;
                      ^
include/main/main.c(107): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t bat_percent=0,g_start_send_flag=1;
^
include/main/main.c(165): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
            bat_percent = ((fVoltage_mv - 3300) /8);
                        ~  ~~~~~~~~~~~~~~~~~~~~~^~
include/main/main.c(178): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
group_id=g_com_map[GROUP_ID];
        ~^~~~~~~~~~~~~~~~~~~
include/main/main.c(180): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
tag_frequence=1000/g_com_map[COM_INTERVAL];     
             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
include/main/main.c(182): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LOG_INFO(TRACE_MODULE_APP,"<C9>豸ID: %x .\r\n",dev_id);
                           ^~~~
./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/main/main.c(183): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LOG_INFO(TRACE_MODULE_APP,"<B9>̼<FE><B0>æ±¾:UWB-<B1><EA>Ç©110k<B2><E2><CA><D4> V%d.%d. \r\n",g_com_map[VERSION]>>8,g_com_map[VERSION]&0xff);
                           ^~~~~~~~~~~~       ~~~~~~~~     ~~~~~~~~~~~~~~~~
./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/main/main.c(227): warning: implicit declaration of function 'reset_cause_get' is invalid in C99 [-Wimplicit-function-declaration]
    reset_cause_get();
    ^
include/main/main.c(228): warning: implicit declaration of function 'reset_cause_clear' is invalid in C99 [-Wimplicit-function-declaration]
    reset_cause_clear();
    ^
include/main/main.c(65): warning: no previous extern declaration for non-static variable 'enable_sleep_count' [-Wmissing-variable-declarations]
uint8_t enable_sleep_count,sleep_flag;
        ^
include/main/main.c(65): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t enable_sleep_count,sleep_flag;
^
include/main/main.c(65): warning: no previous extern declaration for non-static variable 'sleep_flag' [-Wmissing-variable-declarations]
uint8_t enable_sleep_count,sleep_flag;
                           ^
include/main/main.c(65): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t enable_sleep_count,sleep_flag;
^
include/main/main.c(108): warning: no previous extern declaration for non-static variable 'fVoltage_mv' [-Wmissing-variable-declarations]
int16_t fVoltage_mv;
        ^
include/main/main.c(108): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int16_t fVoltage_mv;
^
include/main/main.c(112): warning: no previous extern declaration for non-static variable 'tag_frequence' [-Wmissing-variable-declarations]
uint8_t tag_frequence;
        ^
include/main/main.c(112): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t tag_frequence;
^
include/main/main.c(91): warning: unused variable 'sample' [-Wunused-variable]
static uint32_t sample[NUM_SAMPLES] = {0};
                ^
include/main/main.c(92): warning: unused variable 'usr_adc_cfg' [-Wunused-variable]
static struct ADC_CFG_T usr_adc_cfg = {
                        ^
include/main/main.c(146): warning: unused function 'adc_callback' [-Wunused-function]
static void adc_callback(void *data, uint32_t number)
            ^
include/main/main.c(170): warning: unused function 'voltage_input_handler' [-Wunused-function]
static void voltage_input_handler(enum IO_PIN_T pin)
            ^
20 warnings generated.
compiling main.c...
linking...
.\include\devices\MK800X\Source\ARM\MK800X_ac6_copy.sct(25): warning: L6314W: No section matches pattern *(.XIP_SECTION).
Program Size: Code=48804 RO-data=7264 RW-data=1272 ZI-data=25020  
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_URT\keil\Objects\uwb_simple_example.axf"
".\Objects\uwb_simple_example.axf" - 0 Error(s), 21 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:03
</pre>
</body>
</html>