harmonisation driver usart, ajout plateau.c

This commit is contained in:
Jarno Dreschler 2025-12-16 19:46:30 +01:00
parent a11ce66ee8
commit d3781bbe3f
33 changed files with 3950 additions and 221 deletions

View file

@ -0,0 +1,36 @@
// File: STM32F101_102_103_105_107.dbgconf
// Version: 1.0.0
// Note: refer to STM32F101xx STM32F102xx STM32F103xx STM32F105xx STM32F107xx Reference manual (RM0008)
// STM32F101xx STM32F102xx STM32F103xx STM32F105xx STM32F107xx datasheets
// <<< Use Configuration Wizard in Context Menu >>>
// <h> Debug MCU configuration register (DBGMCU_CR)
// <i> Reserved bits must be kept at reset value
// <o.30> DBG_TIM11_STOP <i> TIM11 counter stopped when core is halted
// <o.29> DBG_TIM10_STOP <i> TIM10 counter stopped when core is halted
// <o.28> DBG_TIM9_STOP <i> TIM9 counter stopped when core is halted
// <o.27> DBG_TIM14_STOP <i> TIM14 counter stopped when core is halted
// <o.26> DBG_TIM13_STOP <i> TIM13 counter stopped when core is halted
// <o.25> DBG_TIM12_STOP <i> TIM12 counter stopped when core is halted
// <o.21> DBG_CAN2_STOP <i> Debug CAN2 stopped when core is halted
// <o.20> DBG_TIM7_STOP <i> TIM7 counter stopped when core is halted
// <o.19> DBG_TIM6_STOP <i> TIM6 counter stopped when core is halted
// <o.18> DBG_TIM5_STOP <i> TIM5 counter stopped when core is halted
// <o.17> DBG_TIM8_STOP <i> TIM8 counter stopped when core is halted
// <o.16> DBG_I2C2_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
// <o.15> DBG_I2C1_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
// <o.14> DBG_CAN1_STOP <i> Debug CAN1 stopped when Core is halted
// <o.13> DBG_TIM4_STOP <i> TIM4 counter stopped when core is halted
// <o.12> DBG_TIM3_STOP <i> TIM3 counter stopped when core is halted
// <o.11> DBG_TIM2_STOP <i> TIM2 counter stopped when core is halted
// <o.10> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
// <o.9> DBG_WWDG_STOP <i> Debug window watchdog stopped when core is halted
// <o.8> DBG_IWDG_STOP <i> Debug independent watchdog stopped when core is halted
// <o.2> DBG_STANDBY <i> Debug standby mode
// <o.1> DBG_STOP <i> Debug stop mode
// <o.0> DBG_SLEEP <i> Debug sleep mode
// </h>
DbgMCU_CR = 0x00000007;
// <<< end of configuration section >>>

View file

@ -3,54 +3,64 @@
<pre> <pre>
<h1>µVision Build Log</h1> <h1>µVision Build Log</h1>
<h2>Tool Versions:</h2> <h2>Tool Versions:</h2>
IDE-Version: µVision V5.43.1.0 IDE-Version: µVision V5.42.0.0
Copyright (C) 2025 ARM Ltd and ARM Germany GmbH. All rights reserved. Copyright (C) 2025 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: Jens Kielland, University, LIC=---- License Information: user user, INSA Toulouse, LIC=----
Tool Versions: Tool Versions:
Toolchain: MDK-Lite Version: 5.43.0.0 Toolchain: MDK-Lite Version: 5.42.0.0
Toolchain Path: C:\users\klinx\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin Toolchain Path: C:\Keil\542a\ARM\ARMCLANG\Bin
C Compiler: ArmClang.exe V6.24 C Compiler: ArmClang.exe V6.23
Assembler: Armasm.exe V6.24 Assembler: Armasm.exe V6.23
Linker/Locator: ArmLink.exe V6.24 Linker/Locator: ArmLink.exe V6.23
Library Manager: ArmAr.exe V6.24 Library Manager: ArmAr.exe V6.23
Hex Converter: FromElf.exe V6.24 Hex Converter: FromElf.exe V6.23
CPU DLL: SARMCM3.DLL V5.43.0.0 CPU DLL: SARMCM3.DLL V5.42.0.0
Dialog DLL: DARMSTM.DLL V1.69.1.0 Dialog DLL: DARMSTM.DLL V1.69.1.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.3.1.0 Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.3.0.0
Dialog DLL: TARMSTM.DLL V1.67.1.0 Dialog DLL: TARMSTM.DLL V1.67.1.0
<h2>Project:</h2> <h2>Project:</h2>
C:\users\klinx\Documents\ecole\4A\MC\BE_VOILIER\ProjetVoilier.uvprojx U:\Documents\ProjetVoilier\BE_VOILIER\ProjetVoilier.uvprojx
Project File Date: 12/15/2025 Project File Date: 12/16/2025
<h2>Output:</h2> <h2>Output:</h2>
*** Using Compiler 'V6.24', folder: 'C:\users\klinx\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin' *** Using Compiler 'V6.23', folder: 'C:\Keil\542a\ARM\ARMCLANG\Bin'
Rebuild target 'Simulation' Rebuild target 'Simulation'
Pilotes/Source/Horloge.c(75): error: redefinition of 'TIM2_IRQHandler'
75 | void TIM2_IRQHandler(void) { //On redefinit le IRQHandler qui est d<E9>j<E0> ecrit dans le code source
| ^
Pilotes/Source/Horloge.c(33): note: previous definition is here
33 | void TIM2_IRQHandler(void) { //On redefinit le IRQHandler qui est d<E9>j<E0> ecrit dans le code source
| ^
1 error generated.
compiling Horloge.c...
compiling DriverGPIO.c...
Services/Source/Girouette.c(13): error: call to undeclared function 'Timer_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
13 | Timer_init(Timer, 0, 0);
| ^
Services/Source/Girouette.c(13): note: did you mean 'Timer_Init'?
./Pilotes/Include\Horloge.h(10): note: 'Timer_Init' declared here
10 | void Timer_Init(TIM_TypeDef *Timer, unsigned short Autoreload, unsigned short Prescaler);
| ^
1 error generated.
compiling Girouette.c...
compiling Servo.c...
compiling MyUart.c...
Application/principal.c(8): warning: In file included from...
./Pilotes/Include\RTC.h(4): error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
4 | initRTC();
| ^
| int
1 error generated.
compiling principal.c... compiling principal.c...
compiling Accelerometre.c... compiling Accelerometre.c...
compiling Girouette.c...
compiling MyUart.c...
compiling Servo.c...
compiling DriverGPIO.c...
compiling Horloge.c...
compiling MYGPIO.c... compiling MYGPIO.c...
compiling MyTimer.c...
compiling PWM.c... compiling PWM.c...
compiling Timer.c...
compiling I2C.c... compiling I2C.c...
assembling startup_stm32f10x_md.s...
compiling system_stm32f10x.c... compiling system_stm32f10x.c...
linking... assembling startup_stm32f10x_md.s...
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Init (referred from accelerometre.o). ".\Objects\ProjetVide.axf" - 3 Error(s), 0 Warning(s).
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Clear_NSS (referred from accelerometre.o).
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Send (referred from accelerometre.o).
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Set_NSS (referred from accelerometre.o).
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Read (referred from accelerometre.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 5 error messages.
".\Objects\ProjetVide.axf" - 5 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2> <h2>Software Packages used:</h2>
@ -69,20 +79,20 @@ Package Vendor: Keil
<h2>Collection of Component include folders:</h2> <h2>Collection of Component include folders:</h2>
./RTE/Device/STM32F103RB ./RTE/Device/STM32F103RB
./RTE/_Simulation ./RTE/_Simulation
C:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include C:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
C:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include C:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
<h2>Collection of Component Files used:</h2> <h2>Collection of Component Files used:</h2>
* Component: ARM::CMSIS:CORE@6.1.1 * Component: ARM::CMSIS:CORE@6.1.1
* Component: Keil::Device:Startup@1.0.0 * Component: Keil::Device:Startup@1.0.0
Source file: Device/Source/ARM/startup_stm32f10x_md.s Source file: Device/Source/ARM/STM32F1xx_OPT.s
Source file: Device/Source/system_stm32f10x.c Source file: Device/Source/system_stm32f10x.c
Include file: RTE_Driver/Config/RTE_Device.h 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
Target not created. Target not created.
Build Time Elapsed: 00:00:32 Build Time Elapsed: 00:00:02
</pre> </pre>
</body> </body>
</html> </html>

View file

@ -1,99 +1,83 @@
Dependencies for Project 'ProjetVoilier', Target 'Simulation': (DO NOT MODIFY !) Dependencies for Project 'ProjetVoilier', Target 'Simulation': (DO NOT MODIFY !)
CompilerVersion: 6240000::V6.24::ARMCLANG CompilerVersion: 6230000::V6.23::ARMCLANG
F (.\Application\principal.c)(0x69408BDC)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/principal.o -MMD) F (.\Application\principal.c)(0x6941A6B5)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/principal.o -MMD)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\Horloge.h)(0x694083F8) I (Pilotes\Include\Horloge.h)(0x69419DE6)
I (Services\Include\Accelerometre.h)(0x694083F8) I (Services\Include\Accelerometre.h)(0x69419DE7)
I (Services\Include\Girouette.h)(0x694083F8) I (Services\Include\Girouette.h)(0x69419DE7)
I (Services\Include\Servo.h)(0x694083F8) I (Services\Include\Servo.h)(0x69419DE7)
I (Pilotes\Include\I2C.h)(0x694083F8) I (Pilotes\Include\I2C.h)(0x69419DE6)
F (.\Services\Source\Accelerometre.c)(0x69408A7D)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/accelerometre.o -MMD) I (Pilotes\Include\RTC.h)(0x6941A458)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) F (.\Services\Source\Accelerometre.c)(0x69419DE7)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/accelerometre.o -MMD)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (Pilotes\Include\Horloge.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\MySPI.h)(0x694083F8) I (Pilotes\Include\Horloge.h)(0x69419DE6)
I (Services\Include\Accelerometre.h)(0x694083F8) I (Pilotes\Include\MySPI.h)(0x69419DE6)
I (Services\Include\Servo.h)(0x694083F8) I (Services\Include\Accelerometre.h)(0x69419DE7)
F (.\Services\Source\Girouette.c)(0x69408AA1)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/girouette.o -MMD) I (Services\Include\Servo.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) F (.\Services\Source\Girouette.c)(0x69419DE7)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/girouette.o -MMD)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (Pilotes\Include\Timer.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\DriverGPIO.h)(0x694083F8) I (Pilotes\Include\Horloge.h)(0x69419DE6)
I (Services\Include\Girouette.h)(0x694083F8) I (Pilotes\Include\DriverGPIO.h)(0x6941A7A8)
I (Pilotes\Include\PWM.h)(0x694083F8) I (Services\Include\Girouette.h)(0x69419DE7)
F (.\Pilotes\Source\MyUart.c)(0x69408C41)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/myuart.o -MMD) I (Pilotes\Include\PWM.h)(0x69419DE6)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) F (.\Pilotes\Source\MyUart.c)(0x6941A76A)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/myuart.o -MMD)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (Pilotes\Include\DriverGPIO.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\MyTimer.h)(0x694083F8) I (Pilotes\Include\DriverGPIO.h)(0x6941A7A8)
F (.\Services\Source\Servo.c)(0x69408AB5)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/servo.o -MMD) F (.\Services\Source\Servo.c)(0x69419DE7)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/servo.o -MMD)
I (Services\Include\Servo.h)(0x694083F8) I (Services\Include\Servo.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\DriverGPIO.h)(0x694083F8) I (Pilotes\Include\DriverGPIO.h)(0x6941A7A8)
I (Pilotes\Include\PWM.h)(0x694083F8) I (Pilotes\Include\PWM.h)(0x69419DE6)
I (Pilotes\Include\Horloge.h)(0x694083F8) I (Pilotes\Include\Horloge.h)(0x69419DE6)
F (.\Pilotes\Source\DriverGPIO.c)(0x69408C3D)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/drivergpio.o -MMD) F (.\Pilotes\Source\DriverGPIO.c)(0x6941A787)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/drivergpio.o -MMD)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\DriverGPIO.h)(0x694083F8) I (Pilotes\Include\DriverGPIO.h)(0x6941A7A8)
F (.\Pilotes\Source\Horloge.c)(0x69408B5A)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/horloge.o -MMD) F (.\Pilotes\Source\Horloge.c)(0x6941A458)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/horloge.o -MMD)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\Horloge.h)(0x694083F8) I (Pilotes\Include\Horloge.h)(0x69419DE6)
F (.\Pilotes\Source\MYGPIO.c)(0x69408AF9)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/mygpio.o -MMD) F (.\Pilotes\Source\MYGPIO.c)(0x69419DE6)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/mygpio.o -MMD)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\MYGPIO.h)(0x694083F8) I (Pilotes\Include\MYGPIO.h)(0x69419DE6)
F (.\Pilotes\Source\MyTimer.c)(0x69408C31)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/mytimer.o -MMD) F (.\Pilotes\Source\PWM.c)(0x69419DE6)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/pwm.o -MMD)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\Timer.h)(0x694083F8) I (Pilotes\Include\PWM.h)(0x69419DE6)
I (Pilotes\Include\MyTimer.h)(0x694083F8) F (.\Pilotes\Source\I2C.c)(0x69419DE6)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/i2c.o -MMD)
I (Pilotes\Include\PWM.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
I (Pilotes\Include\DriverGPIO.h)(0x694083F8) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (Pilotes\Include\Horloge.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
F (.\Pilotes\Source\PWM.c)(0x69408B46)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/pwm.o -MMD) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) I (Pilotes\Include\I2C.h)(0x69419DE6)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) F (RTE/Device/STM32F103RB/RTE_Device.h)(0x69419DE6)()
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D) F (RTE/Device/STM32F103RB/startup_stm32f10x_md.s)(0x69419DE6)(--target=arm-arm-none-eabi -mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c -gdwarf-4 -Wa,armasm,--pd,"__EVAL SETA 1" -I ./Pilotes/Source -I ./Pilotes/Include -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -Wa,armasm,--pd,"__UVISION_VERSION SETA 542" -Wa,armasm,--pd,"STM32F10X_MD SETA 1" -Wa,armasm,--pd,"_RTE_ SETA 1" -o ./objects/startup_stm32f10x_md.o)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5) F (RTE/Device/STM32F103RB/system_stm32f10x.c)(0x69419DE6)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_ -o ./objects/system_stm32f10x.o -MMD)
I (Pilotes\Include\PWM.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
F (.\Pilotes\Source\Timer.c)(0x694088C4)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/timer.o -MMD) I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5) I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8) I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5)
I (Pilotes\Include\Timer.h)(0x694083F8)
F (.\Pilotes\Source\I2C.c)(0x69408B4C)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/i2c.o -MMD)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5)
I (Pilotes\Include\I2C.h)(0x694083F8)
F (RTE/Device/STM32F103RB/RTE_Device.h)(0x694083F8)()
F (RTE/Device/STM32F103RB/startup_stm32f10x_md.s)(0x694083F8)(--target=arm-arm-none-eabi -mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c -gdwarf-4 -Wa,armasm,--pd,"__EVAL SETA 1" -I ./Pilotes/Source -I ./Pilotes/Include -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -Wa,armasm,--pd,"__UVISION_VERSION SETA 543" -Wa,armasm,--pd,"STM32F10X_MD SETA 1" -Wa,armasm,--pd,"_RTE_ SETA 1" -o ./objects/startup_stm32f10x_md.o)
F (RTE/Device/STM32F103RB/system_stm32f10x.c)(0x694083F8)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects -I./RTE/Device/STM32F103RB -I./RTE/_Simulation -IC:/users/klinx/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include -IC:/users/klinx/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include -D__UVISION_VERSION="543" -DSTM32F10X_MD -D_RTE_ -o ./objects/system_stm32f10x.o -MMD)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x68F89DC5)
I (RTE\_Simulation\RTE_Components.h)(0x694083F8)
I (C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x68E55F9D)
I (C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x68F89DC5)

View file

@ -1,7 +1,7 @@
./objects/accelerometre.o: Services\Source\Accelerometre.c \ ./objects/accelerometre.o: Services\Source\Accelerometre.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\Horloge.h Pilotes\Include\MySPI.h \ Pilotes\Include\Horloge.h Pilotes\Include\MySPI.h \
Services\Include\Accelerometre.h Services\Include\Servo.h Services\Include\Accelerometre.h Services\Include\Servo.h

Binary file not shown.

View file

@ -1,6 +1,6 @@
./objects/drivergpio.o: Pilotes\Source\DriverGPIO.c \ ./objects/drivergpio.o: Pilotes\Source\DriverGPIO.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\DriverGPIO.h Pilotes\Include\DriverGPIO.h

Binary file not shown.

View file

@ -1,7 +1,7 @@
./objects/girouette.o: Services\Source\Girouette.c \ ./objects/girouette.o: Services\Source\Girouette.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\Timer.h Pilotes\Include\DriverGPIO.h \ Pilotes\Include\Horloge.h Pilotes\Include\DriverGPIO.h \
Services\Include\Girouette.h Pilotes\Include\PWM.h Services\Include\Girouette.h Pilotes\Include\PWM.h

Binary file not shown.

View file

@ -1,6 +1,6 @@
./objects/horloge.o: Pilotes\Source\Horloge.c \ ./objects/horloge.o: Pilotes\Source\Horloge.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\Horloge.h Pilotes\Include\Horloge.h

Binary file not shown.

View file

@ -1,6 +1,6 @@
./objects/i2c.o: Pilotes\Source\I2C.c \ ./objects/i2c.o: Pilotes\Source\I2C.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\I2C.h Pilotes\Include\I2C.h

Binary file not shown.

View file

@ -1,6 +1,6 @@
./objects/mygpio.o: Pilotes\Source\MYGPIO.c \ ./objects/mygpio.o: Pilotes\Source\MYGPIO.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\MYGPIO.h Pilotes\Include\MYGPIO.h

Binary file not shown.

View file

@ -1,6 +1,6 @@
./objects/myuart.o: Pilotes\Source\MyUart.c \ ./objects/myuart.o: Pilotes\Source\MyUart.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\DriverGPIO.h Pilotes\Include\MyTimer.h Pilotes\Include\DriverGPIO.h

Binary file not shown.

View file

@ -1,8 +1,8 @@
./objects/principal.o: Application\principal.c \ ./objects/principal.o: Application\principal.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\Horloge.h Services\Include\Accelerometre.h \ Pilotes\Include\Horloge.h Services\Include\Accelerometre.h \
Services\Include\Girouette.h Services\Include\Servo.h \ Services\Include\Girouette.h Services\Include\Servo.h \
Pilotes\Include\I2C.h Pilotes\Include\I2C.h Pilotes\Include\RTC.h

Binary file not shown.

View file

@ -1,6 +1,6 @@
./objects/pwm.o: Pilotes\Source\PWM.c \ ./objects/pwm.o: Pilotes\Source\PWM.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\PWM.h Pilotes\Include\PWM.h

Binary file not shown.

View file

@ -1,7 +1,7 @@
./objects/servo.o: Services\Source\Servo.c Services\Include\Servo.h \ ./objects/servo.o: Services\Source\Servo.c Services\Include\Servo.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
Pilotes\Include\DriverGPIO.h Pilotes\Include\PWM.h \ Pilotes\Include\DriverGPIO.h Pilotes\Include\PWM.h \
Pilotes\Include\Horloge.h Pilotes\Include\Horloge.h

Binary file not shown.

Binary file not shown.

View file

@ -1,5 +1,5 @@
./objects/system_stm32f10x.o: RTE\Device\STM32F103RB\system_stm32f10x.c \ ./objects/system_stm32f10x.o: RTE\Device\STM32F103RB\system_stm32f10x.c \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \ C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
RTE\_Simulation\RTE_Components.h \ RTE\_Simulation\RTE_Components.h \
C:\users\klinx\AppData\Local\Arm\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \ C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
C:\users\klinx\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h

Binary file not shown.

View file

@ -14,4 +14,6 @@ extern int MyGPIO_Read(GPIO_TypeDef * GPIO, char GPIO_Pin); // renvoie 0 ou autr
extern void MyGPIO_Set(GPIO_TypeDef * GPIO, char GPIO_Pin); extern void MyGPIO_Set(GPIO_TypeDef * GPIO, char GPIO_Pin);
extern void MyGPIO_Reset(GPIO_TypeDef * GPIO, char GPIO_Pin); extern void MyGPIO_Reset(GPIO_TypeDef * GPIO, char GPIO_Pin);
extern void MyGPIO_Toggle(GPIO_TypeDef * GPIO, char GPIO_Pin); extern void MyGPIO_Toggle(GPIO_TypeDef * GPIO, char GPIO_Pin);
void MYGPIO_PinOff (GPIO_TypeDef *GPIO , char GPIO_Pin);
void MYGPIO_PinOn (GPIO_TypeDef *GPIO , char GPIO_Pin);
#endif #endif

View file

@ -77,6 +77,15 @@ void MyGPIO_Reset(GPIO_TypeDef * GPIO, char GPIO_Pin) {
} }
void MYGPIO_PinOn (GPIO_TypeDef *GPIO , char GPIO_Pin){
GPIO->ODR |= (1<<GPIO_Pin);
};
void MYGPIO_PinOff (GPIO_TypeDef *GPIO , char GPIO_Pin){
GPIO->ODR &= ~(1<<GPIO_Pin);
};
void MyGPIO_Toggle(GPIO_TypeDef * GPIO, char GPIO_Pin) { void MyGPIO_Toggle(GPIO_TypeDef * GPIO, char GPIO_Pin) {
GPIO -> ODR = GPIO -> ODR ^ (0x1 << GPIO_Pin); GPIO -> ODR = GPIO -> ODR ^ (0x1 << GPIO_Pin);
} }

View file

@ -1,16 +1,18 @@
#include <stm32f10x.h> #include <stm32f10x.h>
#include "DriverGPIO.h" #include "DriverGPIO.h"
void My_USART_Config(USART_TypeDef* USARTx, uint32_t baudrate) { //QUE POUR USART1 void My_USART_Config(USART_TypeDef* USARTx, uint32_t baudrate) { //QUE POUR USART1
// Configuration PA9 (Tx) en Alternate Function Push-Pull // Configuration PA9 (Tx) en Alternate Function Push-Pull
MyGPIO_Init(GPIOA, 9 , 0xB); MyGPIO_Init(GPIOA, 9 , AltOut_Ppull);
// Configuration PA10 (Rx) en Input Floating // Configuration PA10 (Rx) en Input Floating
MyGPIO_Init(GPIOA, 10 , 0x4); MyGPIO_Init(GPIOA, 10 , In_Floating);
NVIC_EnableIRQ(USART1_IRQn); NVIC_EnableIRQ(USART1_IRQn);
NVIC_SetPriority(USART1_IRQn, 3<<4); NVIC_SetPriority(USART1_IRQn, 3<<4);
RCC->APB2ENR |= RCC_APB2ENR_USART1EN; RCC->APB2ENR |= RCC_APB2ENR_USART1EN;
// USARTx->CR2 |= USART_CR2_CLKEN;
USARTx->CR1 |= USART_CR1_UE; USARTx->CR1 |= USART_CR1_UE;
USARTx->BRR = baudrate; USARTx->BRR = baudrate;
USARTx->CR1 |= USART_CR1_TE; USARTx->CR1 |= USART_CR1_TE;

39
Pilotes/Source/Plateau.c Normal file
View file

@ -0,0 +1,39 @@
#include "stm32f10x.h"
void initPlato(TIM_TypeDef * Timer, int Channel){ // Config du moteur servo
MyGPIO_Init(GPIOB, 5, AltOut_Ppull); //config pin de direction 0 ou 1
if (Timer == TIM3) {
EnableTimer(TIM3);
MyTimer_Base_Init(TIM3, 159, 17); // Pour obtenir fréq de 20kHZ
if (Channel == 3){
MyGPIO_Init(GPIOB, 0, AltOut_Ppull); // Outut push pull alternate, config pin de consigne entre -100 et 100
MyTimer_PWM(TIM3, 3); //TIM3 CH3
}
else{
//printf("Ce pilote n'existe pas");
}
}
else{
//printf("Ce pilote n'existe pas");
}
}
void Update_Motor_PWM(int Consigne, TIM_TypeDef * Timer, int Channel) {
int duty_cycle;
if (Consigne>=0){
MYGPIO_PinOn(GPIOB, 5);
duty_cycle = Consigne;
};
if (Consigne<0){
MYGPIO_PinOff(GPIOB,5);
duty_cycle = -Consigne;
};
Set_DutyCycle_PWM(Timer, Channel, duty_cycle);
}

File diff suppressed because one or more lines are too long

View file

@ -465,7 +465,7 @@
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>6</FileNumber> <FileNumber>6</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>.\Pilotes\Source\DriverGPIO.c</PathWithFileName> <PathWithFileName>.\Pilotes\Source\DriverGPIO.c</PathWithFileName>
@ -504,18 +504,6 @@
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>.\Pilotes\Source\MyTimer.c</PathWithFileName>
<FilenameWithoutPath>MyTimer.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>3</GroupNumber>
<FileNumber>10</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\Pilotes\Source\PWM.c</PathWithFileName> <PathWithFileName>.\Pilotes\Source\PWM.c</PathWithFileName>
<FilenameWithoutPath>PWM.c</FilenameWithoutPath> <FilenameWithoutPath>PWM.c</FilenameWithoutPath>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -523,19 +511,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>11</FileNumber> <FileNumber>10</FileNumber>
<FileType>1</FileType>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\Pilotes\Source\Timer.c</PathWithFileName>
<FilenameWithoutPath>Timer.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>3</GroupNumber>
<FileNumber>12</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>1</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>

View file

@ -434,21 +434,11 @@
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>.\Pilotes\Source\MYGPIO.c</FilePath> <FilePath>.\Pilotes\Source\MYGPIO.c</FilePath>
</File> </File>
<File>
<FileName>MyTimer.c</FileName>
<FileType>1</FileType>
<FilePath>.\Pilotes\Source\MyTimer.c</FilePath>
</File>
<File> <File>
<FileName>PWM.c</FileName> <FileName>PWM.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>.\Pilotes\Source\PWM.c</FilePath> <FilePath>.\Pilotes\Source\PWM.c</FilePath>
</File> </File>
<File>
<FileName>Timer.c</FileName>
<FileType>1</FileType>
<FilePath>.\Pilotes\Source\Timer.c</FilePath>
</File>
<File> <File>
<FileName>I2C.c</FileName> <FileName>I2C.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
@ -468,7 +458,7 @@
<TargetName>Simulation</TargetName> <TargetName>Simulation</TargetName>
<ToolsetNumber>0x4</ToolsetNumber> <ToolsetNumber>0x4</ToolsetNumber>
<ToolsetName>ARM-ADS</ToolsetName> <ToolsetName>ARM-ADS</ToolsetName>
<pCCUsed>6240000::V6.24::ARMCLANG</pCCUsed> <pCCUsed>6230000::V6.23::ARMCLANG</pCCUsed>
<uAC6>1</uAC6> <uAC6>1</uAC6>
<TargetOption> <TargetOption>
<TargetCommonOption> <TargetCommonOption>
@ -892,21 +882,11 @@
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>.\Pilotes\Source\MYGPIO.c</FilePath> <FilePath>.\Pilotes\Source\MYGPIO.c</FilePath>
</File> </File>
<File>
<FileName>MyTimer.c</FileName>
<FileType>1</FileType>
<FilePath>.\Pilotes\Source\MyTimer.c</FilePath>
</File>
<File> <File>
<FileName>PWM.c</FileName> <FileName>PWM.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>.\Pilotes\Source\PWM.c</FilePath> <FilePath>.\Pilotes\Source\PWM.c</FilePath>
</File> </File>
<File>
<FileName>Timer.c</FileName>
<FileType>1</FileType>
<FilePath>.\Pilotes\Source\Timer.c</FilePath>
</File>
<File> <File>
<FileName>I2C.c</FileName> <FileName>I2C.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>