µVision Build Log

Tool Versions:

IDE-Version: µVision V5.33.0.0 Copyright (C) 2020 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: Celia C, Insa, LIC=---- Tool Versions: Toolchain: MDK-Lite Version: 5.33.0.0 Toolchain Path: C:\Keil_v5\ARM\ARMCLANG\Bin C Compiler: ArmClang.exe V6.15 Assembler: Armasm.exe V6.15 Linker/Locator: ArmLink.exe V6.15 Library Manager: ArmAr.exe V6.15 Hex Converter: FromElf.exe V6.15 CPU DLL: SARMCM3.DLL V5.33.0.0 Dialog DLL: DCM.DLL V1.17.3.0 Target DLL: UL2CM3.DLL V1.163.9.0 Dialog DLL: TCM.DLL V1.48.0.0

Project:

C:\Users\chauz\Documents_non_drive\INSA\4A\S7\projet_voilier\projet_voilier\Keil_Adrien_Celia\projet_chavirement.uvprojx Project File Date: 10/20/2021

Output:

*** Using Compiler 'V6.15', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin' Rebuild target 'CarteSTM' compiling principal.c... RTE/Device/STM32F103RB/system_stm32f10x.c(167): warning: no previous extern declaration for non-static variable 'AHBPrescTable' [-Wmissing-variable-declarations] __I uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9}; ^ RTE/Device/STM32F103RB/system_stm32f10x.c(167): note: declare 'static' if the variable is not intended to be used outside of this translation unit __I uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9}; ^ 1 warning generated. compiling system_stm32f10x.c... ../Drivers/Driver_GPIO.c(21): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOStructPtr->GPIO->CRH &= ~(0xF << ((GPIOStructPtr->GPIO_Pin*4) - (8*4))); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/Driver_GPIO.c(26): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOStructPtr->GPIO->CRH |= (In_PullDown << ((GPIOStructPtr->GPIO_Pin*4) - (8*4))); ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/Driver_GPIO.c(30): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOStructPtr->GPIO->CRH |= (GPIOStructPtr->GPIO_Conf << ((GPIOStructPtr->GPIO_Pin*4) - (8*4))); ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/Driver_GPIO.c(34): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOStructPtr->GPIO->CRL &= ~(0xF << (GPIOStructPtr->GPIO_Pin*4)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/Driver_GPIO.c(39): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOStructPtr->GPIO->CRL |= (In_PullDown << (GPIOStructPtr->GPIO_Pin*4)); ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/Driver_GPIO.c(43): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOStructPtr->GPIO->CRL |= (GPIOStructPtr->GPIO_Conf << (GPIOStructPtr->GPIO_Pin * 4)); ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/Driver_GPIO.c(1): warning: In file included from... ../Drivers/Driver_GPIO.h(5): warning: padding size of 'MyGPIO_Struct_TypeDef' with 2 bytes to alignment boundary [-Wpadded] typedef struct { ^ ../Drivers/Driver_GPIO.c(50): warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] return (GPIO->IDR & (1 << GPIO_Pin)) ; ~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~ 8 warnings generated. compiling Driver_GPIO.c... ../Sources/chavirement.c(5): warning: no previous prototype for function 'lire' [-Wmissing-prototypes] char lire(char address) { ^ ../Sources/chavirement.c(5): note: declare 'static' if the function is not intended to be used outside of this translation unit char lire(char address) { ^ static ../Sources/chavirement.c(14): warning: no previous prototype for function 'ecrire' [-Wmissing-prototypes] void ecrire(char address, char data) { ^ ../Sources/chavirement.c(14): note: declare 'static' if the function is not intended to be used outside of this translation unit void ecrire(char address, char data) { ^ static ../Sources/chavirement.c(2): warning: In file included from... ../Drivers\Driver_GPIO.h(5): warning: padding size of 'MyGPIO_Struct_TypeDef' with 2 bytes to alignment boundary [-Wpadded] typedef struct { ^ ../Sources/chavirement.c(48): warning: unused variable 'a' [-Wunused-variable] uint8_t a = lire(0x34); ^ ../Sources/chavirement.c(49): warning: unused variable 'b' [-Wunused-variable] uint8_t b = lire(0x35); ^ 5 warnings generated. compiling chavirement.c... assembling startup_stm32f10x_md.s... ../Drivers/Driver_SPI.c(66): warning: implicit conversion loses integer precision: 'volatile uint16_t' (aka 'volatile unsigned short') to 'char' [-Wimplicit-int-conversion] return SPI->DR ; ~~~~~~ ~~~~~^~ 1 warning generated. compiling Driver_SPI.c... ../Drivers/Driver_TIMER.c(4): warning: no previous extern declaration for non-static variable 'IT_function_TIM1' [-Wmissing-variable-declarations] void (* IT_function_TIM1) (void) = 0x0; ^ ../Drivers/Driver_TIMER.c(4): note: declare 'static' if the variable is not intended to be used outside of this translation unit void (* IT_function_TIM1) (void) = 0x0; ^ ../Drivers/Driver_TIMER.c(5): warning: no previous extern declaration for non-static variable 'IT_function_TIM2' [-Wmissing-variable-declarations] void (* IT_function_TIM2) (void) = 0x0; ^ ../Drivers/Driver_TIMER.c(5): note: declare 'static' if the variable is not intended to be used outside of this translation unit void (* IT_function_TIM2) (void) = 0x0; ^ ../Drivers/Driver_TIMER.c(6): warning: no previous extern declaration for non-static variable 'IT_function_TIM3' [-Wmissing-variable-declarations] void (* IT_function_TIM3) (void) = 0x0; ^ ../Drivers/Driver_TIMER.c(6): note: declare 'static' if the variable is not intended to be used outside of this translation unit void (* IT_function_TIM3) (void) = 0x0; ^ ../Drivers/Driver_TIMER.c(7): warning: no previous extern declaration for non-static variable 'IT_function_TIM4' [-Wmissing-variable-declarations] void (* IT_function_TIM4) (void) = 0x0; ^ ../Drivers/Driver_TIMER.c(7): note: declare 'static' if the variable is not intended to be used outside of this translation unit void (* IT_function_TIM4) (void) = 0x0; ^ ../Drivers/Driver_TIMER.c(131): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] Timer->CCR1 = (int) (Timer -> ARR * rapport) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/Driver_TIMER.c(134): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] Timer->CCR2 = (int) (Timer -> ARR * rapport) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/Driver_TIMER.c(137): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] Timer->CCR3 = (int) (Timer -> ARR * rapport) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/Driver_TIMER.c(140): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] Timer->CCR4 = (int) (Timer -> ARR * rapport) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. compiling Driver_TIMER.c... linking... Program Size: Code=752 RO-data=252 RW-data=0 ZI-data=1648 ".\Objects\projet_chavirement.axf" - 0 Error(s), 23 Warning(s).

Software Packages used:

Package Vendor: ARM http://www.keil.com/pack/ARM.CMSIS.5.7.0.pack ARM.CMSIS.5.7.0 CMSIS (Cortex Microcontroller Software Interface Standard) * Component: CORE Version: 5.4.0 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 * Component: Startup Version: 1.0.0

Collection of Component include folders:

.\RTE\Device\STM32F103RB .\RTE\_CarteSTM C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

Collection of Component Files used:

* Component: ARM::CMSIS:CORE:5.4.0 * Component: Keil::Device:Startup:1.0.0 Include file: RTE_Driver\Config\RTE_Device.h Source file: Device\Source\ARM\STM32F1xx_OPT.s Source file: Device\Source\ARM\startup_stm32f10x_md.s Source file: Device\Source\system_stm32f10x.c Build Time Elapsed: 00:00:01