礦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: DARMSTM.DLL V1.68.0.0 Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.7.0 Dialog DLL: TARMSTM.DLL V1.66.0.0Project:
D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Project\AI-2.uvprojx Project File Date: 08/06/2026Output:
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Rebuild Project 'AI-2' - Target 'AI-2' compiling os_cfg_app.c... compiling os_core.c... compiling os_dbg.c... compiling os_flag.c... compiling os_int.c... compiling os_mem.c... compiling os_msg.c... compiling os_mutex.c... compiling os_pend_multi.c... compiling os_prio.c... compiling os_q.c... compiling os_sem.c... compiling os_stat.c... compiling os_task.c... compiling os_tick.c... compiling os_time.c... compiling os_tmr.c... compiling os_var.c... assembling os_cpu_a.asm... compiling os_cpu_c.c... assembling cpu_a.asm... compiling cpu_core.c... compiling os_app_hooks.c... compiling lib_ascii.c... compiling lib_math.c... compiling lib_mem.c... assembling lib_mem_a.asm... compiling lib_str.c... compiling main.c... D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(299): warning: #550-D: variable "bq_sm_act" was set but never used unsigned char bq_sm_act = 0; /* 充电状态机最近一次决策动作(SM_ACTION_*), 供诊断记录 */ D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(377): warning: #177-D: variable "a" was declared but never referenced int a = 0,b = 0; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(377): warning: #177-D: variable "b" was declared but never referenced int a = 0,b = 0; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(206): warning: #177-D: variable "angle_management_stk" was declared but never referenced static CPU_STK angle_management_stk[ANGLE_MANAGEMENT_STK_SIZE]; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(207): warning: #177-D: variable "sampling_stk" was declared but never referenced static CPU_STK sampling_stk[SAMPLING_STK_SIZE]; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(209): warning: #177-D: variable "modbus_over_lora_stk" was declared but never referenced static CPU_STK modbus_over_lora_stk[MODBUS_OVER_LORA_STK_SIZE]; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(211): warning: #177-D: variable "astronomy_stk" was declared but never referenced static CPU_STK astronomy_stk[ASTRONOMY_STK_SIZE]; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(212): warning: #177-D: variable "motor_protection_stk" was declared but never referenced static CPU_STK motor_protection_stk[MOTOR_PROTECTION_STK_SIZE]; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(213): warning: #177-D: variable "workmode_control_stk" was declared but never referenced static CPU_STK workmode_control_stk[WORKMODE_CONTROL_STK_SIZE]; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(214): warning: #177-D: variable "motor_angle_control_stk" was declared but never referenced static CPU_STK motor_angle_control_stk[MOTOR_ANGLE_CONTROL_STK_SIZE]; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(215): warning: #177-D: variable "parameter_save_stk" was declared but never referenced static CPU_STK parameter_save_stk[PARAMETER_SAVE_STK_SIZE]; D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(367): warning: #177-D: function "AngleMangement" was declared but never referenced static void AngleMangement(void *p_arg) D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(463): warning: #177-D: function "Sampling" was declared but never referenced static void Sampling(void *p_arg) D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(504): warning: #177-D: function "ModbusOverLoRa" was declared but never referenced static void ModbusOverLoRa(void *p_arg) D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(1692): warning: #177-D: function "Astronomy" was declared but never referenced static void Astronomy(void *p_arg) D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(1228): warning: #177-D: function "MotorProtection" was declared but never referenced static void MotorProtection(void *p_arg) D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(1301): warning: #177-D: function "WorkmodeControl" was declared but never referenced static void WorkmodeControl(void *p_arg) D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(1325): warning: #177-D: function "MotorAngleControl" was declared but never referenced static void MotorAngleControl(void *p_arg) D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Main\main.c(1592): warning: #177-D: function "ParameterSave" was declared but never referenced static void ParameterSave(void *p_arg) ..\Main\main.c: 19 warnings, 0 errors compiling Init.c... compiling ASProtocol.c... compiling ProtocolAnalysis.c... compiling WorkModeManager.c... compiling PowerManagement.c... compiling AstronomicalAlgorithms.c... compiling MotorProtection.c... compiling HWProtocol.c... compiling pid.c... compiling HardwareInit.c... compiling log.c... compiling log_new.c... compiling AngleSensorHAL.c... compiling PVPower.c... compiling BatteryPower.c... compiling MotorControl.c... compiling LEDHAL.c... compiling ModbusFrameHAL.c... compiling FlashStorageHAL.c... compiling ADCSample.c... compiling RTC.c... compiling TMPSensor.c... compiling HardwareVersion.c... compiling BackupRegister.c... compiling RtcLocalModule.c... compiling LoraModule.c... compiling gpio.c... compiling w25qxx.c... compiling LTC4015.c... compiling AAP6011A.c... compiling BatteryCommonDRV.c... compiling bq25756.c... D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Driver\bq25756_sm.h(150): warning: #1-D: last line of file ends without a newline #endif D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Driver\bq25756.c(26): warning: #177-D: function "Bq25756_FSW_Sync_Init" was declared but never referenced static void Bq25756_FSW_Sync_Init(void) ..\Driver\bq25756.c: 2 warnings, 0 errors compiling bq25756_hal.c... compiling bq25756_sm.c... D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Driver\bq25756_sm.h(150): warning: #1-D: last line of file ends without a newline #endif D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Driver\bq25756_sm.c(295): warning: #1-D: last line of file ends without a newline } ..\Driver\bq25756_sm.c: 2 warnings, 0 errors compiling IICBSP.c... compiling bsp.c... compiling uart_simulate.c... compiling stm32f10x_flash.c... compiling stm32f10x_rcc.c... compiling misc.c... compiling stm32f10x_adc.c... compiling stm32f10x_bkp.c... compiling stm32f10x_dbgmcu.c... compiling stm32f10x_dma.c... compiling stm32f10x_exti.c... compiling stm32f10x_gpio.c... compiling stm32f10x_iwdg.c... compiling stm32f10x_pwr.c... compiling stm32f10x_rtc.c... compiling stm32f10x_spi.c... compiling stm32f10x_tim.c... compiling stm32f10x_usart.c... assembling startup_stm32f10x_hd.s... compiling system_stm32f10x.c... linking... Program Size: Code=21636 RO-data=628 RW-data=304 ZI-data=45780 FromELF: creating hex file... After Build - User command #1: fromelf --bin -o "D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Project\Output\Tracker_AI-2.bin" "D:\ARCTECH\AI-4\ChargeModule\AI-4_Charger_firmware\AI-4_Charger_from_13.0.129.2_20260807\AI-2\AI-2\Project\Output\Tracker_AI-2.axf" ".\Output\Tracker_AI-2.axf" - 0 Error(s), 23 Warning(s).Software Packages used:
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 https://www.keil.com/pack/Keil.STM32F1xx_DFP.2.4.1.pack Keil.STM32F1xx_DFP.2.4.1 STMicroelectronics STM32F1 Series Device Support, Drivers and Examples * Component: Startup Version: 1.0.0 * Component: ADC Version: 3.6.0 * Component: BKP Version: 3.6.0 * Component: DBGMCU Version: 3.6.0 * Component: DMA Version: 3.6.0 * Component: EXTI Version: 3.6.0 * Component: Framework Version: 3.6.0 * Component: GPIO Version: 3.6.0 * Component: IWDG Version: 3.6.0 * Component: PWR Version: 3.6.0 * Component: RTC Version: 3.6.0 * Component: SPI Version: 3.6.0 * Component: TIM Version: 3.6.0 * Component: USART Version: 3.6.0Collection of Component include folders:
.\RTE\Device\STM32F103VE .\RTE\_AI-2 C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\CMSIS\Core\Include C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\StdPeriph_Driver\incCollection of Component Files used:
* Component: ARM::CMSIS:CORE:5.5.0 * Component: Keil::Device:Startup:1.0.0 Source file: Device\Source\ARM\startup_stm32f10x_hd.s Include file: RTE_Driver\Config\RTE_Device.h Source file: Device\Source\system_stm32f10x.c Source file: Device\Source\ARM\STM32F1xx_OPT.s * Component: Keil::Device:StdPeriph Drivers:ADC:3.6.0 Source file: Device\StdPeriph_Driver\src\stm32f10x_adc.c Include file: Device\StdPeriph_Driver\inc\stm32f10x_adc.h * Component: Keil::Device:StdPeriph Drivers:BKP:3.6.0 Source file: Device\StdPeriph_Driver\src\stm32f10x_bkp.c Include file: Device\StdPeriph_Driver\inc\stm32f10x_bkp.h * Component: Keil::Device:StdPeriph Drivers:DBGMCU:3.6.0 Source file: Device\StdPeriph_Driver\src\stm32f10x_dbgmcu.c Include file: Device\StdPeriph_Driver\inc\stm32f10x_dbgmcu.h * Component: Keil::Device:StdPeriph Drivers:DMA:3.6.0 Include file: Device\StdPeriph_Driver\inc\stm32f10x_dma.h Source file: Device\StdPeriph_Driver\src\stm32f10x_dma.c * Component: Keil::Device:StdPeriph Drivers:EXTI:3.6.0 Source file: Device\StdPeriph_Driver\src\stm32f10x_exti.c Include file: Device\StdPeriph_Driver\inc\stm32f10x_exti.h * Component: Keil::Device:StdPeriph Drivers:Framework:3.6.0 Source file: Device\StdPeriph_Driver\src\misc.c Source file: Device\StdPeriph_Driver\templates\stm32f10x_conf.h Include file: Device\StdPeriph_Driver\templates\stm32f10x_it.h Include file: Device\StdPeriph_Driver\inc\misc.h Source file: Device\StdPeriph_Driver\templates\stm32f10x_it.c * Component: Keil::Device:StdPeriph Drivers:GPIO:3.6.0 Include file: Device\StdPeriph_Driver\inc\stm32f10x_gpio.h Source file: Device\StdPeriph_Driver\src\stm32f10x_gpio.c * Component: Keil::Device:StdPeriph Drivers:IWDG:3.6.0 Source file: Device\StdPeriph_Driver\src\stm32f10x_iwdg.c Include file: Device\StdPeriph_Driver\inc\stm32f10x_iwdg.h * Component: Keil::Device:StdPeriph Drivers:PWR:3.6.0 Include file: Device\StdPeriph_Driver\inc\stm32f10x_pwr.h Source file: Device\StdPeriph_Driver\src\stm32f10x_pwr.c * Component: Keil::Device:StdPeriph Drivers:RTC:3.6.0 Source file: Device\StdPeriph_Driver\src\stm32f10x_rtc.c Include file: Device\StdPeriph_Driver\inc\stm32f10x_rtc.h * Component: Keil::Device:StdPeriph Drivers:SPI:3.6.0 Include file: Device\StdPeriph_Driver\inc\stm32f10x_spi.h Source file: Device\StdPeriph_Driver\src\stm32f10x_spi.c * Component: Keil::Device:StdPeriph Drivers:TIM:3.6.0 Include file: Device\StdPeriph_Driver\inc\stm32f10x_tim.h Source file: Device\StdPeriph_Driver\src\stm32f10x_tim.c * Component: Keil::Device:StdPeriph Drivers:USART:3.6.0 Include file: Device\StdPeriph_Driver\inc\stm32f10x_usart.h Source file: Device\StdPeriph_Driver\src\stm32f10x_usart.c Build Time Elapsed: 00:00:21