礦ision Build Log

Tool Versions:

IDE-Version: μVision V5.29.0.0 Copyright (C) 2019 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: vv admin, vv, LIC=KIVNB-29BR1-ZE9H2-9T0TL-E1BV4-F8PSU Tool Versions: Toolchain: MDK-ARM Professional Version: 5.29.0.0 Toolchain Path: C:\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: DCM.DLL V1.17.3.0 Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.7.0 Dialog DLL: TCM.DLL V1.36.5.0

Project:

D:\ARCTECH\Heliostat\Firmware\光热\Heliostat_V25.0.1.252_20250821_1\USER\ComBox_V2.uvprojx Project File Date: 08/28/2025

Output:

*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' *** Note: Rebuilding project, since 'Options->Output->Create Batch File' is selected. Rebuild target 'ComBox_V2' assembling startup_stm32f427_437xx.s... compiling misc.c... compiling stm32f4xx_gpio.c... compiling stm32f4xx_rcc.c... compiling stm32f4xx_syscfg.c... compiling stm32f4xx_tim.c... compiling stm32f4xx_usart.c... compiling stm32f4x7_eth.c... ..\FWLIB\STM32F4x7_ETH_Driver\src\stm32f4x7_eth.c(273): warning: #550-D: variable "RegValue" was set but never used uint32_t RegValue = 0, tmpreg = 0; ..\FWLIB\STM32F4x7_ETH_Driver\src\stm32f4x7_eth.c: 1 warning, 0 errors compiling stm32f4xx_adc.c... compiling stm32f4xx_exti.c... compiling stm32f4xx_pwr.c... compiling stm32f4xx_dma.c... compiling stm32f4xx_i2c.c... compiling stm32f4xx_spi.c... compiling stm32f4xx_iwdg.c... compiling stm32f4xx_flash.c... compiling stm32f4xx_rtc.c... compiling system_stm32f4xx.c... compiling stm32f4xx_it.c... compiling main.c... User\main.c(220): warning: #177-D: variable "AngleTimeCnt" was declared but never referenced static unsigned int AngleTimeCnt = 0; //角度计时 User\main.c(221): warning: #177-D: variable "ActualAngle_PreSecond" was declared but never referenced static float ActualAngle_PreSecond = 0.0f; //上一秒的实际角度 User\main.c(222): warning: #177-D: variable "AngleDifferCnt" was declared but never referenced static unsigned short AngleDifferCnt = 0;//角度差计数 User\main.c(223): warning: #177-D: variable "AngleUnstableWaitTimeCnt" was declared but never referenced static int AngleUnstableWaitTimeCnt = 0; //倾角不稳定时的等待时间 User\main.c(224): warning: #177-D: variable "PreAngleTemp" was declared but never referenced static float PreAngleTemp = 0; //上一次读到的倾角数据 User\main.c(225): warning: #177-D: variable "a" was declared but never referenced unsigned short a = 0,b = 0; User\main.c(225): warning: #177-D: variable "b" was declared but never referenced unsigned short a = 0,b = 0; User\main.c(1372): warning: #177-D: variable "split_485_time" was declared but never referenced int split_485_time = 0; User\main.c(1373): warning: #177-D: variable "test_debug" was declared but never referenced char test_debug[1]="5"; User\main.c: 9 warnings, 0 errors compiling GeneralInit.c... compiling ProtocolAnalysis.c... ..\RESOURCES\ProtocolAnalysis.c(22): warning: #550-D: variable "ASQp" was set but never used static void(* (*ASQp)) (unsigned char R_or_RW, unsigned short * value); ..\RESOURCES\ProtocolAnalysis.c: 1 warning, 0 errors compiling ASProtocol.c... ..\RESOURCES\ASProtocol.c(734): warning: #1035-D: single-precision operand implicitly converted to double-precision if(GlobalVariable.ConfigParaBuffer.EWTracingAccuracy >=0.1 // 原来是0.98 ..\RESOURCES\ASProtocol.c(735): warning: #1035-D: single-precision operand implicitly converted to double-precision && GlobalVariable.ConfigParaBuffer.EWTracingAccuracy <= 5.1) ..\RESOURCES\ASProtocol.c(2635): warning: #186-D: pointless comparison of unsigned integer with zero if( (*value >= 0) && (*value <= 120) ) ..\RESOURCES\ASProtocol.c(2820): warning: #550-D: variable "tempValue" was set but never used unsigned short tempValue = 0; ..\RESOURCES\ASProtocol.c(2839): warning: #177-D: variable "tempValue" was declared but never referenced unsigned short tempValue = 0; ..\RESOURCES\ASProtocol.c(3822): warning: #1035-D: single-precision operand implicitly converted to double-precision if(GlobalVariable.ConfigParaBuffer.EWTracingAccuracy >= 0.98 ..\RESOURCES\ASProtocol.c(3823): warning: #1035-D: single-precision operand implicitly converted to double-precision && GlobalVariable.ConfigParaBuffer.EWTracingAccuracy <= 5.1) ..\RESOURCES\ASProtocol.c(4741): warning: #513-D: a value of type "void (*)(unsigned char, short *)" cannot be assigned to an entity of type "void (*)(unsigned char, unsigned short *)" RWRegister[115] = RWSouthNorthShiftAngle; ..\RESOURCES\ASProtocol.c(4856): warning: #513-D: a value of type "void (*)(unsigned char, short *)" cannot be assigned to an entity of type "void (*)(unsigned char, unsigned short *)" RWRegister[413] = RWSouthNorthShiftAngle1_S;//南北向偏移角度1 ..\RESOURCES\ASProtocol.c(4857): warning: #513-D: a value of type "void (*)(unsigned char, short *)" cannot be assigned to an entity of type "void (*)(unsigned char, unsigned short *)" RWRegister[414] = RWSouthNorthShiftAngle2_S;//南北向偏移角度2 ..\RESOURCES\ASProtocol.c: 10 warnings, 0 errors compiling log.c... compiling log_new.c... compiling WorkModeManager.c... ..\RESOURCES\WorkModeManager.c(797): warning: #1-D: last line of file ends without a newline } ..\RESOURCES\WorkModeManager.c(624): warning: #177-D: function "AutoShowTrackMode" was declared but never referenced static void AutoShowTrackMode() ..\RESOURCES\WorkModeManager.c: 2 warnings, 0 errors compiling MotorProtection.c... ..\RESOURCES\MotorProtection.c(24): warning: #550-D: variable "motor_current_normal_count" was set but never used static unsigned char motor_current_normal_count = 0; ..\RESOURCES\MotorProtection.c(25): warning: #177-D: variable "motor_over_current_restart_count" was declared but never referenced static unsigned char motor_over_current_restart_count = 0; ..\RESOURCES\MotorProtection.c(26): warning: #177-D: variable "motor_over_current_restart_delay_count" was declared but never referenced static unsigned short motor_over_current_restart_delay_count = 0; ..\RESOURCES\MotorProtection.c(531): warning: #550-D: variable "motor_current_normal_count" was set but never used static unsigned char motor_current_normal_count[MAX_MOTOR_NUM] = {0}; ..\RESOURCES\MotorProtection.c(532): warning: #177-D: variable "motor_over_current_restart_count" was declared but never referenced static unsigned char motor_over_current_restart_count[MAX_MOTOR_NUM] = {0}; ..\RESOURCES\MotorProtection.c(533): warning: #177-D: variable "motor_over_current_restart_delay_count" was declared but never referenced static unsigned short motor_over_current_restart_delay_count [MAX_MOTOR_NUM] = {0}; ..\RESOURCES\MotorProtection.c: 6 warnings, 0 errors compiling MotDriver.c... compiling AstronomicalAlgorithms.c... compiling RTC.c... compiling Flash.c... compiling ADCSensor.c... compiling ModbusFrameHAL.c... ..\HAL\ModbusFrameHAL.c(887): warning: #177-D: variable "j" was declared but never referenced unsigned short i, j; ..\HAL\ModbusFrameHAL.c(1749): warning: #177-D: variable "i" was declared but never referenced int i; ..\HAL\ModbusFrameHAL.c(1813): warning: #177-D: variable "test_recv_buf" was declared but never referenced static unsigned char test_recv_buf[23] = {0x01 , 0x03, 0x12 ,0x00, 0x00 , 0xFF, 0x75, 0x00 ,0x01, 0x00 ,0x00, 0x00 ,0x64, 0x00 ,0x00, 0x00 ,0x00 ,0x00, 0x00 ,0x00 ,0x00, 0xDE, 0x56}; ..\HAL\ModbusFrameHAL.c(1996): warning: #177-D: variable "encoder_set_cmd_functioncode" was declared but never referenced static unsigned char encoder_set_cmd_functioncode = 0, encoder_set_data = 0; //需要下发指令的功能码及相应数据 ..\HAL\ModbusFrameHAL.c(1996): warning: #177-D: variable "encoder_set_data" was declared but never referenced static unsigned char encoder_set_cmd_functioncode = 0, encoder_set_data = 0; //需要下发指令的功能码及相应数据 ..\HAL\ModbusFrameHAL.c(1997): warning: #177-D: variable "NeedSetCmdFlag" was declared but never referenced static unsigned short NeedSetCmdFlag = 0; //需要下发指令标志 ..\HAL\ModbusFrameHAL.c(1454): warning: #177-D: function "BleModule_RelayToSlave" was declared but never referenced static void BleModule_RelayToSlave(void) ..\HAL\ModbusFrameHAL.c: 7 warnings, 0 errors compiling BackupRegister.c... compiling MotorControl.c... compiling timer.c... compiling FlashStorageHAL.c... ..\HAL\FlashStorageHAL.c(163): warning: #177-D: variable "temp_addr" was declared but never referenced uint16_t *temp_addr; ..\HAL\FlashStorageHAL.c(300): warning: #177-D: variable "temp_return_value" was declared but never referenced int temp_return_value; ..\HAL\FlashStorageHAL.c(353): warning: #177-D: variable "temp_return_value" was declared but never referenced int temp_return_value; ..\HAL\FlashStorageHAL.c(354): warning: #177-D: variable "temp_addr" was declared but never referenced uint16_t *temp_addr; ..\HAL\FlashStorageHAL.c: 4 warnings, 0 errors compiling delay.c... compiling SPI.c... compiling IICBSP.c... compiling os_core.c... compiling os_flag.c... compiling os_mbox.c... compiling os_mem.c... compiling os_mutex.c... compiling os_q.c... compiling os_sem.c... compiling os_task.c... compiling os_time.c... compiling os_tmr.c... compiling os_cpu_c.c... assembling os_cpu_a.asm... compiling bsp_led.c... compiling bsp_Uart5Init.c... compiling bsp_Uart6Init.c... compiling bsp_Uart2Init.c... ..\BSP\bsp_Uart2Init.c(93): warning: #940-D: missing return statement at end of non-void function "BleModule_SendCmd" } ..\BSP\bsp_Uart2Init.c(96): warning: #177-D: function "BleModule_StartAdvertise" was declared but never referenced static void BleModule_StartAdvertise(void) ..\BSP\bsp_Uart2Init.c: 2 warnings, 0 errors compiling bsp_Uart8Init.c... compiling bsp_Uart3Init.c... ..\BSP\bsp_Uart3Init.c(151): warning: #1-D: last line of file ends without a newline } ..\BSP\bsp_Uart3Init.c: 1 warning, 0 errors compiling bsp_Uart4Init.c... compiling bsp_Debug485.c... compiling Init.c... ..\Main\Init.c(592): warning: #514-D: pointless comparison of unsigned integer with a negative constant || (GlobalVariable.ConfigPara.AzimuthAngleCorrectionValue < -50)) // ..\Main\Init.c: 1 warning, 0 errors linking... Program Size: Code=92390 RO-data=1374 RW-data=1192 ZI-data=67240 FromELF: creating hex file... After Build - User command #1: fromelf --bin -o "..\OBJ\Heliostat_V25_01.bin" "..\OBJ\Heliostat_V25_01.axf" "..\OBJ\Heliostat_V25_01.axf" - 0 Error(s), 44 Warning(s).

Software Packages used:

Package Vendor: Keil https://www.keil.com/pack/Keil.STM32F4xx_DFP.3.0.0.pack Keil.STM32F4xx_DFP.3.0.0 STMicroelectronics STM32F4 Series Device Support

Collection of Component include folders:

.\RTE\_ComBox_V2

Collection of Component Files used:

Build Time Elapsed: 00:00:54