zhyinch
2022-03-19 8d88451b5ebd46ffb292e92fe371bd74b0739af3
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
<html>
<body>
<pre>
<h1>µVision Build Log</h1>
<h2>Tool Versions:</h2>
IDE-Version: ¦ÌVision V5.29.0.0
Copyright (C) 2019 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: ZHONG zhyinch@gmail.com, 111, LIC=YA39H-WXRJ4-KP5ZY-I1QRU-P01Q4-JRNSV
 
Tool Versions:
Toolchain:       MDK-ARM Plus  Version: 5.29.0.0
Toolchain Path:  D:\Keil_v5\ARM\ARMCC\Bin
C Compiler:      Armcc.exe V5.06 update 6 (build 750)
Assembler:       Armasm.exe V5.06 update 6 (build 750)
Linker/Locator:  ArmLink.exe V5.06 update 6 (build 750)
Library Manager: ArmAr.exe V5.06 update 6 (build 750)
Hex Converter:   FromElf.exe V5.06 update 6 (build 750)
CPU DLL:         SARMCM3.DLL V5.29.0.0
Dialog DLL:      DARMCM1.DLL V1.19.2.0
Target DLL:      Segger\JL2CM3.dll V2.99.36.0
Dialog DLL:      TARMCM1.DLL V1.14.1.0
 
<h2>Project:</h2>
E:\GIT\XRange_Tag\MDK-ARM\L051.uvprojx
Project File Date:  03/19/2022
 
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin'
Build target 'L051'
compiling deca_range_tables.c...
compiling dw_driver.c...
..\Src\ExternalDevices\dw_driver.c(9): warning:  #223-D: function "delay_us" declared implicitly
      delay_us(i);  
..\Src\ExternalDevices\dw_driver.c: 1 warning, 0 errors
compiling Spi.c...
..\Src\OnChipDevices\Spi.c(37): warning:  #177-D: variable "stat"  was declared but never referenced
      decaIrqStatus_t  stat ;
..\Src\OnChipDevices\Spi.c(82): warning:  #177-D: variable "stat"  was declared but never referenced
      decaIrqStatus_t  stat ;
..\Src\OnChipDevices\Spi.c: 2 warnings, 0 errors
compiling main.c...
..\Drivers\ExternlDrivers\lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
  void LIS3DH_ENTER_STY_Init();
..\Src\OnChipDevices\Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 125 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
  #define FLASH_SIZE               (uint32_t)0x10000
../Src/main.c(219): warning:  #223-D: function "printf" declared implicitly
          printf("½øÈëÉý¼¶Ä£Ê½\r\n");
../Src/main.c(343): warning:  #186-D: pointless comparison of unsigned integer with zero
          if(module_power<0)
../Src/main.c(353): warning:  #223-D: function "printf" declared implicitly
      printf("±êÇ©ID: %d .\r\n",dev_id);
../Src/main.c(300): warning:  #177-D: variable "temp"  was declared but never referenced
  {    float temp;
../Src/main.c(301): warning:  #177-D: variable "temp2"  was declared but never referenced
      uint16_t temp2;
../Src/main.c(302): warning:  #177-D: variable "i"  was declared but never referenced
      uint16_t i;
../Src/main.c(451): warning:  #177-D: variable "blink_count"  was declared but never referenced
      { static uint16_t blink_count=0;
../Src/main.c(786): warning:  #223-D: function "Usart1InitVariables" declared implicitly
      Usart1InitVariables();
../Src/main.c(363): warning:  #177-D: function "SystemPower_Config"  was declared but never referenced
  static void SystemPower_Config(void)
../Src/main.c: 11 warnings, 0 errors
compiling dw_app.c...
..\Src\application\dw_app.c(270): warning:  #940-D: missing return statement at end of non-void function "FindNearBasePos" 
  }
..\Src\application\dw_app.c(278): warning:  #223-D: function "Get_ADC_Value" declared implicitly
          temp_adc=Get_ADC_Value();
..\Src\application\dw_app.c(473): warning:  #223-D: function "delay_ms" declared implicitly
                                          delay_ms(100);
..\Src\application\dw_app.c(624): warning:  #223-D: function "delay_ms" declared implicitly
                      delay_ms(100);
..\Src\application\dw_app.c(321): warning:  #177-D: variable "start_poll"  was declared but never referenced
      u32 start_poll;
..\Src\application\dw_app.c(322): warning:  #177-D: variable "getsync_flag"  was declared but never referenced
      u8 i,j,getsync_flag=0,timeout;
..\Src\application\dw_app.c(635): warning:  #177-D: variable "start_poll"  was declared but never referenced
      u32 start_poll,frame_len;
..\Src\application\dw_app.c(118): warning:  #177-D: variable "poll_rx_ts"  was declared but never referenced
  static uint64_t poll_rx_ts;
..\Src\application\dw_app.c(119): warning:  #177-D: variable "resp_tx_ts"  was declared but never referenced
  static uint64_t resp_tx_ts;
..\Src\application\dw_app.c(120): warning:  #177-D: variable "final_rx_ts"  was declared but never referenced
  static uint64_t final_rx_ts;
..\Src\application\dw_app.c(121): warning:  #177-D: variable "tof"  was declared but never referenced
  static double tof;
..\Src\application\dw_app.c(172): warning:  #177-D: function "final_msg_get_ts"  was declared but never referenced
  static void final_msg_get_ts(const uint8_t *ts_field, uint32_t *ts)
..\Src\application\dw_app.c: 12 warnings, 0 errors
compiling deca_device.c...
..\Src\decadriver\deca_device.c(306): warning:  #111-D: statement is unreachable
          break;
..\Src\decadriver\deca_device.c(671): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or8bitoffsetreg(SYS_CFG_ID, 0, SYS_CFG_SPI_CRC_BIT_MASK);
..\Src\decadriver\deca_device.c(690): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or16bitoffsetreg(OTP_CFG_ID, 0, LDO_BIAS_KICK);
..\Src\decadriver\deca_device.c(780): warning:  #188-D: enumerated type mixed with another type
      pdw3000local->spicrc = 0;
..\Src\decadriver\deca_device.c(871): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or8bitoffsetreg(SEQ_CTRL_ID, 0x01, SEQ_CTRL_AINIT2IDLE_BIT_MASK>>8);
..\Src\decadriver\deca_device.c(876): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or8bitoffsetreg(CLK_CTRL_ID, 0, FORCE_SYSCLK_FOSC);
..\Src\decadriver\deca_device.c(887): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or8bitoffsetreg(CLK_CTRL_ID, 0, FORCE_SYSCLK_FOSCDIV4);
..\Src\decadriver\deca_device.c(905): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or32bitoffsetreg(CLK_CTRL_ID, 0, CLK_CTRL_GPIO_CLK_EN_BIT_MASK);
..\Src\decadriver\deca_device.c(1158): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or8bitoffsetreg(STS_CTRL_ID, 0, STS_CTRL_LOAD_IV_BIT_MASK);
..\Src\decadriver\deca_device.c(1525): warning:  #223-D: function "delay_ms" declared implicitly
          deca_sleep(1);
..\Src\decadriver\deca_device.c(1587): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or16bitoffsetreg(LDO_CTRL_ID, 0, (
..\Src\decadriver\deca_device.c(1624): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or8bitoffsetreg(RX_CAL_CFG_ID, 0x0, RX_CAL_CFG_CAL_EN_BIT_MASK);
..\Src\decadriver\deca_device.c(1629): warning:  #223-D: function "delay_ms" declared implicitly
          deca_sleep(1);
..\Src\decadriver\deca_device.c(1644): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or8bitoffsetreg(RX_CAL_CFG_ID, 0x2, 0x1); //enable reading
..\Src\decadriver\deca_device.c(1888): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or16bitoffsetreg(CLK_CTRL_ID, 0x0, CLK_CTRL_ACC_MCLK_EN_BIT_MASK | CLK_CTRL_ACC_CLK_EN_BIT_MASK);
..\Src\decadriver\deca_device.c(2074): warning:  #1207-D: unknown attribute "fallthrough"
          __attribute__ ((fallthrough));
..\Src\decadriver\deca_device.c(2564): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or8bitoffsetreg(SYS_CFG_ID, 0, (uint8_t)(SYS_CFG_FFEN_BIT_MASK));
..\Src\decadriver\deca_device.c(2763): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or32bitoffsetreg(LDO_TUNE_HI_ID, 0, LDO_TUNE_HI_LDO_HVAUX_TUNE_BIT_MASK);
..\Src\decadriver\deca_device.c(2844): warning:  #223-D: function "delay_ms" declared implicitly
      deca_sleep(2);//Uncomment this command if you don't want to use the loop above. It will take more time than the loop above.
..\Src\decadriver\deca_device.c(2947): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or8bitoffsetreg(LDO_CTRL_ID, 0, LDO_CTRL_LDO_VDDPLL_EN_BIT_MASK);
..\Src\decadriver\deca_device.c(2952): warning:  #223-D: function "delay_ms" declared implicitly
      deca_sleep(2); //need to wait for at least 1 LP OSC period at slowest frequency of 15kHz =~ 66 us
..\Src\decadriver\deca_device.c(3049): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or16bitoffsetreg(SEQ_CTRL_ID, 0, SEQ_CTRL_ATX2SLP_BIT_MASK);
..\Src\decadriver\deca_device.c(3105): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or8bitoffsetreg(CIA_CONF_ID, 2, CIA_DIAGNOSTIC_OFF);
..\Src\decadriver\deca_device.c(3134): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or32bitoffsetreg(SYS_CFG_ID, 0, SYS_CFG_AUTO_ACK_BIT_MASK | SYS_CFG_FAST_AAT_EN_BIT_MASK); //set the AUTO_ACK bit
..\Src\decadriver\deca_device.c(3181): warning:  #68-D: integer conversion resulted in a change of sign
      uint32_t  or_val=0,and_val=-1;
..\Src\decadriver\deca_device.c(3564): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or32bitoffsetreg(CLK_CTRL_ID, 0, (CLK_CTRL_GPIO_DCLK_EN_BIT_MASK | CLK_CTRL_LP_CLK_EN_BIT_MASK));
..\Src\decadriver\deca_device.c(3792): warning:  #177-D: variable "stat"  was declared but never referenced
      decaIrqStatus_t stat ;
..\Src\decadriver\deca_device.c(3921): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or16bitoffsetreg(SYS_CFG_ID, 0, SYS_CFG_RXWTOE_BIT_MASK); //set the RX FWTO bit
..\Src\decadriver\deca_device.c(3977): warning:  #68-D: integer conversion resulted in a change of sign
              dwt_or32bitoffsetreg(SYS_ENABLE_LO_ID, 0, bitmask_lo); //Set the bits
..\Src\decadriver\deca_device.c(3978): warning:  #68-D: integer conversion resulted in a change of sign
              dwt_or32bitoffsetreg(SYS_ENABLE_HI_ID, 0, bitmask_hi); //Set the bits
..\Src\decadriver\deca_device.c(3963): warning:  #177-D: variable "stat"  was declared but never referenced
      decaIrqStatus_t stat ;
..\Src\decadriver\deca_device.c(4071): warning:  #223-D: function "delay_ms" declared implicitly
      deca_sleep(1);
..\Src\decadriver\deca_device.c(4074): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or8bitoffsetreg(CLK_CTRL_ID, 0, FORCE_SYSCLK_FOSC);
..\Src\decadriver\deca_device.c(4161): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or32bitoffsetreg(LDO_CTRL_ID, 0, (LDO_CTRL_LDO_VDDHVTX_VREF_BIT_MASK |
..\Src\decadriver\deca_device.c(4163): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or32bitoffsetreg(LDO_CTRL_ID, 0, (LDO_CTRL_LDO_VDDTX2_VREF_BIT_MASK |
..\Src\decadriver\deca_device.c(4171): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or32bitoffsetreg(RF_ENABLE_ID, 0, (RF_ENABLE_TX_SW_EN_BIT_MASK
..\Src\decadriver\deca_device.c(4177): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or32bitoffsetreg(RF_ENABLE_ID, 0, (RF_ENABLE_TX_SW_EN_BIT_MASK
..\Src\decadriver\deca_device.c(4230): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or8bitoffsetreg(TEST_CTRL0_ID, 0x0, TEST_CTRL0_TX_PSTM_BIT_MASK);
..\Src\decadriver\deca_device.c(4255): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or32bitoffsetreg(RF_CTRL_MASK_ID, 0, (RF_ENABLE_TX_SW_EN_BIT_MASK
..\Src\decadriver\deca_device.c(4261): warning:  #68-D: integer conversion resulted in a change of sign
          dwt_or32bitoffsetreg(RF_CTRL_MASK_ID, 0, (RF_ENABLE_TX_SW_EN_BIT_MASK
..\Src\decadriver\deca_device.c(4343): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or8bitoffsetreg(LDO_CTRL_ID, 0, LDO_CTRL_LDO_VDDMS2_EN_BIT_MASK);
..\Src\decadriver\deca_device.c(4477): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or8bitoffsetreg(PGC_CTRL_ID, 0x0, (uint8_t)(PGC_CTRL_PGC_START_BIT_MASK | PGC_CTRL_PGC_AUTO_CAL_BIT_MASK));
..\Src\decadriver\deca_device.c(4515): warning:  #68-D: integer conversion resulted in a change of sign
      dwt_or8bitoffsetreg(PGC_CTRL_ID, 0x0, PGC_CTRL_PGC_START_BIT_MASK);
..\Src\decadriver\deca_device.c: 43 warnings, 0 errors
linking...
Program Size: Code=24916 RO-data=272 RW-data=244 ZI-data=6820  
FromELF: creating hex file...
"L051\L051.axf" - 0 Error(s), 69 Warning(s).
 
<h2>Software Packages used:</h2>
 
Package Vendor: ARM
                http://www.keil.com/pack/ARM.CMSIS.5.8.0.pack
                ARM.CMSIS.5.8.0
                CMSIS (Common Microcontroller Software Interface Standard)
   * Component: CORE Version: 5.5.0
 
Package Vendor: Keil
                http://www.keil.com/pack/Keil.STM32L0xx_DFP.2.1.0.pack
                Keil.STM32L0xx_DFP.2.1.0
                STMicroelectronics STM32L0 Series Device Support, Drivers and Examples
 
<h2>Collection of Component include folders:</h2>
  .\RTE\_L051
  D:\Users\zhyin\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
  D:\Users\zhyin\AppData\Local\Arm\Packs\Keil\STM32L0xx_DFP\2.1.0\Drivers\CMSIS\Device\ST\STM32L0xx\Include
 
<h2>Collection of Component Files used:</h2>
 
   * Component: ARM::CMSIS:CORE:5.5.0
Build Time Elapsed:  00:00:03
</pre>
</body>
</html>