µVision Build Log
Tool Versions:
IDE-Version: µVision V5.37.0.0 Copyright (C) 2022 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: kevin ng, lmve.net, LIC=---- Tool Versions: Toolchain: MDK-Lite Version: 5.37.0.0 Toolchain Path: C:\Keil_v5\ARM\ARMCLANG\Bin C Compiler: ArmClang.exe V6.18 Assembler: Armasm.exe V6.18 Linker/Locator: ArmLink.exe V6.18 Library Manager: ArmAr.exe V6.18 Hex Converter: FromElf.exe V6.18 CPU DLL: SARMCM3.DLL V5.37.0.0 Dialog DLL: DCM.DLL V1.17.5.0 Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.9.0 Dialog DLL: TCM.DLL V1.56.1.0Project:
C:\Users\wuwen\morse_code_trainer\f103c8t6_keil\MDK-ARM\f103c8t6_KEIL.uvprojx Project File Date: 08/15/2022Output:
*** Using Compiler 'V6.18', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin' Rebuild target 'f103c8t6_KEIL' assembling startup_stm32f103xb.s... compiling stm32f1xx_it.c... compiling stm32f1xx_hal_gpio_ex.c... compiling stm32f1xx_hal_msp.c... compiling stm32f1xx_hal.c... compiling main.c... compiling stm32f1xx_hal_rcc_ex.c... compiling stm32f1xx_hal_gpio.c... compiling stm32f1xx_hal_cortex.c... compiling stm32f1xx_hal_rcc.c... compiling stm32f1xx_hal_pwr.c... compiling stm32f1xx_hal_dma.c... compiling stm32f1xx_hal_flash.c... compiling stm32f1xx_hal_exti.c... compiling system_stm32f1xx.c... compiling stm32f1xx_hal_flash_ex.c... compiling hread_interface.c... compiling fonts.c... MYDEIVERS/mymain.c(67): warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ MYDEIVERS/mymain.c(100): warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] OLED_Str_list(0,0,16,list,m->list_dis_top,4,1); ^~~~ ./MYDEIVERS/oled.h(35): note: passing argument to parameter 'str' here void OLED_Str_list(unsigned char x,unsigned char y,unsigned char size,char *str,unsigned char lenstard,unsigned char lenconst,unsigned char type); ^ MYDEIVERS/mymain.c(109): warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf(temp,"%d/%d",m->sele,m->list_const); ^ MYDEIVERS/mymain.c(109): note: include the headeror explicitly provide a declaration for 'sprintf' MYDEIVERS/mymain.c(218): warning: incompatible pointer types assigning to 'char *' from 'char (*)[32]' [-Wincompatible-pointer-types] buzzer_setting.r_sw_list=&str; ^~~~~ MYDEIVERS/mymain.c(272): warning: incompatible pointer types assigning to 'char *' from 'char (*)[32]' [-Wincompatible-pointer-types] display_setting.r_sw_list=&str; ^~~~~ 5 warnings generated. compiling mymain.c... compiling stm32f1xx_hal_tim_ex.c... MYDEIVERS/buzzer.c(24): warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)' [-Wimplicit-function-declaration] buff =(note*)malloc(sizeof(note)); ^ MYDEIVERS/buzzer.c(24): note: include the header or explicitly provide a declaration for 'malloc' MYDEIVERS/buzzer.c(63): warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free(buzzer_play_buff.head); ^ MYDEIVERS/buzzer.c(63): note: include the header or explicitly provide a declaration for 'free' 2 warnings generated. compiling buzzer.c... compiling encode.c... compiling oled.c... compiling morsr.c... compiling stm32f1xx_hal_tim.c... compiling stm32f1xx_hal_i2c.c... linking... Program Size: Code=16772 RO-data=4088 RW-data=108 ZI-data=4188 FromELF: creating hex file... "f103c8t6_KEIL\f103c8t6_KEIL.axf" - 0 Error(s), 7 Warning(s). Software Packages used:
Package Vendor: ARM http://www.keil.com/pack/ARM.CMSIS.5.9.0.pack ARM.CMSIS.5.9.0 CMSIS (Common Microcontroller Software Interface Standard) * Component: CORE Version: 5.6.0 Package Vendor: Keil http://www.keil.com/pack/Keil.STM32F1xx_DFP.2.4.0.pack Keil.STM32F1xx_DFP.2.4.0 STMicroelectronics STM32F1 Series Device Support, Drivers and ExamplesCollection of Component include folders:
./RTE/_f103c8t6_KEIL C:/Users/wuwen/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include C:/Users/wuwen/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/IncludeCollection of Component Files used:
* Component: ARM::CMSIS:CORE:5.6.0 Include file: CMSIS/Core/Include/tz_context.h Build Time Elapsed: 00:00:02