µ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/07/2023

Output:

*** Using Compiler 'V6.19', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin' Rebuild target 'sim' assembling startup_stm32f10x_md.s... src/main.c(16): error: unknown type name 'Encoder' Encoder->Timer = TIM4; ^ src/main.c(16): error: expected identifier or '(' Encoder->Timer = TIM4; ^ src/main.c(17): error: expected parameter declarator MyTimer_Base_Init(&Encoder); ^ src/main.c(17): error: expected ')' src/main.c(17): note: to match this '(' MyTimer_Base_Init(&Encoder); ^ src/main.c(17): 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(17): 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(18): error: expected parameter declarator MyTimer_ConfigureEncoder(&Encoder); ^ src/main.c(18): error: expected ')' src/main.c(18): note: to match this '(' MyTimer_ConfigureEncoder(&Encoder); ^ src/main.c(18): 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(18): 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(19): error: expected parameter declarator MyTimer_Start(&Encoder); ^ src/main.c(19): error: expected ')' src/main.c(19): note: to match this '(' MyTimer_Start(&Encoder); ^ src/main.c(19): 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(19): 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 Driver_ADC.c... compiling Driver_UART.c... compiling Driver_IMU.c... compiling Driver_GPIO.c... compiling Driver_Timer.c... compiling system_stm32f10x.c... ".\Objects\projet-voilier.axf" - 11 Error(s), 3 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 Examples * Component: Startup Version: 1.0.0

Collection of Component include folders:

./RTE/Device/STM32F103RB ./RTE/_sim 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 Include file: RTE_Driver/Config/RTE_Device.h Source file: Device/Source/system_stm32f10x.c Source file: Device/Source/ARM/STM32F1xx_OPT.s Source file: Device/Source/ARM/startup_stm32f10x_md.s Target not created. Build Time Elapsed: 00:00:01