µVision Build Log

Tool Versions:

IDE-Version: µVision V5.38.0.0 Copyright (C) 2022 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: Robin M, INSA, LIC=---- Tool Versions: Toolchain: MDK-Lite Version: 5.38.0.0 Toolchain Path: C:\Keil_v5\ARM\ARMCLANG\Bin C Compiler: ArmClang.exe V6.19 Assembler: Armasm.exe V6.19 Linker/Locator: ArmLink.exe V6.19 Library Manager: ArmAr.exe V6.19 Hex Converter: FromElf.exe V6.19 CPU DLL: SARMCM3.DLL V5.38.0.0 Dialog DLL: DARMSTM.DLL V1.69.1.0 Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.1.0.0 Dialog DLL: TARMSTM.DLL V1.67.1.0

Project:

C:\Users\robin\OneDrive\Documents\Dev\Projet-Voilier-3\projet-voilier\projet-voilier.uvprojx Project File Date: 04/11/2023

Output:

*** Using Compiler 'V6.19', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin' Rebuild target 'reel' <<<<<<< HEAD src/main.c(19): error: unknown type name 'Encoder' Encoder->Timer = TIM4; ^ src/main.c(19): error: expected identifier or '(' Encoder->Timer = TIM4; ^ src/main.c(20): error: expected parameter declarator MyTimer_Base_Init(&Encoder); ^ src/main.c(20): error: expected ')' src/main.c(20): note: to match this '(' MyTimer_Base_Init(&Encoder); ^ src/main.c(20): warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] MyTimer_Base_Init(&Encoder); ^ ../driver\Driver_Timer.h(20): note: conflicting prototype is here void MyTimer_Base_Init(MyTimer_Struct_TypeDef * Timer); ^ src/main.c(20): error: conflicting types for 'MyTimer_Base_Init' MyTimer_Base_Init(&Encoder); ^ ../driver\Driver_Timer.h(20): note: previous declaration is here void MyTimer_Base_Init(MyTimer_Struct_TypeDef * Timer); ^ src/main.c(21): error: expected parameter declarator MyTimer_ConfigureEncoder(&Encoder); ^ src/main.c(21): error: expected ')' src/main.c(21): note: to match this '(' MyTimer_ConfigureEncoder(&Encoder); ^ src/main.c(21): warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] MyTimer_ConfigureEncoder(&Encoder); ^ ../driver\Driver_Timer.h(68): note: conflicting prototype is here void MyTimer_ConfigureEncoder(MyTimer_Struct_TypeDef *Timer); ^ src/main.c(21): error: conflicting types for 'MyTimer_ConfigureEncoder' MyTimer_ConfigureEncoder(&Encoder); ^ ../driver\Driver_Timer.h(68): note: previous declaration is here void MyTimer_ConfigureEncoder(MyTimer_Struct_TypeDef *Timer); ^ src/main.c(22): error: expected parameter declarator MyTimer_Start(&Encoder); ^ src/main.c(22): error: expected ')' src/main.c(22): note: to match this '(' MyTimer_Start(&Encoder); ^ src/main.c(22): warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] MyTimer_Start(&Encoder); ^ ../driver\Driver_Timer.h(29): note: conflicting prototype is here void MyTimer_Start(MyTimer_Struct_TypeDef * Timer); ^ src/main.c(22): error: conflicting types for 'MyTimer_Start' MyTimer_Start(&Encoder); ^ ../driver\Driver_Timer.h(29): note: previous declaration is here void MyTimer_Start(MyTimer_Struct_TypeDef * Timer); ^ 3 warnings and 11 errors generated. compiling main.c... compiling system_stm32f10x.c... assembling startup_stm32f10x_md.s... compiling Driver_UART.c... ======= assembling startup_stm32f10x_md.s... >>>>>>> encoder compiling Driver_GPIO.c... compiling App_girouette.c... compiling Driver_UART.c... src/main.c(108): warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf(str, "Dir: %f deg", (float)dir); ^ src/main.c(108): note: include the header or explicitly provide a declaration for 'sprintf' 1 warning generated. compiling main.c... compiling Driver_Timer.c... compiling Driver_ADC.c... <<<<<<< HEAD compiling Driver_Timer.c... ".\Objects\projet-voilier_reel.axf" - 11 Error(s), 3 Warning(s). ======= compiling system_stm32f10x.c... linking... Program Size: Code=5584 RO-data=268 RW-data=16 ZI-data=1024 ".\Objects\projet-voilier_reel.axf" - 0 Error(s), 1 Warning(s). >>>>>>> encoder

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 Examples * Component: Startup Version: 1.0.0

Collection of Component include folders:

./RTE/Device/STM32F103RB ./RTE/_reel C:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include C:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include

Collection of Component Files used:

* Component: ARM::CMSIS:CORE:5.6.0 * Component: Keil::Device:Startup:1.0.0 Source file: Device/Source/ARM/startup_stm32f10x_md.s Source file: Device/Source/system_stm32f10x.c Include file: RTE_Driver/Config/RTE_Device.h Source file: Device/Source/ARM/STM32F1xx_OPT.s <<<<<<< HEAD Target not created. ======= >>>>>>> encoder Build Time Elapsed: 00:00:01