礦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.3.200_ID10_CH10_0916_2\USER\ComBox_V2.uvprojx Project File Date: 09/16/2025

Output:

*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' 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... 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(1418): warning: #177-D: variable "split_485_time" was declared but never referenced int split_485_time = 0; User\main.c(1419): warning: #177-D: variable "test_debug" was declared but never referenced char test_debug[1]="5"; User\main.c: 2 warnings, 0 errors compiling GeneralInit.c... User\GeneralInit.c(205): warning: #1-D: last line of file ends without a newline } User\GeneralInit.c: 1 warning, 0 errors 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(2679): warning: #186-D: pointless comparison of unsigned integer with zero if( (*value >= 0) && (*value <= 120) ) ..\RESOURCES\ASProtocol.c(2866): warning: #177-D: variable "tempValue" was declared but never referenced unsigned short tempValue = 0; ..\RESOURCES\ASProtocol.c(2898): warning: #177-D: variable "tempValue" was declared but never referenced unsigned short tempValue = 0; ..\RESOURCES\ASProtocol.c(2919): warning: #177-D: variable "tempValue" was declared but never referenced unsigned short tempValue = 0; ..\RESOURCES\ASProtocol.c(3901): warning: #1035-D: single-precision operand implicitly converted to double-precision if(GlobalVariable.ConfigParaBuffer.EWTracingAccuracy >= 0.98 ..\RESOURCES\ASProtocol.c(3902): warning: #1035-D: single-precision operand implicitly converted to double-precision && GlobalVariable.ConfigParaBuffer.EWTracingAccuracy <= 5.1) ..\RESOURCES\ASProtocol.c(4825): 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(4941): 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(4942): 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: 11 warnings, 0 errors compiling log.c... ..\RESOURCES\LOG\log.c(465): warning: #1-D: last line of file ends without a newline } ..\RESOURCES\LOG\log.c: 1 warning, 0 errors compiling log_new.c... ..\RESOURCES\LOG\log_new.c(472): warning: #177-D: variable "header_read_timeout" was declared but never referenced uint32_t header_read_timeout = 0; ..\RESOURCES\LOG\log_new.c(26): warning: #550-D: variable "log_init_in_progress" was set but never used static uint8_t log_init_in_progress = 0; ..\RESOURCES\LOG\log_new.c(582): warning: #177-D: function "VerifyPreWrite" was declared but never referenced static void VerifyPreWrite(uint32_t n) ..\RESOURCES\LOG\log_new.c(595): warning: #177-D: function "VerifyPostWrite" was declared but never referenced static void VerifyPostWrite(uint32_t write_addr) ..\RESOURCES\LOG\log_new.c: 4 warnings, 0 errors compiling WorkModeManager.c... ..\RESOURCES\WorkModeManager.c(574): warning: #177-D: function "ShowMode" was declared but never referenced static void ShowMode() ..\RESOURCES\WorkModeManager.c: 1 warning, 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(51): warning: #47-D: incompatible redefinition of macro "KS_DEMO_MOTOR_REDUCTION_RATIO" (declared at line 45) #define KS_DEMO_MOTOR_REDUCTION_RATIO 1198 ..\HAL\ModbusFrameHAL.c(872): warning: #177-D: variable "j" was declared but never referenced unsigned short i, j; ..\HAL\ModbusFrameHAL.c(2020): 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(2020): 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(2021): warning: #177-D: variable "NeedSetCmdFlag" was declared but never referenced static unsigned short NeedSetCmdFlag = 0; //需要下发指令标志 ..\HAL\ModbusFrameHAL.c(1439): warning: #177-D: function "BleModule_RelayToSlave" was declared but never referenced static void BleModule_RelayToSlave(void) ..\HAL\ModbusFrameHAL.c: 6 warnings, 0 errors compiling BackupRegister.c... compiling MotorControl.c... compiling timer.c... compiling FlashStorageHAL.c... ..\HAL\FlashStorageHAL.c(273): warning: #177-D: variable "temp_return_value" was declared but never referenced int temp_return_value; ..\HAL\FlashStorageHAL.c(274): warning: #177-D: variable "temp_addr" was declared but never referenced uint16_t *temp_addr; ..\HAL\FlashStorageHAL.c: 2 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... compiling bsp_Uart4Init.c... compiling bsp_Debug485.c... compiling Init.c... linking... Program Size: Code=96846 RO-data=1374 RW-data=1156 ZI-data=91856 FromELF: creating hex file... After Build - User command #1: fromelf --bin -o "..\OBJ\Heliostat_V25_0829.bin" "..\OBJ\Heliostat_V25_0829.axf" "..\OBJ\Heliostat_V25_0829.axf" - 0 Error(s), 37 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:01:41