µ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: TCM.DLL V1.56.4.0

Project:

C:\Users\robin\OneDrive\Documents\Dev\tp\projet_1\tp.uvprojx Project File Date: 03/19/2023

Output:

*** Using Compiler 'V6.19', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin' Rebuild target 'board' assembling startup_stm32f10x_md.s... src/main.c(12): error: use of undeclared identifier 'RCC_APB1Periph_TIM2' RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE); ^ src/main.c(14): error: use of undeclared identifier 'TIM_TimeBaseInitTypeDef' TIM_TimeBaseInitTypeDef timer_init; ^ src/main.c(15): error: use of undeclared identifier 'timer_init' timer_init.TIM_Period = 4999; // ARR = Période - 1 ^ src/main.c(16): error: use of undeclared identifier 'timer_init' timer_init.TIM_Prescaler = 7199; // PSC = Fréquence d'horloge / Fréquence de comptage - 1 ^ src/main.c(17): error: use of undeclared identifier 'timer_init' timer_init.TIM_ClockDivision = TIM_CKD_DIV1; ^ src/main.c(17): error: use of undeclared identifier 'TIM_CKD_DIV1' timer_init.TIM_ClockDivision = TIM_CKD_DIV1; ^ src/main.c(18): error: use of undeclared identifier 'timer_init' timer_init.TIM_CounterMode = TIM_CounterMode_Up; ^ src/main.c(18): error: use of undeclared identifier 'TIM_CounterMode_Up' timer_init.TIM_CounterMode = TIM_CounterMode_Up; ^ src/main.c(19): error: use of undeclared identifier 'timer_init' TIM_TimeBaseInit(TIM2, &timer_init); ^ 9 errors generated. compiling main.c... compiling Driver_GPIO.c... compiling system_stm32f10x.c... ".\Objects\tp_sim.axf" - 9 Error(s), 0 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/_board 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 Include file: RTE_Driver/Config/RTE_Device.h Source file: Device/Source/ARM/STM32F1xx_OPT.s Source file: Device/Source/system_stm32f10x.c Target not created. Build Time Elapsed: 00:00:00