yincheng.zhong
2024-08-20 7744fffacb03dc81cc9dbaf9f5d86a0f21e79c03
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
<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: WXK WXK, WXK, LIC=LSNXV-PQMLL-2Z8W4-FC0XG-4GU90-PI7N8
 
Tool Versions:
Toolchain:       MDK-ARM Plus  Version: 5.30.0.0
Toolchain Path:  C:\Keil_v5\ARM\ARMCLANG\Bin
C Compiler:      ArmClang.exe V6.14
Assembler:       Armasm.exe V6.14
Linker/Locator:  ArmLink.exe V6.14
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>
C:\Users\WXK\Desktop\sdk_v0.6.2_r4\boards\mk8000_evk\driver_examples\adc\keil\adc.uvprojx
Project File Date:  07/30/2024
 
<h2>Output:</h2>
*** Using Compiler 'V6.14', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'MK8000 Release'
../../../../src/driver_examples/adc/adc_example.c(78): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
            bat_percent = ((fVoltage_mv - 3300) /8);
                        ~  ~~~~~~~~~~~~~~~~~~~~~^~
../../../../src/driver_examples/adc/adc_example.c(57): warning: no previous extern declaration for non-static variable 'fVoltage_mv' [-Wmissing-variable-declarations]
int16_t fVoltage_mv;
        ^
../../../../src/driver_examples/adc/adc_example.c(57): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int16_t fVoltage_mv;
^
../../../../src/driver_examples/adc/adc_example.c(58): warning: no previous extern declaration for non-static variable 'bat_percent' [-Wmissing-variable-declarations]
uint8_t bat_percent;
        ^
../../../../src/driver_examples/adc/adc_example.c(58): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t bat_percent;
^
3 warnings generated.
compiling adc_example.c...
linking...
Program Size: Code=19668 RO-data=2184 RW-data=652 ZI-data=16548  
After Build - User command #1: fromelf.exe --bincombined -o "Output\adc.bin" "C:\Users\WXK\Desktop\sdk_v0.6.2_r4\boards\mk8000_evk\driver_examples\adc\keil\Objects\adc.axf"
".\Objects\adc.axf" - 0 Error(s), 3 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
  C:\Keil_v5\ARM\PACK\MKSEMI\MK800X_DFP\1.0.3\Device\Include
 
<h2>Collection of Component Files used:</h2>
Build Time Elapsed:  00:00:01
</pre>
</body>
</html>