礦ision Build Log

Tool Versions:

IDE-Version: μVision V5.25.2.0 Copyright (C) 2018 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: 1 1, 1, LIC=IK1BF-6MHY4-SBQEJ-UTZMV-J6CJE-FWQHP Tool Versions: Toolchain: MDK-ARM Plus Version: 5.25.2.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.25.2.0 Dialog DLL: DCM.DLL V1.17.1.0 Target DLL: Segger\JL2CM3.dll V2.99.29.0 Dialog DLL: TCM.DLL V1.35.1.0

Project:

C:\Users\ddouv\Desktop\laohua\1.5xiao\MDK-ARM\1.5xiao.uvprojx Project File Date: 09/24/2024

Output:

*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target '1.5xiao' compiling stm32f1xx_hal_msp.c... compiling stm32f1xx_hal_gpio_ex.c... compiling stm32f1xx_hal_can.c... compiling i2c.c... compiling gpio.c... compiling can.c... compiling tim.c... compiling stm32f1xx_hal_usart.c... compiling stm32f1xx_it.c... ../User/CAN_drive/CanBusDrv.h(63): warning: #223-D: function "memcpy" declared implicitly memcpy(pt_frame->Data, data, len); ../Core/Src/stm32f1xx_it.c(221): warning: #188-D: enumerated type mixed with another type state = HAL_CAN_IsTxMessagePending(&hcan, CAN_TX_MAILBOX0); ../Core/Src/stm32f1xx_it.c(228): warning: #188-D: enumerated type mixed with another type state = HAL_CAN_IsTxMessagePending(&hcan, CAN_TX_MAILBOX1); ../Core/Src/stm32f1xx_it.c(235): warning: #188-D: enumerated type mixed with another type state = HAL_CAN_IsTxMessagePending(&hcan, CAN_TX_MAILBOX2); ../Core/Src/stm32f1xx_it.c(217): warning: #177-D: variable "transmitMailbox" was declared but never referenced uint32_t transmitMailbox; ../Core/Src/stm32f1xx_it.c(269): warning: #223-D: function "memcpy" declared implicitly memcpy(frame.Data, RxData, RxHeader.DLC); ../Core/Src/stm32f1xx_it.c(305): warning: #223-D: function "can_bus_off_hook" declared implicitly can_bus_off_hook(0); ../Core/Src/stm32f1xx_it.c: 7 warnings, 0 errors compiling usart.c... compiling main.c... compiling stm32f1xx_hal_flash.c... compiling stm32f1xx_hal_dma.c... compiling stm32f1xx_hal.c... compiling stm32f1xx_hal_rcc_ex.c... compiling stm32f1xx_hal_pwr.c... compiling stm32f1xx_hal_gpio.c... compiling stm32f1xx_hal_exti.c... compiling stm32f1xx_hal_cortex.c... compiling stm32f1xx_hal_flash_ex.c... compiling stm32f1xx_hal_i2c.c... compiling stm32f1xx_hal_rcc.c... compiling CanDrvCtrl.c... ..\User\CAN_drive\CanDrvCtrl.c(209): warning: #223-D: function "memcpy" declared implicitly if(tmpRItem.datalen > 0 && tmpRItem.datalen<=8) CAN_COPY(tmpRItem.data,data,tmpRItem.datalen); ..\User\CAN_drive\CanDrvCtrl.c(241): warning: #223-D: function "memcpy" declared implicitly CAN_COPY((void*)&(CanIF[i].canif),(void*)IF,sizeof(st_canif)); ..\User\CAN_drive\CanDrvCtrl.c(443): warning: #223-D: function "SYS_ENTER_CRITICAL" declared implicitly SYS_ENTER_CRITICAL(); ..\User\CAN_drive\CanDrvCtrl.c(446): warning: #223-D: function "SYS_EXIT_CRITICAL" declared implicitly SYS_EXIT_CRITICAL(); ..\User\CAN_drive\CanDrvCtrl.c(455): warning: #223-D: function "memcpy" declared implicitly if(send.datalen>0 && send.datalen<=8) CAN_COPY(send.data,data,send.datalen); ..\User\CAN_drive\CanDrvCtrl.c(468): warning: #223-D: function "SYS_EXIT_CRITICAL" declared implicitly SYS_EXIT_CRITICAL(); ..\User\CAN_drive\CanDrvCtrl.c(484): warning: #223-D: function "memcpy" declared implicitly if(rec.datalen > 0 && rec.datalen<=8) CAN_COPY(data,rec.data,rec.datalen); ..\User\CAN_drive\CanDrvCtrl.c(588): warning: #223-D: function "memset" declared implicitly memset(&pif->smsg,0x00,sizeof(pif->smsg)); ..\User\CAN_drive\CanDrvCtrl.c(655): warning: #188-D: enumerated type mixed with another type hdlCanCtrlMsg(para1, para2); ..\User\CAN_drive\CanDrvCtrl.c(663): warning: #513-D: a value of type "void *" cannot be assigned to an entity of type "void (*)(unsigned int, unsigned int)" hdlCommSent = (void *)para1; ..\User\CAN_drive\CanDrvCtrl.c(728): warning: #223-D: function "memset" declared implicitly memset(p_pl->prompt,0x00,sizeof(ppl->prompt)); ..\User\CAN_drive\CanDrvCtrl.c(729): warning: #223-D: function "memcpy" declared implicitly CAN_COPY(p_pl->prompt,ppl->prompt,sizeof(ppl->prompt)-1); ..\User\CAN_drive\CanDrvCtrl.c(758): warning: #223-D: function "memcmp" declared implicitly if(CAN_CMPY(ppl->prompt,pif->pl.prompt,sizeof(ppl->prompt)-1) != 0) ..\User\CAN_drive\CanDrvCtrl.c(789): warning: #223-D: function "memset" declared implicitly memset(&pif->pl,0x00,sizeof(st_pl)); ..\User\CAN_drive\CanDrvCtrl.c(803): warning: #223-D: function "memset" declared implicitly memset(&CanIF[i],0x00,sizeof(st_if)); ..\User\CAN_drive\CanDrvCtrl.c: 15 warnings, 0 errors compiling porting.c... ..\User\CAN_drive\porting.c(39): warning: #223-D: function "memcpy" declared implicitly memcpy((unsigned char*)stfifo->wp,(unsigned char*)stunit,stfifo->stsize); ..\User\CAN_drive\porting.c(66): warning: #223-D: function "memcpy" declared implicitly memcpy((unsigned char*)stunit,(unsigned char*)stfifo->rp,stfifo->stsize); ..\User\CAN_drive\porting.c(349): warning: #223-D: function "memset" declared implicitly memset(&can_signal_queue, 0x00, sizeof(can_signal_queue)); ..\User\CAN_drive\porting.c(440): warning: #223-D: function "TickOut" declared implicitly TickOut(&(pCur->optime), 0); ..\User\CAN_drive\porting.c(472): warning: #223-D: function "memset" declared implicitly memset(can_timer, 0x00, sizeof(can_timer)); ..\User\CAN_drive\porting.c(483): warning: #223-D: function "TickOut" declared implicitly TickOut(&tick, 0); ..\User\CAN_drive\porting.c: 6 warnings, 0 errors compiling mbfuncdiag.c... compiling system_stm32f1xx.c... compiling sys.c... compiling modbus_master_test.c... compiling mbfuncdisc_m.c... compiling mbfunccoils_m.c... compiling mbfuncholding_m.c... compiling stm32f1xx_hal_uart.c... compiling bsp_can.c... ..\User\CAN_drive\canbusdrv.h(63): warning: #223-D: function "memcpy" declared implicitly memcpy(pt_frame->Data, data, len); ..\User\CAN_drive\bsp_can.c: 1 warning, 0 errors compiling CanBusDrv.c... ..\User\CAN_drive\canbusdrv.h(63): warning: #223-D: function "memcpy" declared implicitly memcpy(pt_frame->Data, data, len); ..\User\CAN_drive\CanBusDrv.c(85): warning: #177-D: variable "ret_id" was declared but never referenced unsigned char ret_id; ..\User\CAN_drive\CanBusDrv.c(274): warning: #940-D: missing return statement at end of non-void function "can_bus_close" } ..\User\CAN_drive\CanBusDrv.c(283): warning: #144-D: a value of type "unsigned char (*)(unsigned char, unsigned int, const unsigned char *, unsigned char)" cannot be used to initialize an entity of type "unsigned char (*)(unsigned char, unsigned int, unsigned char *, unsigned char)" can_bus_send_rt, //canSend ..\User\CAN_drive\CanBusDrv.c(294): warning: #144-D: a value of type "unsigned char (*)(unsigned char, unsigned int, const unsigned char *, unsigned char)" cannot be used to initialize an entity of type "unsigned char (*)(unsigned char, unsigned int, unsigned char *, unsigned char)" can_bus_send_rt, //canSend ..\User\CAN_drive\CanBusDrv.c(309): warning: #223-D: function "memset" declared implicitly memset(&canbus[0], 0x00, sizeof(canbus)); ..\User\CAN_drive\CanBusDrv.c(314): warning: #223-D: function "memcpy" declared implicitly memcpy(&tpcb[0],pcb,sizeof(st_cancb)); /* 下标要与st_canif.chan 一致 */ ..\User\CAN_drive\CanBusDrv.c(318): warning: #223-D: function "memcpy" declared implicitly memcpy(&tpcb[1],pcb,sizeof(st_cancb)); /* 下标要与st_canif.chan 一致 */ ..\User\CAN_drive\CanBusDrv.c: 8 warnings, 0 errors compiling stm32f1xx_hal_tim_ex.c... compiling stm32f1xx_hal_tim.c... compiling mbfuncinput_m.c... compiling mbfuncother.c... compiling mbcrc.c... compiling mbrtu_m.c... ..\User\STM32MB\modbus\rtu\mbrtu_m.c(161): warning: #550-D: variable "x" was set but never used int x,y,z; ..\User\STM32MB\modbus\rtu\mbrtu_m.c(161): warning: #550-D: variable "y" was set but never used int x,y,z; ..\User\STM32MB\modbus\rtu\mbrtu_m.c(161): warning: #550-D: variable "z" was set but never used int x,y,z; ..\User\STM32MB\modbus\rtu\mbrtu_m.c(244): warning: #167-D: argument of type "CHAR *" is incompatible with parameter of type "UCHAR *" ( void )xMBMasterPortSerialGetByte( ( CHAR * ) & ucByte ); ..\User\STM32MB\modbus\rtu\mbrtu_m.c: 4 warnings, 0 errors compiling mbutils.c... compiling portserial_m.c... compiling portevent_m.c... ..\User\STM32MB\port\portevent_m.c(32): warning: #550-D: variable "eMasterQueuedEvent" was set but never used static eMBMasterEventType eMasterQueuedEvent;//排队中的事件类型 ..\User\STM32MB\port\portevent_m.c: 1 warning, 0 errors compiling mb_m.c... compiling user_mb_app_m.c... compiling CanFrame_SR.c... ..\User\CanFrame_SR\CanFrame_SR.c(13): warning: #223-D: function "memset" declared implicitly memset(BMS_CanTxData.Data, 0xff, 8); ..\User\CanFrame_SR\CanFrame_SR.c(16): warning: #223-D: function "can_write" declared implicitly can_write(&BMS_CanTxData); ..\User\CanFrame_SR\CanFrame_SR.c(17): warning: #1-D: last line of file ends without a newline } ..\User\CanFrame_SR\CanFrame_SR.c: 3 warnings, 0 errors compiling porttimer_m.c... ..\User\STM32MB\port\porttimer_m.c(32): warning: #177-D: variable "usT35TimeOut50us" was declared but never referenced static USHORT usT35TimeOut50us; ..\User\STM32MB\port\porttimer_m.c(75): warning: #177-D: function "timer_timeout_ind" was declared but never referenced static void timer_timeout_ind(void* parameter) ..\User\STM32MB\port\porttimer_m.c: 2 warnings, 0 errors linking... Program Size: Code=23260 RO-data=880 RW-data=368 ZI-data=4576 FromELF: creating hex file... "1.5xiao\1.5xiao" - 0 Error(s), 47 Warning(s).

Software Packages used:

Package Vendor: ARM http://www.keil.com/pack/ARM.CMSIS.5.3.0.pack ARM.CMSIS.5.3.0 CMSIS (Cortex Microcontroller Software Interface Standard) * Component: CORE Version: 5.1.1 Package Vendor: Keil http://www.keil.com/pack/Keil.STM32F1xx_DFP.2.3.0.pack Keil.STM32F1xx_DFP.2.3.0 STMicroelectronics STM32F1 Series Device Support, Drivers and Examples

Collection of Component include folders:

.\RTE\_1.5xiao C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.3.0\CMSIS\Include C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include

Collection of Component Files used:

* Component: ARM::CMSIS:CORE:5.1.1 Build Time Elapsed: 00:00:31