chen
2025-04-11 b3d4cafe773e4b2128125d5e29f934082409c653
更改俄罗斯测试版本号为V1.48
已修改5个文件
110 ■■■■■ 文件已修改
MDK-ARM/L051.uvoptx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MDK-ARM/L051/L051.build_log.htm 98 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MDK-ARM/L051/L051.htm 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MDK-ARM/L051/L051_L051.dep 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Src/main.c 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MDK-ARM/L051.uvoptx
@@ -119,10 +119,6 @@
      <TargetDriverDllRegistry>
        <SetRegEntry>
          <Number>0</Number>
          <Key>DLGUARM</Key>
        </SetRegEntry>
        <SetRegEntry>
          <Number>0</Number>
          <Key>CMSIS_AGDI</Key>
          <Name>-X"Any" -UAny -O206 -S8 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(0BC11477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8000 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32L0xx_64.FLM -FS08000000 -FL010000 -FP0($$Device:STM32L051C8Tx$CMSIS\Flash\STM32L0xx_64.FLM)</Name>
        </SetRegEntry>
MDK-ARM/L051/L051.build_log.htm
@@ -27,44 +27,6 @@
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'd:\Keil_v5\ARM\ARMCC\Bin'
Build target 'L051'
compiling ADC.c...
..\Src\OnChipDevices\ADC.c(11): warning:  #940-D: missing return statement at end of non-void function "Get_ADC_Value"
  }
..\Src\OnChipDevices\ADC.c(36): warning:  #1-D: last line of file ends without a newline
  }
..\Src\OnChipDevices\ADC.c: 2 warnings, 0 errors
compiling global_param.c...
..\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\application\global_param.c(63): warning:  #68-D: integer conversion resulted in a change of sign
          g_com_map[DIST_OFFSET]=-31;
..\Src\application\global_param.c: 2 warnings, 0 errors
compiling stm32l0xx_it.c...
../Src/stm32l0xx_it.c(161): warning:  #223-D: function "UsartInit" declared implicitly
          UsartInit();
../Src/stm32l0xx_it.c: 1 warning, 0 errors
compiling Flash.c...
..\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\OnChipDevices\Flash.c: 1 warning, 0 errors
compiling Spi.c...
..\Src\OnChipDevices\Spi.c(43): warning:  #177-D: variable "stat"  was declared but never referenced
      decaIrqStatus_t  stat ;
..\Src\OnChipDevices\Spi.c(94): warning:  #177-D: variable "stat"  was declared but never referenced
      decaIrqStatus_t  stat ;
..\Src\OnChipDevices\Spi.c: 2 warnings, 0 errors
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 serial_at_cmd_app.c...
..\Src\application\serial_at_cmd_app.c(11): warning:  #47-D: incompatible redefinition of macro "EUART_RX_BUF_SIZE"  (declared at line 40 of "..\Src\OnChipDevices\Usart.h")
  #define EUART_RX_BUF_SIZE 100
..\Src\application\serial_at_cmd_app.c(75): warning:  #223-D: function "delay_ms" declared implicitly
                  delay_ms(100);
..\Src\application\serial_at_cmd_app.c: 2 warnings, 0 errors
compiling Usart.c...
compiling stm32l0xx_hal_msp.c...
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();
@@ -99,42 +61,6 @@
../Src/main.c(356): warning:  #177-D: function "SystemPower_Config"  was declared but never referenced
  static void SystemPower_Config(void)
../Src/main.c: 16 warnings, 0 errors
compiling lis3dh_driver.c...
..\Drivers\ExternlDrivers\lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
  void LIS3DH_ENTER_STY_Init();
..\Drivers\ExternlDrivers\lis3dh_driver.h(69): warning:  #1295-D: Deprecated declaration Accelerometer_Init - give arg types
  void Accelerometer_Init();
..\Drivers\ExternlDrivers\lis3dh_driver.h(72): warning:  #1295-D: Deprecated declaration do_difff_calibrate - give arg types
  void do_difff_calibrate();
..\Drivers\ExternlDrivers\lis3dh_driver.c(142): warning:  #940-D: missing return statement at end of non-void function "mir3da_register_read"
  }
..\Drivers\ExternlDrivers\lis3dh_driver.c(149): warning:  #940-D: missing return statement at end of non-void function "mir3da_register_write"
  }
..\Drivers\ExternlDrivers\lis3dh_driver.c(222): warning:  #177-D: variable "data_m"  was declared but never referenced
      u8_m data_m = 0;
..\Drivers\ExternlDrivers\lis3dh_driver.c(223): warning:  #177-D: variable "i"  was declared but never referenced
      int i;
..\Drivers\ExternlDrivers\lis3dh_driver.c(224): warning:  #177-D: variable "threshold"  was declared but never referenced
      int threshold = 0;
..\Drivers\ExternlDrivers\lis3dh_driver.c(266): warning:  #177-D: variable "response"  was declared but never referenced
      uint8_t response;
..\Drivers\ExternlDrivers\lis3dh_driver.c(308): warning:  #177-D: variable "response"  was declared but never referenced
      uint8_t response;
..\Drivers\ExternlDrivers\lis3dh_driver.c(309): warning:  #177-D: variable "lisidtemp"  was declared but never referenced
    uint8_t lisidtemp;
..\Drivers\ExternlDrivers\lis3dh_driver.c(416): warning:  #177-D: variable "tmp_data"  was declared but never referenced
      u8_m tmp_data[2] = {0};
..\Drivers\ExternlDrivers\lis3dh_driver.c(431): warning:  #177-D: variable "angle_x"  was declared but never referenced
      float angle_x, angle_y, angle_z, angle_xyz;
..\Drivers\ExternlDrivers\lis3dh_driver.c(431): warning:  #177-D: variable "angle_y"  was declared but never referenced
      float angle_x, angle_y, angle_z, angle_xyz;
..\Drivers\ExternlDrivers\lis3dh_driver.c(431): warning:  #177-D: variable "angle_xyz"  was declared but never referenced
      float angle_x, angle_y, angle_z, angle_xyz;
..\Drivers\ExternlDrivers\lis3dh_driver.c(432): warning:  #177-D: variable "data"  was declared but never referenced
      int8_t data[6];
..\Drivers\ExternlDrivers\lis3dh_driver.c(433): warning:  #177-D: variable "i"  was declared but never referenced
      uint8_t i;
..\Drivers\ExternlDrivers\lis3dh_driver.c: 17 warnings, 0 errors
compiling dw_app.c...
..\Src\application\dw_app.c(254): warning:  #940-D: missing return statement at end of non-void function "FindNearBasePos" 
  }
@@ -161,30 +87,10 @@
..\Src\application\dw_app.c(158): 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(1532): warning:  #223-D: function "delay_ms" declared implicitly
      deca_sleep(10);
..\Src\decadriver\deca_device.c(1617): warning:  #223-D: function "delay_ms" declared implicitly
          deca_sleep(1);
..\Src\decadriver\deca_device.c(1822): warning:  #223-D: function "delay_ms" declared implicitly
      deca_sleep(1);
..\Src\decadriver\deca_device.c(1979): warning:  #223-D: function "delay_ms" declared implicitly
          deca_sleep(5);
..\Src\decadriver\deca_device.c(2045): warning:  #223-D: function "delay_ms" declared implicitly
      deca_sleep(1); // Allow time for code to upload (should take up to 120 us)
..\Src\decadriver\deca_device.c(2841): warning:  #177-D: variable "stat"  was declared but never referenced
      decaIrqStatus_t stat ;
..\Src\decadriver\deca_device.c(3063): warning:  #177-D: variable "stat"  was declared but never referenced
      decaIrqStatus_t stat ;
..\Src\decadriver\deca_device.c(3205): warning:  #223-D: function "delay_ms" declared implicitly
      deca_sleep(1);
..\Src\decadriver\deca_device.c(3395): warning:  #223-D: function "delay_ms" declared implicitly
          deca_sleep(1); // If using PLL clocks(and fast SPI rate) then this sleep is needed
..\Src\decadriver\deca_device.c: 9 warnings, 0 errors
linking...
Program Size: Code=24556 RO-data=396 RW-data=324 ZI-data=6556  
FromELF: creating hex file...
"L051\L051.axf" - 0 Error(s), 65 Warning(s).
"L051\L051.axf" - 0 Error(s), 28 Warning(s).
<h2>Software Packages used:</h2>
@@ -207,7 +113,7 @@
<h2>Collection of Component Files used:</h2>
   * Component: ARM::CMSIS:CORE:5.4.0
Build Time Elapsed:  00:00:04
Build Time Elapsed:  00:00:03
</pre>
</body>
</html>
MDK-ARM/L051/L051.htm
@@ -3,7 +3,7 @@
<title>Static Call Graph - [L051\L051.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image L051\L051.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060750: Last Updated: Wed Apr 09 09:30:41 2025
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060750: Last Updated: Fri Apr 11 10:20:30 2025
<BR><P>
<H3>Maximum Stack Usage =        312 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
MDK-ARM/L051/L051_L051.dep
@@ -382,7 +382,7 @@
I (..\Src\OnChipDevices\ADC.h)(0x65670083)
I (..\Src\algorithm\TrackingDiff.h)(0x65670083)
I (..\Src\OnChipDevices\Flash.h)(0x656700C5)
F (..\Src\application\dw_app.c)(0x67CEB9F3)(--c99 -c --cpu Cortex-M0+ -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32L0xx_HAL_Driver/Inc -I ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I ../Drivers/CMSIS/Include -I ..\Drivers\ExternlDrivers -I ..\Src\decadriver -I ..\Src\ExternalDevices -I ..\Src\OnChipDevices -I ..\Src\algorithm -I ..\Src\application -I.\RTE\_L051 -Id:\Users\xookk\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -Id:\Users\xookk\AppData\Local\Arm\Packs\Keil\STM32L0xx_DFP\2.2.0\Drivers\CMSIS\Device\ST\STM32L0xx\Include -D__UVISION_VERSION="530" -D_RTE_ -DSTM32L051xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32L051xx -o l051\dw_app.o --omf_browse l051\dw_app.crf --depend l051\dw_app.d)
F (..\Src\application\dw_app.c)(0x67F647C6)(--c99 -c --cpu Cortex-M0+ -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32L0xx_HAL_Driver/Inc -I ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I ../Drivers/CMSIS/Include -I ..\Drivers\ExternlDrivers -I ..\Src\decadriver -I ..\Src\ExternalDevices -I ..\Src\OnChipDevices -I ..\Src\algorithm -I ..\Src\application -I.\RTE\_L051 -Id:\Users\xookk\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -Id:\Users\xookk\AppData\Local\Arm\Packs\Keil\STM32L0xx_DFP\2.2.0\Drivers\CMSIS\Device\ST\STM32L0xx\Include -D__UVISION_VERSION="530" -D_RTE_ -DSTM32L051xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32L051xx -o l051\dw_app.o --omf_browse l051\dw_app.crf --depend l051\dw_app.d)
I (d:\Keil_v5\ARM\ARMCC\include\string.h)(0x5E53505C)
I (d:\Keil_v5\ARM\ARMCC\include\math.h)(0x5E53505A)
I (..\Src\application\dw_app.h)(0x67F5CDBD)
@@ -480,7 +480,7 @@
I (..\Src\algorithm\TrackingDiff.h)(0x65670083)
I (..\Src\application\global_param.h)(0x67CA899C)
I (d:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E53505C)
F (../Src/main.c)(0x67E1177B)(--c99 -c --cpu Cortex-M0+ -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32L0xx_HAL_Driver/Inc -I ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I ../Drivers/CMSIS/Include -I ..\Drivers\ExternlDrivers -I ..\Src\decadriver -I ..\Src\ExternalDevices -I ..\Src\OnChipDevices -I ..\Src\algorithm -I ..\Src\application -I.\RTE\_L051 -Id:\Users\xookk\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -Id:\Users\xookk\AppData\Local\Arm\Packs\Keil\STM32L0xx_DFP\2.2.0\Drivers\CMSIS\Device\ST\STM32L0xx\Include -D__UVISION_VERSION="530" -D_RTE_ -DSTM32L051xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32L051xx -o l051\main.o --omf_browse l051\main.crf --depend l051\main.d)
F (../Src/main.c)(0x67F87C69)(--c99 -c --cpu Cortex-M0+ -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32L0xx_HAL_Driver/Inc -I ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I ../Drivers/CMSIS/Include -I ..\Drivers\ExternlDrivers -I ..\Src\decadriver -I ..\Src\ExternalDevices -I ..\Src\OnChipDevices -I ..\Src\algorithm -I ..\Src\application -I.\RTE\_L051 -Id:\Users\xookk\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -Id:\Users\xookk\AppData\Local\Arm\Packs\Keil\STM32L0xx_DFP\2.2.0\Drivers\CMSIS\Device\ST\STM32L0xx\Include -D__UVISION_VERSION="530" -D_RTE_ -DSTM32L051xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32L051xx -o l051\main.o --omf_browse l051\main.crf --depend l051\main.d)
I (../Inc/main.h)(0x67CA899B)
I (../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h)(0x67CA8975)
I (../Inc/stm32l0xx_hal_conf.h)(0x67CA899B)
Src/main.c
@@ -289,7 +289,7 @@
    hardware_pici = STMFLASH_ReadHalfWord(FLASH_HARDWARE_VERSION_MAP+2);
    hardware_type = STMFLASH_ReadHalfWord(FLASH_HARDWARE_VERSION_MAP+4);
    //deca_sleep(1000);
    g_com_map[VERSION] = (1<<8)|47;
    g_com_map[VERSION] = (1<<8)|48;
    active_flag = g_com_map[ACTIVE_INDEX];
    module_power = g_com_map[POWER];
    imu_enable=g_com_map[IMU_ENABLE];