Browse Source

Version pré-Ex3

alejeune 1 year ago
parent
commit
8c759be872
51 changed files with 22251 additions and 0 deletions
  1. 36
    0
      DebugConfig/R_el_STM32F103RB_1.0.0.dbgconf
  2. 36
    0
      DebugConfig/SImulation_STM32F103RB_1.0.0.dbgconf
  3. 36
    0
      DebugConfig/Target_1_STM32F103RB_1.0.0.dbgconf
  4. 9
    0
      EventRecorderStub.scvd
  5. 52
    0
      FileInclude/Driver_GPIO.c
  6. 29
    0
      FileInclude/Driver_GPIO.h
  7. 15
    0
      FileInclude/MyADC.c
  8. 8
    0
      FileInclude/MyADC.h
  9. 286
    0
      FileInclude/MyTimer.c
  10. 34
    0
      FileInclude/MyTimer.h
  11. 143
    0
      Listings/Projet1.map
  12. 363
    0
      Listings/Projet1_Simulation.map
  13. 1180
    0
      Listings/startup_stm32f10x_md.lst
  14. 2
    0
      Objects/ExtDll.iex
  15. 79
    0
      Objects/Projet1.build_log.htm
  16. 6
    0
      Objects/Projet1.lnp
  17. 46
    0
      Objects/Projet1_Réel.dep
  18. 46
    0
      Objects/Projet1_SImulation.dep
  19. BIN
      Objects/Projet1_Simulation.axf
  20. 71
    0
      Objects/Projet1_Simulation.build_log.htm
  21. 400
    0
      Objects/Projet1_Simulation.htm
  22. 10
    0
      Objects/Projet1_Simulation.lnp
  23. 16
    0
      Objects/Projet1_Simulation.sct
  24. 15
    0
      Objects/Projet1_Target 1.dep
  25. BIN
      Objects/driver_gpio.crf
  26. 10
    0
      Objects/driver_gpio.d
  27. BIN
      Objects/driver_gpio.o
  28. BIN
      Objects/mytimer.crf
  29. 11
    0
      Objects/mytimer.d
  30. BIN
      Objects/mytimer.o
  31. BIN
      Objects/prinicpal.crf
  32. 11
    0
      Objects/prinicpal.d
  33. BIN
      Objects/prinicpal.o
  34. 1
    0
      Objects/startup_stm32f10x_md.d
  35. BIN
      Objects/startup_stm32f10x_md.o
  36. BIN
      Objects/system_stm32f10x.crf
  37. 9
    0
      Objects/system_stm32f10x.d
  38. BIN
      Objects/system_stm32f10x.o
  39. 3646
    0
      Projet1 (2).uvguix
  40. 3637
    0
      Projet1.uvguix
  41. 3637
    0
      Projet1.uvguix - Copie.alejeune
  42. 3691
    0
      Projet1.uvguix.alejeune
  43. 471
    0
      Projet1.uvoptx
  44. 893
    0
      Projet1.uvprojx
  45. 1828
    0
      RTE/Device/STM32F103RB/RTE_Device.h
  46. 307
    0
      RTE/Device/STM32F103RB/startup_stm32f10x_md.s
  47. 1094
    0
      RTE/Device/STM32F103RB/system_stm32f10x.c
  48. 21
    0
      RTE/_R_el/RTE_Components.h
  49. 21
    0
      RTE/_SImulation/RTE_Components.h
  50. 21
    0
      RTE/_Target_1/RTE_Components.h
  51. 24
    0
      Sources/prinicpal.c

+ 36
- 0
DebugConfig/R_el_STM32F103RB_1.0.0.dbgconf View File

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

+ 36
- 0
DebugConfig/SImulation_STM32F103RB_1.0.0.dbgconf View File

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

+ 36
- 0
DebugConfig/Target_1_STM32F103RB_1.0.0.dbgconf View File

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

+ 9
- 0
EventRecorderStub.scvd View File

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+
3
+<component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
4
+
5
+<component name="EventRecorderStub" version="1.0.0"/>       <!--name and version of the component-->
6
+  <events>
7
+  </events>
8
+
9
+</component_viewer>

+ 52
- 0
FileInclude/Driver_GPIO.c View File

@@ -0,0 +1,52 @@
1
+#include "Driver_GPIO.h"
2
+
3
+void MyGPIO_Init(MyGPIO_Struct_TypeDef * Data){
4
+	char finalConf = Data->GPIO_Conf;
5
+	GPIO_TypeDef * GPIO;
6
+	GPIO = Data->GPIO;
7
+		
8
+	// Mise en place de la clock
9
+	if (GPIO==GPIOA){
10
+		RCC->APB2ENR |= (0x01 << 2) ;
11
+	} else if (GPIO==GPIOB){
12
+		RCC->APB2ENR |= (0x01 << 3) ;
13
+	} else {
14
+		RCC->APB2ENR |= (0x01 << 4) ;
15
+	}
16
+	
17
+	// On regarde si on est en pull_up
18
+	if (finalConf == 0x18){
19
+		Data->GPIO->ODR |= 0x01 << Data->GPIO_Pin;
20
+		finalConf = 0x08;
21
+	}
22
+	
23
+	// Initialisation de la bonne pin
24
+	if (Data->GPIO_Pin < 8){
25
+		Data->GPIO->CRL &= ~(0xF << 4*Data->GPIO_Pin); // shifté de 4*numPin
26
+		Data->GPIO->CRL |= (Data->GPIO_Conf << 4*Data->GPIO_Pin); 
27
+	}
28
+	else {
29
+		Data->GPIO->CRH &= ~(0xF << 4*(Data->GPIO_Pin -8)); // shifté de 4*numPin
30
+		Data->GPIO->CRH |= (Data->GPIO_Conf << 4*(Data->GPIO_Pin -8));
31
+	}
32
+}
33
+
34
+
35
+int MyGPIO_Read(GPIO_TypeDef* GPIO, int GPIO_Pin) {// renvoie 0 ou autre chose different de 0
36
+	return ((GPIO->IDR >> GPIO_Pin) & 1);
37
+}
38
+
39
+void MyGPIO_Set(GPIO_TypeDef* GPIO, int GPIO_Pin){ // Bit 0 à 15 de BSRR c'est le set
40
+	GPIO->BSRR |= 0x01 << GPIO_Pin;
41
+}
42
+
43
+void MyGPIO_Reset(GPIO_TypeDef* GPIO, int GPIO_Pin){ // Bit 16 à 31 de BSRR c'est le reset
44
+	GPIO->BSRR |= ((0x01 << GPIO_Pin) << 0x10);	
45
+}
46
+
47
+
48
+void MyGPIO_Toggle(GPIO_TypeDef* GPIO, int GPIO_Pin){ // Toggle : changer la valeur du ODR
49
+	GPIO->ODR ^= 0x01 << GPIO_Pin; 
50
+}
51
+
52
+

+ 29
- 0
FileInclude/Driver_GPIO.h View File

@@ -0,0 +1,29 @@
1
+#ifndef MYGPIO_H
2
+#define MYGPIO_H
3
+#include "stm32f10x.h"
4
+
5
+typedef struct
6
+{
7
+	GPIO_TypeDef* GPIO;
8
+	int GPIO_Pin; //numero de 0 a 15
9
+	int GPIO_Conf; //voir ci dessous
10
+} MyGPIO_Struct_TypeDef;
11
+
12
+
13
+#define In_Floating 0x04 
14
+#define In_PullDown 0x08 
15
+#define In_PullUp 0x18 // le 1 représente le fait qu'on est en pull up
16
+#define In_Analog 0x00 
17
+#define Out_Ppull 0x02 
18
+#define Out_OD 0x05 
19
+#define AltOut_Ppull 0x0A 
20
+#define AltOut_OD 0x0D 
21
+
22
+void MyGPIO_Init(MyGPIO_Struct_TypeDef * Data);
23
+int MyGPIO_Read(GPIO_TypeDef* GPIO, int GPIO_Pin);// renvoie 0 ou autre chose different de 0
24
+void MyGPIO_Set(GPIO_TypeDef* GPIO, int GPIO_Pin);
25
+void MyGPIO_Reset(GPIO_TypeDef* GPIO, int GPIO_Pin);
26
+void MyGPIO_Toggle(GPIO_TypeDef* GPIO, int GPIO_Pin);
27
+
28
+#endif
29
+

+ 15
- 0
FileInclude/MyADC.c View File

@@ -0,0 +1,15 @@
1
+#include "MyADC.h"
2
+#include "MyTimer.h"
3
+#include "Driver_GPIO.h"
4
+#define NULL 0
5
+
6
+	
7
+void initADC(int channel){
8
+ //coucou
9
+}
10
+
11
+
12
+
13
+
14
+
15
+

+ 8
- 0
FileInclude/MyADC.h View File

@@ -0,0 +1,8 @@
1
+#ifndef __MYADC_H 
2
+#define __MYADC_H  
3
+#include "stm32f10x.h"
4
+
5
+// initialise tout ce au'il y a a faire pour l'ADC:
6
+void initADC(int channel);
7
+
8
+#endif

+ 286
- 0
FileInclude/MyTimer.c View File

@@ -0,0 +1,286 @@
1
+#include "MyTimer.h"
2
+#include "stm32f10x.h"
3
+#include "Driver_GPIO.h"
4
+#define NULL 0
5
+
6
+// Déclaration des fonctions utilisées lors de handlers
7
+void (* ptr1) (void) = NULL;
8
+void (* ptr2) (void) = NULL;
9
+void (* ptr3) (void) = NULL;
10
+void (* ptr4) (void) = NULL;
11
+	
12
+void MyTimer_Base_Init (MyTimer_Struct_TypeDef* Data){
13
+	TIM_TypeDef * numTimer ;
14
+	numTimer = Data->Timer ;
15
+	switch ((int)numTimer) { // on cast le pointeur vers le timer pour le comparer au pointeur des timers existants
16
+		case (int)TIM1 :
17
+			RCC->APB2ENR |= RCC_APB2ENR_TIM1EN ; // masque pour activer le timer (0xOB, pin 11)
18
+		break ;
19
+		
20
+		case (int)TIM2:
21
+			RCC->APB1ENR |= RCC_APB1ENR_TIM2EN ; // masque pour activer le timer2 (0x01)
22
+		break ;
23
+		
24
+		case (int)TIM3:
25
+			RCC->APB1ENR |= RCC_APB1ENR_TIM3EN ; // masque pour activer le timer2 (0x02)
26
+		break ;
27
+		
28
+		case (int)TIM4:
29
+			RCC->APB1ENR |= RCC_APB1ENR_TIM4EN ; // masque pour activer le timer2 (0x03)
30
+		break ;
31
+	}
32
+	// on parametre ARR et PSC sur le timer
33
+	Data->Timer->ARR = Data->ARR ;
34
+	Data->Timer->PSC = Data->PSC ;
35
+}
36
+
37
+void MyTimer_Base_Start(TIM_TypeDef * Timer ) {
38
+	Timer -> CR1 |= TIM_CR1_CEN ; // on active la clock du  timer
39
+}
40
+
41
+void MyTimer_Base_Stop(TIM_TypeDef * Timer ) {
42
+		Timer -> CR1 &= ~TIM_CR1_CEN ; // on désactive la clock du timer
43
+}
44
+
45
+
46
+void MyTimer_ActiveIT ( TIM_TypeDef * Timer , char Prio, void (* IT_function) (void)){
47
+	Timer->DIER |= 0x01; // on autorise l'interuption au niveau du timer
48
+
49
+	switch ((int)Timer) { // on cast le timer pour le comparer au pointeur des timers existants
50
+		case (int)TIM1 :
51
+			NVIC->ISER[0] |= NVIC_ISER_SETENA_25; // on autorise l'interuption au niveau du coeur par le timer 1
52
+			NVIC->IP[25] = Prio; // on parametre la prio du timer
53
+			ptr1 = IT_function; //fonction à appeler par le handler
54
+		break ;
55
+		
56
+		case (int)TIM2:
57
+			NVIC->ISER[0] |= NVIC_ISER_SETENA_28;  // on autorise l'interuption au niveau du coeur par le timer 2
58
+			NVIC->IP[28] = Prio; // on parametre la prio du timer
59
+			ptr2 = IT_function; //fonction à appeler par le handler
60
+		break ;
61
+		
62
+		case (int)TIM3:
63
+			NVIC->ISER[0] |= NVIC_ISER_SETENA_29;  // on autorise l'interuption au niveau du coeur par le timer 3
64
+			NVIC->IP[29] = Prio; // on parametre la prio du timer
65
+			ptr3 = IT_function; //fonction à appeler par le handler			
66
+		 break ;
67
+		
68
+		case (int)TIM4:
69
+			NVIC->ISER[0] |= NVIC_ISER_SETENA_30;  // on autorise l'interuption au niveau du coeur par le timer 4
70
+			NVIC->IP[30] = Prio; // on parametre la prio du timer
71
+			ptr4 = IT_function; //fonction à appeler par le handler
72
+		break ;
73
+	}
74
+}
75
+	
76
+
77
+
78
+void TIM1_UP_IRQHandler(void){
79
+	if (ptr1 != NULL){ // si la fonction a bien été initialisée
80
+		(*ptr1)(); // on appelle la fonction en cas de handler1
81
+	}
82
+	TIM1->SR &= ~(1<<0); // on baisse le flag d'activation
83
+}
84
+
85
+void TIM2_IRQHandler(void){
86
+	if (ptr2 != NULL){ // si la fonction a bien été initialisée
87
+		(*ptr2)(); // on appelle la fonction en cas de handler2
88
+	}
89
+	TIM2->SR &= ~(1<<0); // on baisse le flag d'activation
90
+}
91
+
92
+void TIM3_IRQHandler(void){
93
+	if (ptr3 != NULL){ // si la fonction a bien été initialisée
94
+		(*ptr3)(); // on appelle la fonction en cas de handler3
95
+	}
96
+	TIM3->SR &= ~(1<<0); // on baisse le flag d'activation
97
+}
98
+
99
+void TIM4_IRQHandler(void){
100
+	if (ptr4 != NULL){ // si la fonction a bien été initialisée
101
+		(*ptr4)(); // on appelle la fonction en cas de handler4
102
+	}
103
+	TIM4->SR &= ~(1<<0); // on baisse le flag d'activation
104
+}
105
+	
106
+void MyTimer_PWM(TIM_TypeDef * Timer, char Channel){
107
+	MyGPIO_Struct_TypeDef gpio;	
108
+	gpio.GPIO_Conf = AltOut_Ppull;
109
+	
110
+	// Activation la capture du compteur (CNT) dans le registre capture register
111
+	Timer->CCER |= TIM_CCER_CC1E;
112
+	
113
+	
114
+	
115
+	switch ((int)Channel) { // on cast le timer pour le comparer au pointeur des timers existants
116
+		/* ==============
117
+		=== Channel 1 ===
118
+		============== */
119
+		
120
+		case 1 :	
121
+			// On veut mettre les bits 4 à 6 de OC1M à 110 (PWM mode 1 p 349)
122
+			Timer->CCMR1 |= TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2;
123
+			Timer->CCMR1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC1S); // mettre 00
124
+			Timer->CCR1 = 0;
125
+		
126
+			switch ((int)Timer) { // on cast le timer pour le comparer au pointeur des timers existants
127
+				case (int)TIM1 :
128
+					gpio.GPIO = GPIOA;
129
+					gpio.GPIO_Pin = 8;
130
+					TIM1->BDTR |= TIM_BDTR_MOE ; // bit MOE pour activer le timer généralement (main output enable)
131
+				break ;
132
+				
133
+				case (int)TIM2:
134
+					gpio.GPIO = GPIOA;
135
+					gpio.GPIO_Pin = 0;
136
+				break ;
137
+				
138
+				case (int)TIM3:
139
+					gpio.GPIO = GPIOA;
140
+					gpio.GPIO_Pin = 6;
141
+				break ;
142
+				
143
+				case (int)TIM4:
144
+					gpio.GPIO = GPIOB;
145
+					gpio.GPIO_Pin = 6;
146
+				break ;
147
+			}
148
+		break ;
149
+		
150
+				
151
+		/* ==============
152
+		=== Channel 2 ===
153
+		============== */
154
+						
155
+		case 2 :
156
+			
157
+			// On veut mettre les bits 12 à 14 de OC1M à 110 (PWM mode 1 p 349)
158
+			Timer->CCMR1 |= TIM_CCMR1_OC2M_1| TIM_CCMR1_OC2M_2;
159
+			Timer->CCMR1 &= ~(TIM_CCMR1_CC2S | TIM_CCMR1_CC2S); // mettre 00
160
+			Timer->CCR2 = 0;
161
+			
162
+			switch ((int)Timer) { // on cast le timer pour le comparer au pointeur des timers existants
163
+				case (int)TIM1 :
164
+					gpio.GPIO = GPIOA;
165
+					gpio.GPIO_Pin = 9;
166
+					TIM1->BDTR |= TIM_BDTR_MOE ; // bit MOE pour activer le timer généralement (main output enable)
167
+				break ;
168
+				
169
+				case (int)TIM2:
170
+					gpio.GPIO = GPIOA;
171
+					gpio.GPIO_Pin = 1;
172
+				break ;
173
+				
174
+				case (int)TIM3:
175
+					gpio.GPIO = GPIOA;
176
+					gpio.GPIO_Pin = 7;
177
+				break ;
178
+				
179
+				case (int)TIM4:
180
+					gpio.GPIO = GPIOB;
181
+					gpio.GPIO_Pin = 7;
182
+				break ;
183
+			}
184
+		break ;
185
+				
186
+		
187
+		/* ==============
188
+		=== Channel 3 ===
189
+		============== */
190
+		case 3 :
191
+			
192
+			// On veut mettre les bits 4 à 6 de OC2M à 110 (PWM mode 1 p 349)
193
+			Timer->CCMR2 |= TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2;
194
+			Timer->CCMR2 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC1S); // mettre 00
195
+			Timer->CCR3 = 0;
196
+		
197
+			switch ((int)Timer) { // on cast le timer pour le comparer au pointeur des timers existants
198
+				case (int)TIM1 :
199
+					gpio.GPIO = GPIOA;
200
+					gpio.GPIO_Pin = 10;
201
+					TIM1->BDTR |= TIM_BDTR_MOE ; // bit MOE pour activer le timer généralement (main output enable)
202
+				break ;
203
+				
204
+				case (int)TIM2:
205
+					gpio.GPIO = GPIOA;
206
+					gpio.GPIO_Pin = 2;
207
+				break ;
208
+				
209
+				case (int)TIM3:
210
+					gpio.GPIO = GPIOB;
211
+					gpio.GPIO_Pin = 0;
212
+				break ;
213
+				
214
+				case (int)TIM4:
215
+					gpio.GPIO = GPIOB;
216
+					gpio.GPIO_Pin = 8;
217
+				break ;
218
+			}
219
+		break ;
220
+				
221
+		/* ==============
222
+		=== Channel 4 ===
223
+		============== */
224
+		case 4 :
225
+			
226
+			// On veut mettre les bits 12 à 14 de OC2M à 110 (PWM mode 1 p 349)
227
+			Timer->CCMR2 |= TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2;
228
+			Timer->CCMR2 &= ~(TIM_CCMR1_CC2S | TIM_CCMR1_CC2S); // mettre 00
229
+			Timer->CCR4 = 0;
230
+		
231
+			switch ((int)Timer) { // on cast le timer pour le comparer au pointeur des timers existants
232
+				case (int)TIM1 :
233
+					gpio.GPIO = GPIOA;
234
+					gpio.GPIO_Pin = 11;
235
+					TIM1->BDTR |= TIM_BDTR_MOE ; // bit MOE pour activer le timer généralement (main output enable)
236
+				break ;
237
+				
238
+				case (int)TIM2:
239
+					gpio.GPIO = GPIOA;
240
+					gpio.GPIO_Pin = 3;
241
+				break ;
242
+				
243
+				case (int)TIM3:
244
+					gpio.GPIO = GPIOB;
245
+					gpio.GPIO_Pin = 1;
246
+				break ;
247
+				
248
+				case (int)TIM4:
249
+					gpio.GPIO = GPIOB;
250
+					gpio.GPIO_Pin = 9;
251
+				break ;
252
+			}
253
+		break ;
254
+	}
255
+	MyGPIO_Init(&gpio);
256
+}
257
+
258
+// calculer et definir les valeurs de CRR
259
+void Set_PWM_PRCT(TIM_TypeDef * Timer, char Channel, int percent){
260
+	short value = Timer->ARR*percent/100;
261
+	
262
+	switch (Channel){
263
+		case 1:
264
+			Timer->CCR1 = value;
265
+		break;
266
+		case 2:
267
+			Timer->CCR2 = value;
268
+		break;
269
+		case 3:
270
+			Timer->CCR3 = value;
271
+		break;
272
+		case 4:
273
+			Timer->CCR4 = value;
274
+		break;
275
+	}
276
+	
277
+	
278
+	
279
+	
280
+}
281
+
282
+
283
+
284
+
285
+
286
+

+ 34
- 0
FileInclude/MyTimer.h View File

@@ -0,0 +1,34 @@
1
+#ifndef __MYTIMER_H 
2
+#define __MYTIMER_H  
3
+#include "stm32f10x.h"
4
+
5
+typedef struct
6
+{
7
+	TIM_TypeDef * Timer ; // TIM1 à TIM4
8
+	unsigned short ARR ;
9
+	unsigned short PSC ;
10
+} MyTimer_Struct_TypeDef ;
11
+
12
+/*
13
+*****************************************************************************************
14
+* @brief
15
+* @param -> Paramètre sous forme d’une structure (son adresse) contenant les
16
+informations de base
17
+* @Note -> Fonction à lancer systématiquement avant d’aller plus en détail dans les
18
+conf plus fines (PWM, codeur inc ...)
19
+*************************************************************************************************
20
+*/
21
+
22
+
23
+void MyTimer_Base_Init (MyTimer_Struct_TypeDef* Data) ;
24
+
25
+void MyTimer_Base_Start(TIM_TypeDef * Timer );
26
+void MyTimer_Base_Stop(TIM_TypeDef * Timer );
27
+
28
+void MyTimer_ActiveIT (TIM_TypeDef * Timer, char Prio, void (* IT_function) (void));
29
+
30
+void MyTimer_PWM(TIM_TypeDef * Timer, char Channel);
31
+
32
+void Set_PWM_PRCT(TIM_TypeDef * Timer, char Channel, int percent);
33
+
34
+#endif

+ 143
- 0
Listings/Projet1.map View File

@@ -0,0 +1,143 @@
1
+Component: ARM Compiler 6.16 Tool: armlink [5dfeaa00]
2
+
3
+==============================================================================
4
+
5
+Section Cross References
6
+
7
+    startup_stm32f10x_md.o(STACK) refers (Special) to heapauxi.o(.text) for __use_two_region_memory
8
+    startup_stm32f10x_md.o(HEAP) refers (Special) to heapauxi.o(.text) for __use_two_region_memory
9
+    startup_stm32f10x_md.o(RESET) refers (Special) to heapauxi.o(.text) for __use_two_region_memory
10
+    startup_stm32f10x_md.o(RESET) refers to startup_stm32f10x_md.o(STACK) for __initial_sp
11
+    startup_stm32f10x_md.o(RESET) refers to startup_stm32f10x_md.o(.text) for Reset_Handler
12
+    startup_stm32f10x_md.o(.text) refers (Special) to heapauxi.o(.text) for __use_two_region_memory
13
+    startup_stm32f10x_md.o(.text) refers to system_stm32f10x.o(.text.SystemInit) for SystemInit
14
+    startup_stm32f10x_md.o(.text) refers to __main.o(!!!main) for __main
15
+    startup_stm32f10x_md.o(.text) refers to startup_stm32f10x_md.o(HEAP) for Heap_Mem
16
+    startup_stm32f10x_md.o(.text) refers to startup_stm32f10x_md.o(STACK) for Stack_Mem
17
+    system_stm32f10x.o(.text.SystemInit) refers to system_stm32f10x.o(.text.SetSysClock) for SetSysClock
18
+    system_stm32f10x.o(.ARM.exidx.text.SystemInit) refers to system_stm32f10x.o(.text.SystemInit) for [Anonymous Symbol]
19
+    system_stm32f10x.o(.text.SetSysClock) refers to system_stm32f10x.o(.text.SetSysClockTo72) for SetSysClockTo72
20
+    system_stm32f10x.o(.ARM.exidx.text.SetSysClock) refers to system_stm32f10x.o(.text.SetSysClock) for [Anonymous Symbol]
21
+    system_stm32f10x.o(.text.SystemCoreClockUpdate) refers to system_stm32f10x.o(.data.SystemCoreClock) for SystemCoreClock
22
+    system_stm32f10x.o(.text.SystemCoreClockUpdate) refers to system_stm32f10x.o(.rodata.AHBPrescTable) for AHBPrescTable
23
+    system_stm32f10x.o(.ARM.exidx.text.SystemCoreClockUpdate) refers to system_stm32f10x.o(.text.SystemCoreClockUpdate) for [Anonymous Symbol]
24
+    system_stm32f10x.o(.ARM.exidx.text.SetSysClockTo72) refers to system_stm32f10x.o(.text.SetSysClockTo72) for [Anonymous Symbol]
25
+    __main.o(!!!main) refers to __rtentry.o(.ARM.Collect$$rtentry$$00000000) for __rt_entry
26
+    __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000A) for __rt_entry_li
27
+    __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000D) for __rt_entry_main
28
+    __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000C) for __rt_entry_postli_1
29
+    __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$00000009) for __rt_entry_postsh_1
30
+    __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$00000002) for __rt_entry_presh_1
31
+    __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry4.o(.ARM.Collect$$rtentry$$00000004) for __rt_entry_sh
32
+    __rtentry2.o(.ARM.Collect$$rtentry$$00000008) refers to boardinit2.o(.text) for _platform_post_stackheap_init
33
+    __rtentry2.o(.ARM.Collect$$rtentry$$0000000A) refers to libinit.o(.ARM.Collect$$libinit$$00000000) for __rt_lib_init
34
+    __rtentry2.o(.ARM.Collect$$rtentry$$0000000B) refers to boardinit3.o(.text) for _platform_post_lib_init
35
+    __rtentry2.o(.ARM.Collect$$rtentry$$0000000D) refers to exit.o(.text) for exit
36
+    __rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$00000001) for .ARM.Collect$$rtentry$$00000001
37
+    __rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$00000008) for .ARM.Collect$$rtentry$$00000008
38
+    __rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$0000000A) for .ARM.Collect$$rtentry$$0000000A
39
+    __rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$0000000B) for .ARM.Collect$$rtentry$$0000000B
40
+    __rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$0000000D) for .ARM.Collect$$rtentry$$0000000D
41
+    __rtentry4.o(.ARM.Collect$$rtentry$$00000004) refers to sys_stackheap_outer.o(.text) for __user_setup_stackheap
42
+    __rtentry4.o(.ARM.exidx) refers to __rtentry4.o(.ARM.Collect$$rtentry$$00000004) for .ARM.Collect$$rtentry$$00000004
43
+    sys_stackheap_outer.o(.text) refers to libspace.o(.text) for __user_perproc_libspace
44
+    sys_stackheap_outer.o(.text) refers to startup_stm32f10x_md.o(.text) for __user_initial_stackheap
45
+    exit.o(.text) refers to rtexit.o(.ARM.Collect$$rtexit$$00000000) for __rt_exit
46
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000002E) for __rt_lib_init_alloca_1
47
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000027) for __rt_lib_init_argv_1
48
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000001B) for __rt_lib_init_atexit_1
49
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000021) for __rt_lib_init_clock_1
50
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000032) for __rt_lib_init_cpp_1
51
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000030) for __rt_lib_init_exceptions_1
52
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000002) for __rt_lib_init_fp_1
53
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000001F) for __rt_lib_init_fp_trap_1
54
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000023) for __rt_lib_init_getenv_1
55
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000000A) for __rt_lib_init_heap_1
56
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000011) for __rt_lib_init_lc_collate_1
57
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000013) for __rt_lib_init_lc_ctype_1
58
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000015) for __rt_lib_init_lc_monetary_1
59
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000017) for __rt_lib_init_lc_numeric_1
60
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000019) for __rt_lib_init_lc_time_1
61
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000004) for __rt_lib_init_preinit_1
62
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000000E) for __rt_lib_init_rand_1
63
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000033) for __rt_lib_init_return
64
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000001D) for __rt_lib_init_signal_1
65
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000025) for __rt_lib_init_stdio_1
66
+    libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000000C) for __rt_lib_init_user_alloc_1
67
+    libspace.o(.text) refers to libspace.o(.bss) for __libspace_start
68
+    rtexit.o(.ARM.Collect$$rtexit$$00000000) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000004) for __rt_exit_exit
69
+    rtexit.o(.ARM.Collect$$rtexit$$00000000) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000003) for __rt_exit_ls
70
+    rtexit.o(.ARM.Collect$$rtexit$$00000000) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000002) for __rt_exit_prels_1
71
+    rtexit.o(.ARM.exidx) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000004) for __rt_exit_exit
72
+    rtexit.o(.ARM.exidx) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000003) for __rt_exit_ls
73
+    rtexit.o(.ARM.exidx) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000002) for __rt_exit_prels_1
74
+    rtexit.o(.ARM.exidx) refers to rtexit.o(.ARM.Collect$$rtexit$$00000000) for .ARM.Collect$$rtexit$$00000000
75
+    libinit2.o(.ARM.Collect$$libinit$$00000010) refers to libinit2.o(.ARM.Collect$$libinit$$0000000F) for .ARM.Collect$$libinit$$0000000F
76
+    libinit2.o(.ARM.Collect$$libinit$$00000012) refers to libinit2.o(.ARM.Collect$$libinit$$0000000F) for .ARM.Collect$$libinit$$0000000F
77
+    libinit2.o(.ARM.Collect$$libinit$$00000014) refers to libinit2.o(.ARM.Collect$$libinit$$0000000F) for .ARM.Collect$$libinit$$0000000F
78
+    libinit2.o(.ARM.Collect$$libinit$$00000016) refers to libinit2.o(.ARM.Collect$$libinit$$0000000F) for .ARM.Collect$$libinit$$0000000F
79
+    libinit2.o(.ARM.Collect$$libinit$$00000018) refers to libinit2.o(.ARM.Collect$$libinit$$0000000F) for .ARM.Collect$$libinit$$0000000F
80
+    libinit2.o(.ARM.Collect$$libinit$$00000026) refers to argv_veneer.o(.emb_text) for __ARM_argv_veneer
81
+    libinit2.o(.ARM.Collect$$libinit$$00000027) refers to argv_veneer.o(.emb_text) for __ARM_argv_veneer
82
+    rtexit2.o(.ARM.Collect$$rtexit$$00000003) refers to libshutdown.o(.ARM.Collect$$libshutdown$$00000000) for __rt_lib_shutdown
83
+    rtexit2.o(.ARM.Collect$$rtexit$$00000004) refers to sys_exit.o(.text) for _sys_exit
84
+    rtexit2.o(.ARM.exidx) refers to rtexit2.o(.ARM.Collect$$rtexit$$00000001) for .ARM.Collect$$rtexit$$00000001
85
+    rtexit2.o(.ARM.exidx) refers to rtexit2.o(.ARM.Collect$$rtexit$$00000003) for .ARM.Collect$$rtexit$$00000003
86
+    rtexit2.o(.ARM.exidx) refers to rtexit2.o(.ARM.Collect$$rtexit$$00000004) for .ARM.Collect$$rtexit$$00000004
87
+    argv_veneer.o(.emb_text) refers to _get_argv_nomalloc.o(.text) for __ARM_get_argv
88
+    sys_exit.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
89
+    sys_exit.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
90
+    sys_exit_hlt.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
91
+    sys_exit_hlt.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
92
+    _get_argv_nomalloc.o(.text) refers (Special) to hrguard.o(.text) for __heap_region$guard
93
+    _get_argv_nomalloc.o(.text) refers to defsig_rtmem_outer.o(.text) for __rt_SIGRTMEM
94
+    _get_argv_nomalloc.o(.text) refers to sys_command.o(.text) for _sys_command_string
95
+    libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000002) for __rt_lib_shutdown_cpp_1
96
+    libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000007) for __rt_lib_shutdown_fp_trap_1
97
+    libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F) for __rt_lib_shutdown_heap_1
98
+    libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000010) for __rt_lib_shutdown_return
99
+    libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000A) for __rt_lib_shutdown_signal_1
100
+    libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000004) for __rt_lib_shutdown_stdio_1
101
+    libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000C) for __rt_lib_shutdown_user_alloc_1
102
+    sys_command.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
103
+    sys_command.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
104
+    sys_command_hlt.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
105
+    sys_command_hlt.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
106
+    defsig_rtmem_outer.o(.text) refers to defsig_rtmem_inner.o(.text) for __rt_SIGRTMEM_inner
107
+    defsig_rtmem_outer.o(.text) refers to defsig_exit.o(.text) for __sig_exit
108
+    defsig_rtmem_formal.o(.text) refers to rt_raise.o(.text) for __rt_raise
109
+    rt_raise.o(.text) refers to __raise.o(.text) for __raise
110
+    rt_raise.o(.text) refers to sys_exit.o(.text) for _sys_exit
111
+    defsig_exit.o(.text) refers to sys_exit.o(.text) for _sys_exit
112
+    defsig_rtmem_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
113
+    __raise.o(.text) refers to defsig.o(CL$$defsig) for __default_signal_handler
114
+    defsig_general.o(.text) refers to sys_wrch.o(.text) for _ttywrch
115
+    sys_wrch.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
116
+    sys_wrch.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
117
+    sys_wrch_hlt.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
118
+    sys_wrch_hlt.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
119
+    defsig.o(CL$$defsig) refers to defsig_rtmem_inner.o(.text) for __rt_SIGRTMEM_inner
120
+    defsig_abrt_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
121
+    defsig_fpe_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
122
+    defsig_rtred_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
123
+    defsig_stak_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
124
+    defsig_pvfn_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
125
+    defsig_cppl_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
126
+    defsig_segv_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
127
+    defsig_other.o(.text) refers to defsig_general.o(.text) for __default_signal_display
128
+
129
+
130
+==============================================================================
131
+
132
+Removing Unused input sections from the image.
133
+
134
+    Removing system_stm32f10x.o(.text), (0 bytes).
135
+    Removing system_stm32f10x.o(.ARM.exidx.text.SystemInit), (8 bytes).
136
+    Removing system_stm32f10x.o(.ARM.exidx.text.SetSysClock), (8 bytes).
137
+    Removing system_stm32f10x.o(.text.SystemCoreClockUpdate), (110 bytes).
138
+    Removing system_stm32f10x.o(.ARM.exidx.text.SystemCoreClockUpdate), (8 bytes).
139
+    Removing system_stm32f10x.o(.ARM.exidx.text.SetSysClockTo72), (8 bytes).
140
+    Removing system_stm32f10x.o(.data.SystemCoreClock), (4 bytes).
141
+    Removing system_stm32f10x.o(.rodata.AHBPrescTable), (16 bytes).
142
+
143
+8 unused section(s) (total 162 bytes) removed from the image.

+ 363
- 0
Listings/Projet1_Simulation.map View File

@@ -0,0 +1,363 @@
1
+Component: ARM Compiler 5.06 update 7 (build 960) Tool: armlink [4d3601]
2
+
3
+==============================================================================
4
+
5
+Section Cross References
6
+
7
+    prinicpal.o(i.main) refers to mytimer.o(i.MyTimer_Base_Init) for MyTimer_Base_Init
8
+    prinicpal.o(i.main) refers to mytimer.o(i.MyTimer_PWM) for MyTimer_PWM
9
+    prinicpal.o(i.main) refers to mytimer.o(i.MyTimer_Base_Start) for MyTimer_Base_Start
10
+    prinicpal.o(i.main) refers to mytimer.o(i.Set_PWM_PRCT) for Set_PWM_PRCT
11
+    mytimer.o(i.MyTimer_ActiveIT) refers to mytimer.o(.data) for ptr1
12
+    mytimer.o(i.MyTimer_PWM) refers to driver_gpio.o(i.MyGPIO_Init) for MyGPIO_Init
13
+    mytimer.o(i.TIM1_UP_IRQHandler) refers to mytimer.o(.data) for ptr1
14
+    mytimer.o(i.TIM2_IRQHandler) refers to mytimer.o(.data) for ptr2
15
+    mytimer.o(i.TIM3_IRQHandler) refers to mytimer.o(.data) for ptr3
16
+    mytimer.o(i.TIM4_IRQHandler) refers to mytimer.o(.data) for ptr4
17
+    startup_stm32f10x_md.o(RESET) refers to startup_stm32f10x_md.o(STACK) for __initial_sp
18
+    startup_stm32f10x_md.o(RESET) refers to startup_stm32f10x_md.o(.text) for Reset_Handler
19
+    startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM1_UP_IRQHandler) for TIM1_UP_IRQHandler
20
+    startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM2_IRQHandler) for TIM2_IRQHandler
21
+    startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM3_IRQHandler) for TIM3_IRQHandler
22
+    startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM4_IRQHandler) for TIM4_IRQHandler
23
+    startup_stm32f10x_md.o(.text) refers to system_stm32f10x.o(i.SystemInit) for SystemInit
24
+    startup_stm32f10x_md.o(.text) refers to entry.o(.ARM.Collect$$$$00000000) for __main
25
+    system_stm32f10x.o(i.SetSysClock) refers to system_stm32f10x.o(i.SetSysClockTo72) for SetSysClockTo72
26
+    system_stm32f10x.o(i.SystemCoreClockUpdate) refers to system_stm32f10x.o(.data) for SystemCoreClock
27
+    system_stm32f10x.o(i.SystemInit) refers to system_stm32f10x.o(i.SetSysClock) for SetSysClock
28
+    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry10a.o(.ARM.Collect$$$$0000000F) for __rt_final_cpp
29
+    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry11a.o(.ARM.Collect$$$$00000011) for __rt_final_exit
30
+    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry12b.o(.ARM.Collect$$$$0000000E) for __rt_lib_shutdown_fini
31
+    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry7b.o(.ARM.Collect$$$$00000008) for _main_clock
32
+    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry8b.o(.ARM.Collect$$$$0000000A) for _main_cpp_init
33
+    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry9a.o(.ARM.Collect$$$$0000000B) for _main_init
34
+    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry5.o(.ARM.Collect$$$$00000004) for _main_scatterload
35
+    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry2.o(.ARM.Collect$$$$00000001) for _main_stk
36
+    entry2.o(.ARM.Collect$$$$00000001) refers to entry2.o(.ARM.Collect$$$$00002712) for __lit__00000000
37
+    entry2.o(.ARM.Collect$$$$00002712) refers to startup_stm32f10x_md.o(STACK) for __initial_sp
38
+    entry2.o(__vectab_stack_and_reset_area) refers to startup_stm32f10x_md.o(STACK) for __initial_sp
39
+    entry2.o(__vectab_stack_and_reset_area) refers to entry.o(.ARM.Collect$$$$00000000) for __main
40
+    entry5.o(.ARM.Collect$$$$00000004) refers to init.o(.text) for __scatterload
41
+    entry9a.o(.ARM.Collect$$$$0000000B) refers to prinicpal.o(i.main) for main
42
+    entry9b.o(.ARM.Collect$$$$0000000C) refers to prinicpal.o(i.main) for main
43
+    init.o(.text) refers to entry5.o(.ARM.Collect$$$$00000004) for __main_after_scatterload
44
+
45
+
46
+==============================================================================
47
+
48
+Removing Unused input sections from the image.
49
+
50
+    Removing prinicpal.o(.rev16_text), (4 bytes).
51
+    Removing prinicpal.o(.revsh_text), (4 bytes).
52
+    Removing prinicpal.o(.rrx_text), (6 bytes).
53
+    Removing driver_gpio.o(.rev16_text), (4 bytes).
54
+    Removing driver_gpio.o(.revsh_text), (4 bytes).
55
+    Removing driver_gpio.o(.rrx_text), (6 bytes).
56
+    Removing driver_gpio.o(i.MyGPIO_Read), (12 bytes).
57
+    Removing driver_gpio.o(i.MyGPIO_Reset), (14 bytes).
58
+    Removing driver_gpio.o(i.MyGPIO_Set), (12 bytes).
59
+    Removing driver_gpio.o(i.MyGPIO_Toggle), (12 bytes).
60
+    Removing mytimer.o(.rev16_text), (4 bytes).
61
+    Removing mytimer.o(.revsh_text), (4 bytes).
62
+    Removing mytimer.o(.rrx_text), (6 bytes).
63
+    Removing mytimer.o(i.MyTimer_ActiveIT), (176 bytes).
64
+    Removing mytimer.o(i.MyTimer_Base_Stop), (10 bytes).
65
+    Removing startup_stm32f10x_md.o(HEAP), (512 bytes).
66
+    Removing system_stm32f10x.o(.rev16_text), (4 bytes).
67
+    Removing system_stm32f10x.o(.revsh_text), (4 bytes).
68
+    Removing system_stm32f10x.o(.rrx_text), (6 bytes).
69
+    Removing system_stm32f10x.o(i.SystemCoreClockUpdate), (164 bytes).
70
+    Removing system_stm32f10x.o(.data), (20 bytes).
71
+
72
+21 unused section(s) (total 988 bytes) removed from the image.
73
+
74
+==============================================================================
75
+
76
+Image Symbol Table
77
+
78
+    Local Symbols
79
+
80
+    Symbol Name                              Value     Ov Type        Size  Object(Section)
81
+
82
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry9a.o ABSOLUTE
83
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry7a.o ABSOLUTE
84
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry8b.o ABSOLUTE
85
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry12b.o ABSOLUTE
86
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry8a.o ABSOLUTE
87
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry7b.o ABSOLUTE
88
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry5.o ABSOLUTE
89
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry.o ABSOLUTE
90
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry2.o ABSOLUTE
91
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry12a.o ABSOLUTE
92
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry11b.o ABSOLUTE
93
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry11a.o ABSOLUTE
94
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry10b.o ABSOLUTE
95
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry10a.o ABSOLUTE
96
+    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry9b.o ABSOLUTE
97
+    FileInclude\MyTimer.c                    0x00000000   Number         0  mytimer.o ABSOLUTE
98
+    FileInclude\\MyTimer.c                   0x00000000   Number         0  mytimer.o ABSOLUTE
99
+    RTE\Device\STM32F103RB\startup_stm32f10x_md.s 0x00000000   Number         0  startup_stm32f10x_md.o ABSOLUTE
100
+    RTE\Device\STM32F103RB\system_stm32f10x.c 0x00000000   Number         0  system_stm32f10x.o ABSOLUTE
101
+    RTE\\Device\\STM32F103RB\\system_stm32f10x.c 0x00000000   Number         0  system_stm32f10x.o ABSOLUTE
102
+    Sources\\prinicpal.c                     0x00000000   Number         0  prinicpal.o ABSOLUTE
103
+    Sources\prinicpal.c                      0x00000000   Number         0  prinicpal.o ABSOLUTE
104
+    U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c 0x00000000   Number         0  driver_gpio.o ABSOLUTE
105
+    U:\\Documents\\4ir\\S1\\Microcontroleur\\Drivers\\FileInclude\\Driver_GPIO.c 0x00000000   Number         0  driver_gpio.o ABSOLUTE
106
+    dc.s                                     0x00000000   Number         0  dc.o ABSOLUTE
107
+    handlers.s                               0x00000000   Number         0  handlers.o ABSOLUTE
108
+    init.s                                   0x00000000   Number         0  init.o ABSOLUTE
109
+    RESET                                    0x08000000   Section      236  startup_stm32f10x_md.o(RESET)
110
+    .ARM.Collect$$$$00000000                 0x080000ec   Section        0  entry.o(.ARM.Collect$$$$00000000)
111
+    .ARM.Collect$$$$00000001                 0x080000ec   Section        4  entry2.o(.ARM.Collect$$$$00000001)
112
+    .ARM.Collect$$$$00000004                 0x080000f0   Section        4  entry5.o(.ARM.Collect$$$$00000004)
113
+    .ARM.Collect$$$$00000008                 0x080000f4   Section        0  entry7b.o(.ARM.Collect$$$$00000008)
114
+    .ARM.Collect$$$$0000000A                 0x080000f4   Section        0  entry8b.o(.ARM.Collect$$$$0000000A)
115
+    .ARM.Collect$$$$0000000B                 0x080000f4   Section        8  entry9a.o(.ARM.Collect$$$$0000000B)
116
+    .ARM.Collect$$$$0000000E                 0x080000fc   Section        4  entry12b.o(.ARM.Collect$$$$0000000E)
117
+    .ARM.Collect$$$$0000000F                 0x08000100   Section        0  entry10a.o(.ARM.Collect$$$$0000000F)
118
+    .ARM.Collect$$$$00000011                 0x08000100   Section        0  entry11a.o(.ARM.Collect$$$$00000011)
119
+    .ARM.Collect$$$$00002712                 0x08000100   Section        4  entry2.o(.ARM.Collect$$$$00002712)
120
+    __lit__00000000                          0x08000100   Data           4  entry2.o(.ARM.Collect$$$$00002712)
121
+    .text                                    0x08000104   Section       36  startup_stm32f10x_md.o(.text)
122
+    .text                                    0x08000128   Section       36  init.o(.text)
123
+    i.MyGPIO_Init                            0x0800014c   Section        0  driver_gpio.o(i.MyGPIO_Init)
124
+    i.MyTimer_Base_Init                      0x08000200   Section        0  mytimer.o(i.MyTimer_Base_Init)
125
+    i.MyTimer_Base_Start                     0x0800026c   Section        0  mytimer.o(i.MyTimer_Base_Start)
126
+    i.MyTimer_PWM                            0x08000278   Section        0  mytimer.o(i.MyTimer_PWM)
127
+    i.SetSysClock                            0x08000448   Section        0  system_stm32f10x.o(i.SetSysClock)
128
+    SetSysClock                              0x08000449   Thumb Code     8  system_stm32f10x.o(i.SetSysClock)
129
+    i.SetSysClockTo72                        0x08000450   Section        0  system_stm32f10x.o(i.SetSysClockTo72)
130
+    SetSysClockTo72                          0x08000451   Thumb Code   214  system_stm32f10x.o(i.SetSysClockTo72)
131
+    i.Set_PWM_PRCT                           0x08000530   Section        0  mytimer.o(i.Set_PWM_PRCT)
132
+    i.SystemInit                             0x08000568   Section        0  system_stm32f10x.o(i.SystemInit)
133
+    i.TIM1_UP_IRQHandler                     0x080005c8   Section        0  mytimer.o(i.TIM1_UP_IRQHandler)
134
+    i.TIM2_IRQHandler                        0x080005ec   Section        0  mytimer.o(i.TIM2_IRQHandler)
135
+    i.TIM3_IRQHandler                        0x08000610   Section        0  mytimer.o(i.TIM3_IRQHandler)
136
+    i.TIM4_IRQHandler                        0x08000634   Section        0  mytimer.o(i.TIM4_IRQHandler)
137
+    i.__scatterload_copy                     0x08000658   Section       14  handlers.o(i.__scatterload_copy)
138
+    i.__scatterload_null                     0x08000666   Section        2  handlers.o(i.__scatterload_null)
139
+    i.__scatterload_zeroinit                 0x08000668   Section       14  handlers.o(i.__scatterload_zeroinit)
140
+    i.main                                   0x08000676   Section        0  prinicpal.o(i.main)
141
+    .data                                    0x20000000   Section       16  mytimer.o(.data)
142
+    STACK                                    0x20000010   Section     1024  startup_stm32f10x_md.o(STACK)
143
+
144
+    Global Symbols
145
+
146
+    Symbol Name                              Value     Ov Type        Size  Object(Section)
147
+
148
+    BuildAttributes$$THM_ISAv4$P$D$K$B$S$PE$A:L22UL41UL21$X:L11$S22US41US21$IEEE1$IW$USESV6$~STKCKD$USESV7$~SHL$OSPACE$EBA8$MICROLIB$REQ8$PRES8$EABIv2 0x00000000   Number         0  anon$$obj.o ABSOLUTE
149
+    __ARM_use_no_argv                        0x00000000   Number         0  prinicpal.o ABSOLUTE
150
+    __arm_fini_                               - Undefined Weak Reference
151
+    __cpp_initialize__aeabi_                  - Undefined Weak Reference
152
+    __cxa_finalize                            - Undefined Weak Reference
153
+    __decompress                              - Undefined Weak Reference
154
+    _clock_init                               - Undefined Weak Reference
155
+    _microlib_exit                            - Undefined Weak Reference
156
+    __Vectors_Size                           0x000000ec   Number         0  startup_stm32f10x_md.o ABSOLUTE
157
+    __Vectors                                0x08000000   Data           4  startup_stm32f10x_md.o(RESET)
158
+    __Vectors_End                            0x080000ec   Data           0  startup_stm32f10x_md.o(RESET)
159
+    __main                                   0x080000ed   Thumb Code     0  entry.o(.ARM.Collect$$$$00000000)
160
+    _main_stk                                0x080000ed   Thumb Code     0  entry2.o(.ARM.Collect$$$$00000001)
161
+    _main_scatterload                        0x080000f1   Thumb Code     0  entry5.o(.ARM.Collect$$$$00000004)
162
+    __main_after_scatterload                 0x080000f5   Thumb Code     0  entry5.o(.ARM.Collect$$$$00000004)
163
+    _main_clock                              0x080000f5   Thumb Code     0  entry7b.o(.ARM.Collect$$$$00000008)
164
+    _main_cpp_init                           0x080000f5   Thumb Code     0  entry8b.o(.ARM.Collect$$$$0000000A)
165
+    _main_init                               0x080000f5   Thumb Code     0  entry9a.o(.ARM.Collect$$$$0000000B)
166
+    __rt_lib_shutdown_fini                   0x080000fd   Thumb Code     0  entry12b.o(.ARM.Collect$$$$0000000E)
167
+    __rt_final_cpp                           0x08000101   Thumb Code     0  entry10a.o(.ARM.Collect$$$$0000000F)
168
+    __rt_final_exit                          0x08000101   Thumb Code     0  entry11a.o(.ARM.Collect$$$$00000011)
169
+    Reset_Handler                            0x08000105   Thumb Code     8  startup_stm32f10x_md.o(.text)
170
+    NMI_Handler                              0x0800010d   Thumb Code     2  startup_stm32f10x_md.o(.text)
171
+    HardFault_Handler                        0x0800010f   Thumb Code     2  startup_stm32f10x_md.o(.text)
172
+    MemManage_Handler                        0x08000111   Thumb Code     2  startup_stm32f10x_md.o(.text)
173
+    BusFault_Handler                         0x08000113   Thumb Code     2  startup_stm32f10x_md.o(.text)
174
+    UsageFault_Handler                       0x08000115   Thumb Code     2  startup_stm32f10x_md.o(.text)
175
+    SVC_Handler                              0x08000117   Thumb Code     2  startup_stm32f10x_md.o(.text)
176
+    DebugMon_Handler                         0x08000119   Thumb Code     2  startup_stm32f10x_md.o(.text)
177
+    PendSV_Handler                           0x0800011b   Thumb Code     2  startup_stm32f10x_md.o(.text)
178
+    SysTick_Handler                          0x0800011d   Thumb Code     2  startup_stm32f10x_md.o(.text)
179
+    ADC1_2_IRQHandler                        0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
180
+    CAN1_RX1_IRQHandler                      0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
181
+    CAN1_SCE_IRQHandler                      0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
182
+    DMA1_Channel1_IRQHandler                 0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
183
+    DMA1_Channel2_IRQHandler                 0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
184
+    DMA1_Channel3_IRQHandler                 0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
185
+    DMA1_Channel4_IRQHandler                 0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
186
+    DMA1_Channel5_IRQHandler                 0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
187
+    DMA1_Channel6_IRQHandler                 0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
188
+    DMA1_Channel7_IRQHandler                 0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
189
+    EXTI0_IRQHandler                         0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
190
+    EXTI15_10_IRQHandler                     0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
191
+    EXTI1_IRQHandler                         0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
192
+    EXTI2_IRQHandler                         0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
193
+    EXTI3_IRQHandler                         0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
194
+    EXTI4_IRQHandler                         0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
195
+    EXTI9_5_IRQHandler                       0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
196
+    FLASH_IRQHandler                         0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
197
+    I2C1_ER_IRQHandler                       0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
198
+    I2C1_EV_IRQHandler                       0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
199
+    I2C2_ER_IRQHandler                       0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
200
+    I2C2_EV_IRQHandler                       0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
201
+    PVD_IRQHandler                           0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
202
+    RCC_IRQHandler                           0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
203
+    RTCAlarm_IRQHandler                      0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
204
+    RTC_IRQHandler                           0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
205
+    SPI1_IRQHandler                          0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
206
+    SPI2_IRQHandler                          0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
207
+    TAMPER_IRQHandler                        0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
208
+    TIM1_BRK_IRQHandler                      0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
209
+    TIM1_CC_IRQHandler                       0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
210
+    TIM1_TRG_COM_IRQHandler                  0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
211
+    USART1_IRQHandler                        0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
212
+    USART2_IRQHandler                        0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
213
+    USART3_IRQHandler                        0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
214
+    USBWakeUp_IRQHandler                     0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
215
+    USB_HP_CAN1_TX_IRQHandler                0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
216
+    USB_LP_CAN1_RX0_IRQHandler               0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
217
+    WWDG_IRQHandler                          0x0800011f   Thumb Code     0  startup_stm32f10x_md.o(.text)
218
+    __scatterload                            0x08000129   Thumb Code    28  init.o(.text)
219
+    __scatterload_rt2                        0x08000129   Thumb Code     0  init.o(.text)
220
+    MyGPIO_Init                              0x0800014d   Thumb Code   166  driver_gpio.o(i.MyGPIO_Init)
221
+    MyTimer_Base_Init                        0x08000201   Thumb Code    98  mytimer.o(i.MyTimer_Base_Init)
222
+    MyTimer_Base_Start                       0x0800026d   Thumb Code    10  mytimer.o(i.MyTimer_Base_Start)
223
+    MyTimer_PWM                              0x08000279   Thumb Code   448  mytimer.o(i.MyTimer_PWM)
224
+    Set_PWM_PRCT                             0x08000531   Thumb Code    56  mytimer.o(i.Set_PWM_PRCT)
225
+    SystemInit                               0x08000569   Thumb Code    78  system_stm32f10x.o(i.SystemInit)
226
+    TIM1_UP_IRQHandler                       0x080005c9   Thumb Code    28  mytimer.o(i.TIM1_UP_IRQHandler)
227
+    TIM2_IRQHandler                          0x080005ed   Thumb Code    32  mytimer.o(i.TIM2_IRQHandler)
228
+    TIM3_IRQHandler                          0x08000611   Thumb Code    28  mytimer.o(i.TIM3_IRQHandler)
229
+    TIM4_IRQHandler                          0x08000635   Thumb Code    28  mytimer.o(i.TIM4_IRQHandler)
230
+    __scatterload_copy                       0x08000659   Thumb Code    14  handlers.o(i.__scatterload_copy)
231
+    __scatterload_null                       0x08000667   Thumb Code     2  handlers.o(i.__scatterload_null)
232
+    __scatterload_zeroinit                   0x08000669   Thumb Code    14  handlers.o(i.__scatterload_zeroinit)
233
+    main                                     0x08000677   Thumb Code    56  prinicpal.o(i.main)
234
+    Region$$Table$$Base                      0x080006b0   Number         0  anon$$obj.o(Region$$Table)
235
+    Region$$Table$$Limit                     0x080006d0   Number         0  anon$$obj.o(Region$$Table)
236
+    ptr1                                     0x20000000   Data           4  mytimer.o(.data)
237
+    ptr2                                     0x20000004   Data           4  mytimer.o(.data)
238
+    ptr3                                     0x20000008   Data           4  mytimer.o(.data)
239
+    ptr4                                     0x2000000c   Data           4  mytimer.o(.data)
240
+    __initial_sp                             0x20000410   Data           0  startup_stm32f10x_md.o(STACK)
241
+
242
+
243
+
244
+==============================================================================
245
+
246
+Memory Map of the image
247
+
248
+  Image Entry point : 0x080000ed
249
+
250
+  Load Region LR_IROM1 (Base: 0x08000000, Size: 0x000006e0, Max: 0x00020000, ABSOLUTE)
251
+
252
+    Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x000006d0, Max: 0x00020000, ABSOLUTE)
253
+
254
+    Exec Addr    Load Addr    Size         Type   Attr      Idx    E Section Name        Object
255
+
256
+    0x08000000   0x08000000   0x000000ec   Data   RO          200    RESET               startup_stm32f10x_md.o
257
+    0x080000ec   0x080000ec   0x00000000   Code   RO          251  * .ARM.Collect$$$$00000000  mc_w.l(entry.o)
258
+    0x080000ec   0x080000ec   0x00000004   Code   RO          254    .ARM.Collect$$$$00000001  mc_w.l(entry2.o)
259
+    0x080000f0   0x080000f0   0x00000004   Code   RO          257    .ARM.Collect$$$$00000004  mc_w.l(entry5.o)
260
+    0x080000f4   0x080000f4   0x00000000   Code   RO          259    .ARM.Collect$$$$00000008  mc_w.l(entry7b.o)
261
+    0x080000f4   0x080000f4   0x00000000   Code   RO          261    .ARM.Collect$$$$0000000A  mc_w.l(entry8b.o)
262
+    0x080000f4   0x080000f4   0x00000008   Code   RO          262    .ARM.Collect$$$$0000000B  mc_w.l(entry9a.o)
263
+    0x080000fc   0x080000fc   0x00000004   Code   RO          269    .ARM.Collect$$$$0000000E  mc_w.l(entry12b.o)
264
+    0x08000100   0x08000100   0x00000000   Code   RO          264    .ARM.Collect$$$$0000000F  mc_w.l(entry10a.o)
265
+    0x08000100   0x08000100   0x00000000   Code   RO          266    .ARM.Collect$$$$00000011  mc_w.l(entry11a.o)
266
+    0x08000100   0x08000100   0x00000004   Code   RO          255    .ARM.Collect$$$$00002712  mc_w.l(entry2.o)
267
+    0x08000104   0x08000104   0x00000024   Code   RO          201    .text               startup_stm32f10x_md.o
268
+    0x08000128   0x08000128   0x00000024   Code   RO          270    .text               mc_w.l(init.o)
269
+    0x0800014c   0x0800014c   0x000000b4   Code   RO           63    i.MyGPIO_Init       driver_gpio.o
270
+    0x08000200   0x08000200   0x0000006c   Code   RO          115    i.MyTimer_Base_Init  mytimer.o
271
+    0x0800026c   0x0800026c   0x0000000a   Code   RO          116    i.MyTimer_Base_Start  mytimer.o
272
+    0x08000276   0x08000276   0x00000002   PAD
273
+    0x08000278   0x08000278   0x000001d0   Code   RO          118    i.MyTimer_PWM       mytimer.o
274
+    0x08000448   0x08000448   0x00000008   Code   RO          208    i.SetSysClock       system_stm32f10x.o
275
+    0x08000450   0x08000450   0x000000e0   Code   RO          209    i.SetSysClockTo72   system_stm32f10x.o
276
+    0x08000530   0x08000530   0x00000038   Code   RO          119    i.Set_PWM_PRCT      mytimer.o
277
+    0x08000568   0x08000568   0x00000060   Code   RO          211    i.SystemInit        system_stm32f10x.o
278
+    0x080005c8   0x080005c8   0x00000024   Code   RO          120    i.TIM1_UP_IRQHandler  mytimer.o
279
+    0x080005ec   0x080005ec   0x00000024   Code   RO          121    i.TIM2_IRQHandler   mytimer.o
280
+    0x08000610   0x08000610   0x00000024   Code   RO          122    i.TIM3_IRQHandler   mytimer.o
281
+    0x08000634   0x08000634   0x00000024   Code   RO          123    i.TIM4_IRQHandler   mytimer.o
282
+    0x08000658   0x08000658   0x0000000e   Code   RO          274    i.__scatterload_copy  mc_w.l(handlers.o)
283
+    0x08000666   0x08000666   0x00000002   Code   RO          275    i.__scatterload_null  mc_w.l(handlers.o)
284
+    0x08000668   0x08000668   0x0000000e   Code   RO          276    i.__scatterload_zeroinit  mc_w.l(handlers.o)
285
+    0x08000676   0x08000676   0x00000038   Code   RO            4    i.main              prinicpal.o
286
+    0x080006ae   0x080006ae   0x00000002   PAD
287
+    0x080006b0   0x080006b0   0x00000020   Data   RO          272    Region$$Table       anon$$obj.o
288
+
289
+
290
+    Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x080006d0, Size: 0x00000410, Max: 0x00005000, ABSOLUTE)
291
+
292
+    Exec Addr    Load Addr    Size         Type   Attr      Idx    E Section Name        Object
293
+
294
+    0x20000000   0x080006d0   0x00000010   Data   RW          124    .data               mytimer.o
295
+    0x20000010        -       0x00000400   Zero   RW          198    STACK               startup_stm32f10x_md.o
296
+
297
+
298
+==============================================================================
299
+
300
+Image component sizes
301
+
302
+
303
+      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   Object Name
304
+
305
+       180         14          0          0          0       1658   driver_gpio.o
306
+       782         54          0         16          0       5979   mytimer.o
307
+        56          0          0          0          0     207723   prinicpal.o
308
+        36          8        236          0       1024        804   startup_stm32f10x_md.o
309
+       328         28          0          0          0       1949   system_stm32f10x.o
310
+
311
+    ----------------------------------------------------------------------
312
+      1386        104        268         16       1024     218113   Object Totals
313
+         0          0         32          0          0          0   (incl. Generated)
314
+         4          0          0          0          0          0   (incl. Padding)
315
+
316
+    ----------------------------------------------------------------------
317
+
318
+      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   Library Member Name
319
+
320
+         0          0          0          0          0          0   entry.o
321
+         0          0          0          0          0          0   entry10a.o
322
+         0          0          0          0          0          0   entry11a.o
323
+         4          0          0          0          0          0   entry12b.o
324
+         8          4          0          0          0          0   entry2.o
325
+         4          0          0          0          0          0   entry5.o
326
+         0          0          0          0          0          0   entry7b.o
327
+         0          0          0          0          0          0   entry8b.o
328
+         8          4          0          0          0          0   entry9a.o
329
+        30          0          0          0          0          0   handlers.o
330
+        36          8          0          0          0         68   init.o
331
+
332
+    ----------------------------------------------------------------------
333
+        90         16          0          0          0         68   Library Totals
334
+         0          0          0          0          0          0   (incl. Padding)
335
+
336
+    ----------------------------------------------------------------------
337
+
338
+      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   Library Name
339
+
340
+        90         16          0          0          0         68   mc_w.l
341
+
342
+    ----------------------------------------------------------------------
343
+        90         16          0          0          0         68   Library Totals
344
+
345
+    ----------------------------------------------------------------------
346
+
347
+==============================================================================
348
+
349
+
350
+      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   
351
+
352
+      1476        120        268         16       1024     217761   Grand Totals
353
+      1476        120        268         16       1024     217761   ELF Image Totals
354
+      1476        120        268         16          0          0   ROM Totals
355
+
356
+==============================================================================
357
+
358
+    Total RO  Size (Code + RO Data)                 1744 (   1.70kB)
359
+    Total RW  Size (RW Data + ZI Data)              1040 (   1.02kB)
360
+    Total ROM Size (Code + RO Data + RW Data)       1760 (   1.72kB)
361
+
362
+==============================================================================
363
+

+ 1180
- 0
Listings/startup_stm32f10x_md.lst
File diff suppressed because it is too large
View File


+ 2
- 0
Objects/ExtDll.iex View File

@@ -0,0 +1,2 @@
1
+[EXTDLL]
2
+Count=0

+ 79
- 0
Objects/Projet1.build_log.htm View File

@@ -0,0 +1,79 @@
1
+<html>
2
+<body>
3
+<pre>
4
+<h1>µVision Build Log</h1>
5
+<h2>Tool Versions:</h2>
6
+IDE-Version: µVision V5.34.0.0
7
+Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.
8
+License Information: CSN CSN, INSA de Toulouse, LIC=----
9
+ 
10
+Tool Versions:
11
+Toolchain:       MDK-Lite  Version: 5.34.0.0
12
+Toolchain Path:  C:\Keil_v5\ARM\ARMCLANG\Bin
13
+C Compiler:      ArmClang.exe V6.16
14
+Assembler:       Armasm.exe V6.16
15
+Linker/Locator:  ArmLink.exe V6.16
16
+Library Manager: ArmAr.exe V6.16
17
+Hex Converter:   FromElf.exe V6.16
18
+CPU DLL:         SARMCM3.DLL V5.34.0.0
19
+Dialog DLL:      DARMSTM.DLL V1.68.0.0
20
+Target DLL:      UL2CM3.DLL V1.163.9.0
21
+Dialog DLL:      TARMSTM.DLL V1.66.0.0
22
+ 
23
+<h2>Project:</h2>
24
+U:\Documents\4MIC\S1\Microcontroleur\Activite1\Projet1.uvprojx
25
+Project File Date:  09/19/2022
26
+
27
+<h2>Output:</h2>
28
+*** Using Compiler 'V6.16', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
29
+Build target 'Target 1'
30
+assembling startup_stm32f10x_md.s...
31
+RTE/Device/STM32F103RB/system_stm32f10x.c(167): warning: no previous extern declaration for non-static variable 'AHBPrescTable' [-Wmissing-variable-declarations]
32
+__I uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
33
+            ^
34
+RTE/Device/STM32F103RB/system_stm32f10x.c(167): note: declare 'static' if the variable is not intended to be used outside of this translation unit
35
+__I uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
36
+    ^
37
+1 warning generated.
38
+compiling system_stm32f10x.c...
39
+linking...
40
+.\Objects\Projet1.axf: Error: L6218E: Undefined symbol main (referred from __rtentry2.o).
41
+Not enough information to list image symbols.
42
+Not enough information to list load addresses in the image map.
43
+Finished: 2 information, 0 warning and 1 error messages.
44
+".\Objects\Projet1.axf" - 1 Error(s), 1 Warning(s).
45
+
46
+<h2>Software Packages used:</h2>
47
+
48
+Package Vendor: ARM
49
+                http://www.keil.com/pack/ARM.CMSIS.5.7.0.pack
50
+                ARM.CMSIS.5.7.0
51
+                CMSIS (Cortex Microcontroller Software Interface Standard)
52
+   * Component: CORE Version: 5.4.0
53
+
54
+Package Vendor: Keil
55
+                http://www.keil.com/pack/Keil.STM32F1xx_DFP.2.3.0.pack
56
+                Keil.STM32F1xx_DFP.2.3.0
57
+                STMicroelectronics STM32F1 Series Device Support, Drivers and Examples
58
+   * Component: Startup Version: 1.0.0
59
+
60
+<h2>Collection of Component include folders:</h2>
61
+  .\RTE\Device\STM32F103RB
62
+  .\RTE\_Target_1
63
+  C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include
64
+  C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
65
+
66
+<h2>Collection of Component Files used:</h2>
67
+
68
+   * Component: ARM::CMSIS:CORE:5.4.0
69
+
70
+   * Component: Keil::Device:Startup:1.0.0
71
+      Source file:   Device\Source\system_stm32f10x.c
72
+      Include file:  RTE_Driver\Config\RTE_Device.h
73
+      Source file:   Device\Source\ARM\STM32F1xx_OPT.s
74
+      Source file:   Device\Source\ARM\startup_stm32f10x_md.s
75
+Target not created.
76
+Build Time Elapsed:  00:00:01
77
+</pre>
78
+</body>
79
+</html>

+ 6
- 0
Objects/Projet1.lnp View File

@@ -0,0 +1,6 @@
1
+--cpu Cortex-M3
2
+".\objects\startup_stm32f10x_md.o"
3
+".\objects\system_stm32f10x.o"
4
+--ro-base 0x08000000 --entry 0x08000000 --rw-base 0x20000000 --entry Reset_Handler --first __Vectors --strict --summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
5
+--info sizes --info totals --info unused --info veneers
6
+--list ".\Listings\Projet1.map" -o .\Objects\Projet1.axf

+ 46
- 0
Objects/Projet1_Réel.dep View File

@@ -0,0 +1,46 @@
1
+Dependencies for Project 'Projet1', Target 'Réel': (DO NOT MODIFY !)
2
+CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
3
+F (.\Sources\prinicpal.c)(0x6340254D)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude

-I.\RTE\Device\STM32F103RB

-I.\RTE\_R_el

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

-D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_

-o .\objects\prinicpal.o --omf_browse .\objects\prinicpal.crf --depend .\objects\prinicpal.d)
4
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
5
+I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
6
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
7
+I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
8
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
9
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
10
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
11
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
12
+I (.\FileInclude\Driver_GPIO.h)(0x63315001)
13
+I (.\FileInclude\MyTimer.h)(0x6340244A)
14
+F (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c)(0x633153E6)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude

-I.\RTE\Device\STM32F103RB

-I.\RTE\_R_el

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

-D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_

-o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
15
+I (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.h)(0x63315001)
16
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
17
+I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
18
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
19
+I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
20
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
21
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
22
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
23
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
24
+F (.\FileInclude\MyTimer.c)(0x63402350)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude

-I.\RTE\Device\STM32F103RB

-I.\RTE\_R_el

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

-D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_

-o .\objects\mytimer.o --omf_browse .\objects\mytimer.crf --depend .\objects\mytimer.d)
25
+I (FileInclude\MyTimer.h)(0x6340244A)
26
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
27
+I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
28
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
29
+I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
30
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
31
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
32
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
33
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
34
+I (FileInclude\Driver_GPIO.h)(0x63315001)
35
+F (.\FileInclude\MyTimer.h)(0x6340244A)()
36
+F (RTE\Device\STM32F103RB\RTE_Device.h)(0x59283406)()
37
+F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x58258CCC)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1"

-I.\RTE\Device\STM32F103RB

-I.\RTE\_R_el

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

--pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1"

--list .\listings\startup_stm32f10x_md.lst --xref -o .\objects\startup_stm32f10x_md.o --depend .\objects\startup_stm32f10x_md.d)
38
+F (RTE\Device\STM32F103RB\system_stm32f10x.c)(0x58258CCC)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude

-I.\RTE\Device\STM32F103RB

-I.\RTE\_R_el

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

-D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_

-o .\objects\system_stm32f10x.o --omf_browse .\objects\system_stm32f10x.crf --depend .\objects\system_stm32f10x.d)
39
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
40
+I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
41
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
42
+I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
43
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
44
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
45
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
46
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)

+ 46
- 0
Objects/Projet1_SImulation.dep View File

@@ -0,0 +1,46 @@
1
+Dependencies for Project 'Projet1', Target 'SImulation': (DO NOT MODIFY !)
2
+CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
3
+F (.\Sources\prinicpal.c)(0x63402527)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude

-I.\RTE\Device\STM32F103RB

-I.\RTE\_SImulation

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

-D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_

-o .\objects\prinicpal.o --omf_browse .\objects\prinicpal.crf --depend .\objects\prinicpal.d)
4
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
5
+I (.\RTE\_SImulation\RTE_Components.h)(0x63284DB0)
6
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
7
+I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
8
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
9
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
10
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
11
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
12
+I (.\FileInclude\Driver_GPIO.h)(0x63315001)
13
+I (.\FileInclude\MyTimer.h)(0x6340244A)
14
+F (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c)(0x633153E6)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude

-I.\RTE\Device\STM32F103RB

-I.\RTE\_SImulation

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

-D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_

-o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
15
+I (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.h)(0x63315001)
16
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
17
+I (.\RTE\_SImulation\RTE_Components.h)(0x63284DB0)
18
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
19
+I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
20
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
21
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
22
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
23
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
24
+F (.\FileInclude\MyTimer.c)(0x63402350)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude

-I.\RTE\Device\STM32F103RB

-I.\RTE\_SImulation

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

-D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_

-o .\objects\mytimer.o --omf_browse .\objects\mytimer.crf --depend .\objects\mytimer.d)
25
+I (FileInclude\MyTimer.h)(0x6340244A)
26
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
27
+I (.\RTE\_SImulation\RTE_Components.h)(0x63284DB0)
28
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
29
+I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
30
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
31
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
32
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
33
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
34
+I (FileInclude\Driver_GPIO.h)(0x63315001)
35
+F (.\FileInclude\MyTimer.h)(0x6340244A)()
36
+F (RTE\Device\STM32F103RB\RTE_Device.h)(0x59283406)()
37
+F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x58258CCC)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1"

-I.\RTE\Device\STM32F103RB

-I.\RTE\_SImulation

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

--pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1"

--list .\listings\startup_stm32f10x_md.lst --xref -o .\objects\startup_stm32f10x_md.o --depend .\objects\startup_stm32f10x_md.d)
38
+F (RTE\Device\STM32F103RB\system_stm32f10x.c)(0x58258CCC)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude

-I.\RTE\Device\STM32F103RB

-I.\RTE\_SImulation

-IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include

-IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

-D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_

-o .\objects\system_stm32f10x.o --omf_browse .\objects\system_stm32f10x.crf --depend .\objects\system_stm32f10x.d)
39
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
40
+I (.\RTE\_SImulation\RTE_Components.h)(0x63284DB0)
41
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
42
+I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
43
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
44
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
45
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
46
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)

BIN
Objects/Projet1_Simulation.axf View File


+ 71
- 0
Objects/Projet1_Simulation.build_log.htm View File

@@ -0,0 +1,71 @@
1
+<html>
2
+<body>
3
+<pre>
4
+<h1>µVision Build Log</h1>
5
+<h2>Tool Versions:</h2>
6
+IDE-Version: µVision V5.34.0.0
7
+Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.
8
+License Information: CSN CSN, INSA de Toulouse, LIC=----
9
+ 
10
+Tool Versions:
11
+Toolchain:       MDK-Lite  Version: 5.34.0.0
12
+Toolchain Path:  C:\Keil_v5\ARM\ARMCC\Bin
13
+C Compiler:      Armcc.exe V5.06 update 7 (build 960)
14
+Assembler:       Armasm.exe V5.06 update 7 (build 960)
15
+Linker/Locator:  ArmLink.exe V5.06 update 7 (build 960)
16
+Library Manager: ArmAr.exe V5.06 update 7 (build 960)
17
+Hex Converter:   FromElf.exe V5.06 update 7 (build 960)
18
+CPU DLL:         SARMCM3.DLL V5.34.0.0
19
+Dialog DLL:      DARMSTM.DLL V1.68.0.0
20
+Target DLL:      STLink\ST-LINKIII-KEIL_SWO.dll V3.0.8.0
21
+Dialog DLL:      TARMSTM.DLL V1.66.0.0
22
+ 
23
+<h2>Project:</h2>
24
+U:\Documents\4ir\S1\Microcontroleur\Timer\Projet1.uvprojx
25
+Project File Date:  10/02/2022
26
+
27
+<h2>Output:</h2>
28
+*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
29
+Rebuild target 'Réel'
30
+assembling startup_stm32f10x_md.s...
31
+compiling Driver_GPIO.c...
32
+compiling prinicpal.c...
33
+compiling MyTimer.c...
34
+compiling system_stm32f10x.c...
35
+linking...
36
+Program Size: Code=1476 RO-data=268 RW-data=16 ZI-data=1024  
37
+".\Objects\Projet1_Simulation.axf" - 0 Error(s), 0 Warning(s).
38
+
39
+<h2>Software Packages used:</h2>
40
+
41
+Package Vendor: ARM
42
+                http://www.keil.com/pack/ARM.CMSIS.5.7.0.pack
43
+                ARM.CMSIS.5.7.0
44
+                CMSIS (Cortex Microcontroller Software Interface Standard)
45
+   * Component: CORE Version: 5.4.0
46
+
47
+Package Vendor: Keil
48
+                http://www.keil.com/pack/Keil.STM32F1xx_DFP.2.3.0.pack
49
+                Keil.STM32F1xx_DFP.2.3.0
50
+                STMicroelectronics STM32F1 Series Device Support, Drivers and Examples
51
+   * Component: Startup Version: 1.0.0
52
+
53
+<h2>Collection of Component include folders:</h2>
54
+  .\RTE\Device\STM32F103RB
55
+  .\RTE\_R_el
56
+  C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include
57
+  C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
58
+
59
+<h2>Collection of Component Files used:</h2>
60
+
61
+   * Component: ARM::CMSIS:CORE:5.4.0
62
+
63
+   * Component: Keil::Device:Startup:1.0.0
64
+      Include file:  RTE_Driver\Config\RTE_Device.h
65
+      Source file:   Device\Source\ARM\STM32F1xx_OPT.s
66
+      Source file:   Device\Source\ARM\startup_stm32f10x_md.s
67
+      Source file:   Device\Source\system_stm32f10x.c
68
+Build Time Elapsed:  00:00:01
69
+</pre>
70
+</body>
71
+</html>

+ 400
- 0
Objects/Projet1_Simulation.htm View File

@@ -0,0 +1,400 @@
1
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
+<html><head>
3
+<title>Static Call Graph - [.\Objects\Projet1_Simulation.axf]</title></head>
4
+<body><HR>
5
+<H1>Static Call Graph for image .\Objects\Projet1_Simulation.axf</H1><HR>
6
+<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Fri Oct 07 15:10:37 2022
7
+<BR><P>
8
+<H3>Maximum Stack Usage =         52 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
9
+Call chain for Maximum Stack Depth:</H3>
10
+main &rArr; MyTimer_PWM &rArr; MyGPIO_Init
11
+<P>
12
+<H3>
13
+Mutually Recursive functions
14
+</H3> <LI><a href="#[1]">NMI_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[1]">NMI_Handler</a><BR>
15
+ <LI><a href="#[2]">HardFault_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[2]">HardFault_Handler</a><BR>
16
+ <LI><a href="#[3]">MemManage_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[3]">MemManage_Handler</a><BR>
17
+ <LI><a href="#[4]">BusFault_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[4]">BusFault_Handler</a><BR>
18
+ <LI><a href="#[5]">UsageFault_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[5]">UsageFault_Handler</a><BR>
19
+ <LI><a href="#[6]">SVC_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[6]">SVC_Handler</a><BR>
20
+ <LI><a href="#[7]">DebugMon_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[7]">DebugMon_Handler</a><BR>
21
+ <LI><a href="#[8]">PendSV_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[8]">PendSV_Handler</a><BR>
22
+ <LI><a href="#[9]">SysTick_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[9]">SysTick_Handler</a><BR>
23
+ <LI><a href="#[1c]">ADC1_2_IRQHandler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[1c]">ADC1_2_IRQHandler</a><BR>
24
+</UL>
25
+<P>
26
+<H3>
27
+Function Pointers
28
+</H3><UL>
29
+ <LI><a href="#[1c]">ADC1_2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
30
+ <LI><a href="#[4]">BusFault_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
31
+ <LI><a href="#[1f]">CAN1_RX1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
32
+ <LI><a href="#[20]">CAN1_SCE_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
33
+ <LI><a href="#[15]">DMA1_Channel1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
34
+ <LI><a href="#[16]">DMA1_Channel2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
35
+ <LI><a href="#[17]">DMA1_Channel3_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
36
+ <LI><a href="#[18]">DMA1_Channel4_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
37
+ <LI><a href="#[19]">DMA1_Channel5_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
38
+ <LI><a href="#[1a]">DMA1_Channel6_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
39
+ <LI><a href="#[1b]">DMA1_Channel7_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
40
+ <LI><a href="#[7]">DebugMon_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
41
+ <LI><a href="#[10]">EXTI0_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
42
+ <LI><a href="#[32]">EXTI15_10_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
43
+ <LI><a href="#[11]">EXTI1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
44
+ <LI><a href="#[12]">EXTI2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
45
+ <LI><a href="#[13]">EXTI3_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
46
+ <LI><a href="#[14]">EXTI4_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
47
+ <LI><a href="#[21]">EXTI9_5_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
48
+ <LI><a href="#[e]">FLASH_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
49
+ <LI><a href="#[2]">HardFault_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
50
+ <LI><a href="#[2a]">I2C1_ER_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
51
+ <LI><a href="#[29]">I2C1_EV_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
52
+ <LI><a href="#[2c]">I2C2_ER_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
53
+ <LI><a href="#[2b]">I2C2_EV_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
54
+ <LI><a href="#[3]">MemManage_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
55
+ <LI><a href="#[1]">NMI_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
56
+ <LI><a href="#[b]">PVD_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
57
+ <LI><a href="#[8]">PendSV_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
58
+ <LI><a href="#[f]">RCC_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
59
+ <LI><a href="#[33]">RTCAlarm_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
60
+ <LI><a href="#[d]">RTC_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
61
+ <LI><a href="#[0]">Reset_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
62
+ <LI><a href="#[2d]">SPI1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
63
+ <LI><a href="#[2e]">SPI2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
64
+ <LI><a href="#[6]">SVC_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
65
+ <LI><a href="#[9]">SysTick_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
66
+ <LI><a href="#[36]">SystemInit</a> from system_stm32f10x.o(i.SystemInit) referenced from startup_stm32f10x_md.o(.text)
67
+ <LI><a href="#[c]">TAMPER_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
68
+ <LI><a href="#[22]">TIM1_BRK_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
69
+ <LI><a href="#[25]">TIM1_CC_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
70
+ <LI><a href="#[24]">TIM1_TRG_COM_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
71
+ <LI><a href="#[23]">TIM1_UP_IRQHandler</a> from mytimer.o(i.TIM1_UP_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
72
+ <LI><a href="#[26]">TIM2_IRQHandler</a> from mytimer.o(i.TIM2_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
73
+ <LI><a href="#[27]">TIM3_IRQHandler</a> from mytimer.o(i.TIM3_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
74
+ <LI><a href="#[28]">TIM4_IRQHandler</a> from mytimer.o(i.TIM4_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
75
+ <LI><a href="#[2f]">USART1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
76
+ <LI><a href="#[30]">USART2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
77
+ <LI><a href="#[31]">USART3_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
78
+ <LI><a href="#[34]">USBWakeUp_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
79
+ <LI><a href="#[1d]">USB_HP_CAN1_TX_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
80
+ <LI><a href="#[1e]">USB_LP_CAN1_RX0_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
81
+ <LI><a href="#[5]">UsageFault_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
82
+ <LI><a href="#[a]">WWDG_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
83
+ <LI><a href="#[37]">__main</a> from entry.o(.ARM.Collect$$$$00000000) referenced from startup_stm32f10x_md.o(.text)
84
+ <LI><a href="#[35]">main</a> from prinicpal.o(i.main) referenced from entry9a.o(.ARM.Collect$$$$0000000B)
85
+</UL>
86
+<P>
87
+<H3>
88
+Global Symbols
89
+</H3>
90
+<P><STRONG><a name="[37]"></a>__main</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
91
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(.text)
92
+</UL>
93
+<P><STRONG><a name="[42]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
94
+
95
+<P><STRONG><a name="[38]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
96
+<BR><BR>[Calls]<UL><LI><a href="#[39]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
97
+</UL>
98
+
99
+<P><STRONG><a name="[3a]"></a>__main_after_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
100
+<BR><BR>[Called By]<UL><LI><a href="#[39]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
101
+</UL>
102
+
103
+<P><STRONG><a name="[43]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
104
+
105
+<P><STRONG><a name="[44]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
106
+
107
+<P><STRONG><a name="[45]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
108
+
109
+<P><STRONG><a name="[46]"></a>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
110
+
111
+<P><STRONG><a name="[47]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F))
112
+
113
+<P><STRONG><a name="[48]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011))
114
+
115
+<P><STRONG><a name="[0]"></a>Reset_Handler</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
116
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
117
+</UL>
118
+<P><STRONG><a name="[1]"></a>NMI_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
119
+<BR><BR>[Calls]<UL><LI><a href="#[1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;NMI_Handler
120
+</UL>
121
+<BR>[Called By]<UL><LI><a href="#[1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;NMI_Handler
122
+</UL>
123
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
124
+</UL>
125
+<P><STRONG><a name="[2]"></a>HardFault_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
126
+<BR><BR>[Calls]<UL><LI><a href="#[2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HardFault_Handler
127
+</UL>
128
+<BR>[Called By]<UL><LI><a href="#[2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HardFault_Handler
129
+</UL>
130
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
131
+</UL>
132
+<P><STRONG><a name="[3]"></a>MemManage_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
133
+<BR><BR>[Calls]<UL><LI><a href="#[3]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MemManage_Handler
134
+</UL>
135
+<BR>[Called By]<UL><LI><a href="#[3]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MemManage_Handler
136
+</UL>
137
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
138
+</UL>
139
+<P><STRONG><a name="[4]"></a>BusFault_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
140
+<BR><BR>[Calls]<UL><LI><a href="#[4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BusFault_Handler
141
+</UL>
142
+<BR>[Called By]<UL><LI><a href="#[4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BusFault_Handler
143
+</UL>
144
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
145
+</UL>
146
+<P><STRONG><a name="[5]"></a>UsageFault_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
147
+<BR><BR>[Calls]<UL><LI><a href="#[5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsageFault_Handler
148
+</UL>
149
+<BR>[Called By]<UL><LI><a href="#[5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsageFault_Handler
150
+</UL>
151
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
152
+</UL>
153
+<P><STRONG><a name="[6]"></a>SVC_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
154
+<BR><BR>[Calls]<UL><LI><a href="#[6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SVC_Handler
155
+</UL>
156
+<BR>[Called By]<UL><LI><a href="#[6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SVC_Handler
157
+</UL>
158
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
159
+</UL>
160
+<P><STRONG><a name="[7]"></a>DebugMon_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
161
+<BR><BR>[Calls]<UL><LI><a href="#[7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;DebugMon_Handler
162
+</UL>
163
+<BR>[Called By]<UL><LI><a href="#[7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;DebugMon_Handler
164
+</UL>
165
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
166
+</UL>
167
+<P><STRONG><a name="[8]"></a>PendSV_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
168
+<BR><BR>[Calls]<UL><LI><a href="#[8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PendSV_Handler
169
+</UL>
170
+<BR>[Called By]<UL><LI><a href="#[8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PendSV_Handler
171
+</UL>
172
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
173
+</UL>
174
+<P><STRONG><a name="[9]"></a>SysTick_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
175
+<BR><BR>[Calls]<UL><LI><a href="#[9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SysTick_Handler
176
+</UL>
177
+<BR>[Called By]<UL><LI><a href="#[9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SysTick_Handler
178
+</UL>
179
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
180
+</UL>
181
+<P><STRONG><a name="[1c]"></a>ADC1_2_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
182
+<BR><BR>[Calls]<UL><LI><a href="#[1c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ADC1_2_IRQHandler
183
+</UL>
184
+<BR>[Called By]<UL><LI><a href="#[1c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ADC1_2_IRQHandler
185
+</UL>
186
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
187
+</UL>
188
+<P><STRONG><a name="[1f]"></a>CAN1_RX1_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
189
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
190
+</UL>
191
+<P><STRONG><a name="[20]"></a>CAN1_SCE_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
192
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
193
+</UL>
194
+<P><STRONG><a name="[15]"></a>DMA1_Channel1_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
195
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
196
+</UL>
197
+<P><STRONG><a name="[16]"></a>DMA1_Channel2_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
198
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
199
+</UL>
200
+<P><STRONG><a name="[17]"></a>DMA1_Channel3_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
201
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
202
+</UL>
203
+<P><STRONG><a name="[18]"></a>DMA1_Channel4_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
204
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
205
+</UL>
206
+<P><STRONG><a name="[19]"></a>DMA1_Channel5_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
207
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
208
+</UL>
209
+<P><STRONG><a name="[1a]"></a>DMA1_Channel6_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
210
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
211
+</UL>
212
+<P><STRONG><a name="[1b]"></a>DMA1_Channel7_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
213
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
214
+</UL>
215
+<P><STRONG><a name="[10]"></a>EXTI0_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
216
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
217
+</UL>
218
+<P><STRONG><a name="[32]"></a>EXTI15_10_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
219
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
220
+</UL>
221
+<P><STRONG><a name="[11]"></a>EXTI1_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
222
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
223
+</UL>
224
+<P><STRONG><a name="[12]"></a>EXTI2_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
225
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
226
+</UL>
227
+<P><STRONG><a name="[13]"></a>EXTI3_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
228
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
229
+</UL>
230
+<P><STRONG><a name="[14]"></a>EXTI4_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
231
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
232
+</UL>
233
+<P><STRONG><a name="[21]"></a>EXTI9_5_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
234
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
235
+</UL>
236
+<P><STRONG><a name="[e]"></a>FLASH_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
237
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
238
+</UL>
239
+<P><STRONG><a name="[2a]"></a>I2C1_ER_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
240
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
241
+</UL>
242
+<P><STRONG><a name="[29]"></a>I2C1_EV_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
243
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
244
+</UL>
245
+<P><STRONG><a name="[2c]"></a>I2C2_ER_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
246
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
247
+</UL>
248
+<P><STRONG><a name="[2b]"></a>I2C2_EV_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
249
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
250
+</UL>
251
+<P><STRONG><a name="[b]"></a>PVD_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
252
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
253
+</UL>
254
+<P><STRONG><a name="[f]"></a>RCC_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
255
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
256
+</UL>
257
+<P><STRONG><a name="[33]"></a>RTCAlarm_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
258
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
259
+</UL>
260
+<P><STRONG><a name="[d]"></a>RTC_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
261
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
262
+</UL>
263
+<P><STRONG><a name="[2d]"></a>SPI1_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
264
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
265
+</UL>
266
+<P><STRONG><a name="[2e]"></a>SPI2_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
267
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
268
+</UL>
269
+<P><STRONG><a name="[c]"></a>TAMPER_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
270
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
271
+</UL>
272
+<P><STRONG><a name="[22]"></a>TIM1_BRK_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
273
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
274
+</UL>
275
+<P><STRONG><a name="[25]"></a>TIM1_CC_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
276
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
277
+</UL>
278
+<P><STRONG><a name="[24]"></a>TIM1_TRG_COM_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
279
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
280
+</UL>
281
+<P><STRONG><a name="[2f]"></a>USART1_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
282
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
283
+</UL>
284
+<P><STRONG><a name="[30]"></a>USART2_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
285
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
286
+</UL>
287
+<P><STRONG><a name="[31]"></a>USART3_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
288
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
289
+</UL>
290
+<P><STRONG><a name="[34]"></a>USBWakeUp_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
291
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
292
+</UL>
293
+<P><STRONG><a name="[1d]"></a>USB_HP_CAN1_TX_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
294
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
295
+</UL>
296
+<P><STRONG><a name="[1e]"></a>USB_LP_CAN1_RX0_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
297
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
298
+</UL>
299
+<P><STRONG><a name="[a]"></a>WWDG_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
300
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
301
+</UL>
302
+<P><STRONG><a name="[39]"></a>__scatterload</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
303
+<BR><BR>[Calls]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__main_after_scatterload
304
+</UL>
305
+<BR>[Called By]<UL><LI><a href="#[38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_main_scatterload
306
+</UL>
307
+
308
+<P><STRONG><a name="[49]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
309
+
310
+<P><STRONG><a name="[3c]"></a>MyGPIO_Init</STRONG> (Thumb, 166 bytes, Stack size 12 bytes, driver_gpio.o(i.MyGPIO_Init))
311
+<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = MyGPIO_Init
312
+</UL>
313
+<BR>[Called By]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_PWM
314
+</UL>
315
+
316
+<P><STRONG><a name="[3f]"></a>MyTimer_Base_Init</STRONG> (Thumb, 98 bytes, Stack size 0 bytes, mytimer.o(i.MyTimer_Base_Init))
317
+<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
318
+</UL>
319
+
320
+<P><STRONG><a name="[40]"></a>MyTimer_Base_Start</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, mytimer.o(i.MyTimer_Base_Start))
321
+<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
322
+</UL>
323
+
324
+<P><STRONG><a name="[3b]"></a>MyTimer_PWM</STRONG> (Thumb, 448 bytes, Stack size 24 bytes, mytimer.o(i.MyTimer_PWM))
325
+<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = MyTimer_PWM &rArr; MyGPIO_Init
326
+</UL>
327
+<BR>[Calls]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Init
328
+</UL>
329
+<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
330
+</UL>
331
+
332
+<P><STRONG><a name="[41]"></a>Set_PWM_PRCT</STRONG> (Thumb, 56 bytes, Stack size 12 bytes, mytimer.o(i.Set_PWM_PRCT))
333
+<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = Set_PWM_PRCT
334
+</UL>
335
+<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
336
+</UL>
337
+
338
+<P><STRONG><a name="[36]"></a>SystemInit</STRONG> (Thumb, 78 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SystemInit))
339
+<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = SystemInit &rArr; SetSysClock &rArr; SetSysClockTo72
340
+</UL>
341
+<BR>[Calls]<UL><LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
342
+</UL>
343
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(.text)
344
+</UL>
345
+<P><STRONG><a name="[23]"></a>TIM1_UP_IRQHandler</STRONG> (Thumb, 28 bytes, Stack size 8 bytes, mytimer.o(i.TIM1_UP_IRQHandler))
346
+<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = TIM1_UP_IRQHandler
347
+</UL>
348
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
349
+</UL>
350
+<P><STRONG><a name="[26]"></a>TIM2_IRQHandler</STRONG> (Thumb, 32 bytes, Stack size 8 bytes, mytimer.o(i.TIM2_IRQHandler))
351
+<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = TIM2_IRQHandler
352
+</UL>
353
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
354
+</UL>
355
+<P><STRONG><a name="[27]"></a>TIM3_IRQHandler</STRONG> (Thumb, 28 bytes, Stack size 8 bytes, mytimer.o(i.TIM3_IRQHandler))
356
+<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = TIM3_IRQHandler
357
+</UL>
358
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
359
+</UL>
360
+<P><STRONG><a name="[28]"></a>TIM4_IRQHandler</STRONG> (Thumb, 28 bytes, Stack size 8 bytes, mytimer.o(i.TIM4_IRQHandler))
361
+<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = TIM4_IRQHandler
362
+</UL>
363
+<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
364
+</UL>
365
+<P><STRONG><a name="[4a]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
366
+
367
+<P><STRONG><a name="[4b]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
368
+
369
+<P><STRONG><a name="[4c]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
370
+
371
+<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 56 bytes, Stack size 16 bytes, prinicpal.o(i.main))
372
+<BR><BR>[Stack]<UL><LI>Max Depth = 52<LI>Call Chain = main &rArr; MyTimer_PWM &rArr; MyGPIO_Init
373
+</UL>
374
+<BR>[Calls]<UL><LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_PWM_PRCT
375
+<LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_PWM
376
+<LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Base_Start
377
+<LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Base_Init
378
+</UL>
379
+<BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B)
380
+</UL><P>
381
+<H3>
382
+Local Symbols
383
+</H3>
384
+<P><STRONG><a name="[3d]"></a>SetSysClock</STRONG> (Thumb, 8 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SetSysClock))
385
+<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = SetSysClock &rArr; SetSysClockTo72
386
+</UL>
387
+<BR>[Calls]<UL><LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClockTo72
388
+</UL>
389
+<BR>[Called By]<UL><LI><a href="#[36]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SystemInit
390
+</UL>
391
+
392
+<P><STRONG><a name="[3e]"></a>SetSysClockTo72</STRONG> (Thumb, 214 bytes, Stack size 12 bytes, system_stm32f10x.o(i.SetSysClockTo72))
393
+<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = SetSysClockTo72
394
+</UL>
395
+<BR>[Called By]<UL><LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
396
+</UL>
397
+<P>
398
+<H3>
399
+Undefined Global Symbols
400
+</H3><HR></body></html>

+ 10
- 0
Objects/Projet1_Simulation.lnp View File

@@ -0,0 +1,10 @@
1
+--cpu Cortex-M3
2
+".\objects\prinicpal.o"
3
+".\objects\driver_gpio.o"
4
+".\objects\mytimer.o"
5
+".\objects\startup_stm32f10x_md.o"
6
+".\objects\system_stm32f10x.o"
7
+--library_type=microlib --strict --scatter ".\Objects\Projet1_Simulation.sct"
8
+--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
9
+--info sizes --info totals --info unused --info veneers
10
+--list ".\Listings\Projet1_Simulation.map" -o .\Objects\Projet1_Simulation.axf

+ 16
- 0
Objects/Projet1_Simulation.sct View File

@@ -0,0 +1,16 @@
1
+; *************************************************************
2
+; *** Scatter-Loading Description File generated by uVision ***
3
+; *************************************************************
4
+
5
+LR_IROM1 0x08000000 0x00020000  {    ; load region size_region
6
+  ER_IROM1 0x08000000 0x00020000  {  ; load address = execution address
7
+   *.o (RESET, +First)
8
+   *(InRoot$$Sections)
9
+   .ANY (+RO)
10
+   .ANY (+XO)
11
+  }
12
+  RW_IRAM1 0x20000000 0x00005000  {  ; RW data
13
+   .ANY (+RW +ZI)
14
+  }
15
+}
16
+

+ 15
- 0
Objects/Projet1_Target 1.dep View File

@@ -0,0 +1,15 @@
1
+Dependencies for Project 'Projet1', Target 'Target 1': (DO NOT MODIFY !)
2
+CompilerVersion: 6160000::V6.16::ARMCLANG
3
+F (RTE\Device\STM32F103RB\RTE_Device.h)(0x59283406)()
4
+F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x58258CCC)(--target=arm-arm-none-eabi -mcpu=cortex-m3 -masm=auto -c

-gdwarf-3 -Wa,armasm,--pd,"__EVAL SETA 1"

-I./RTE/Device/STM32F103RB

-I./RTE/_Target_1

-IC:/Programdata/Keil/Arm/Packs/ARM/CMSIS/5.7.0/CMSIS/Core/Include

-IC:/Programdata/Keil/Arm/Packs/Keil/STM32F1xx_DFP/2.3.0/Device/Include

-Wa,armasm,--pd,"__UVISION_VERSION SETA 534" -Wa,armasm,--pd,"_RTE_ SETA 1" -Wa,armasm,--pd,"STM32F10X_MD SETA 1" -Wa,armasm,--pd,"_RTE_ SETA 1"

-o ./objects/startup_stm32f10x_md.o)
5
+F (RTE\Device\STM32F103RB\system_stm32f10x.c)(0x58258CCC)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c

-fno-rtti -funsigned-char -fshort-enums -fshort-wchar

-D__EVAL -gdwarf-3 -O1 -ffunction-sections -Weverything -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality 

-I./RTE/Device/STM32F103RB

-I./RTE/_Target_1

-IC:/Programdata/Keil/Arm/Packs/ARM/CMSIS/5.7.0/CMSIS/Core/Include

-IC:/Programdata/Keil/Arm/Packs/Keil/STM32F1xx_DFP/2.3.0/Device/Include

-D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_

-o ./objects/system_stm32f10x.o -MD)
6
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
7
+I (RTE\_Target_1\RTE_Components.h)(0x63284D11)
8
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
9
+I (C:\Keil_v5\ARM\ARMCLANG\include\stdint.h)(0x6035F908)
10
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
11
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
12
+I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armclang.h)(0x5E8F2582)
13
+I (C:\Keil_v5\ARM\ARMCLANG\include\arm_compat.h)(0x5EE189B2)
14
+I (C:\Keil_v5\ARM\ARMCLANG\include\arm_acle.h)(0x6035F904)
15
+I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)

BIN
Objects/driver_gpio.crf View File


+ 10
- 0
Objects/driver_gpio.d View File

@@ -0,0 +1,10 @@
1
+.\objects\driver_gpio.o: U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c
2
+.\objects\driver_gpio.o: U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.h
3
+.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
4
+.\objects\driver_gpio.o: .\RTE\_R_el\RTE_Components.h
5
+.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
6
+.\objects\driver_gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
7
+.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
8
+.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
9
+.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
10
+.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h

BIN
Objects/driver_gpio.o View File


BIN
Objects/mytimer.crf View File


+ 11
- 0
Objects/mytimer.d View File

@@ -0,0 +1,11 @@
1
+.\objects\mytimer.o: FileInclude\MyTimer.c
2
+.\objects\mytimer.o: FileInclude\MyTimer.h
3
+.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
4
+.\objects\mytimer.o: .\RTE\_R_el\RTE_Components.h
5
+.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
6
+.\objects\mytimer.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
7
+.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
8
+.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
9
+.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
10
+.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h
11
+.\objects\mytimer.o: FileInclude\Driver_GPIO.h

BIN
Objects/mytimer.o View File


BIN
Objects/prinicpal.crf View File


+ 11
- 0
Objects/prinicpal.d View File

@@ -0,0 +1,11 @@
1
+.\objects\prinicpal.o: Sources\prinicpal.c
2
+.\objects\prinicpal.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
3
+.\objects\prinicpal.o: .\RTE\_R_el\RTE_Components.h
4
+.\objects\prinicpal.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
5
+.\objects\prinicpal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
6
+.\objects\prinicpal.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
7
+.\objects\prinicpal.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
8
+.\objects\prinicpal.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
9
+.\objects\prinicpal.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h
10
+.\objects\prinicpal.o: .\FileInclude\Driver_GPIO.h
11
+.\objects\prinicpal.o: .\FileInclude\MyTimer.h

BIN
Objects/prinicpal.o View File


+ 1
- 0
Objects/startup_stm32f10x_md.d View File

@@ -0,0 +1 @@
1
+.\objects\startup_stm32f10x_md.o: RTE\Device\STM32F103RB\startup_stm32f10x_md.s

BIN
Objects/startup_stm32f10x_md.o View File


BIN
Objects/system_stm32f10x.crf View File


+ 9
- 0
Objects/system_stm32f10x.d View File

@@ -0,0 +1,9 @@
1
+.\objects\system_stm32f10x.o: RTE\Device\STM32F103RB\system_stm32f10x.c
2
+.\objects\system_stm32f10x.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
3
+.\objects\system_stm32f10x.o: .\RTE\_R_el\RTE_Components.h
4
+.\objects\system_stm32f10x.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
5
+.\objects\system_stm32f10x.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
6
+.\objects\system_stm32f10x.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
7
+.\objects\system_stm32f10x.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
8
+.\objects\system_stm32f10x.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
9
+.\objects\system_stm32f10x.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h

BIN
Objects/system_stm32f10x.o View File


+ 3646
- 0
Projet1 (2).uvguix
File diff suppressed because it is too large
View File


+ 3637
- 0
Projet1.uvguix
File diff suppressed because it is too large
View File


+ 3637
- 0
Projet1.uvguix - Copie.alejeune
File diff suppressed because it is too large
View File


+ 3691
- 0
Projet1.uvguix.alejeune
File diff suppressed because it is too large
View File


+ 471
- 0
Projet1.uvoptx View File

@@ -0,0 +1,471 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
2
+<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_optx.xsd">
3
+
4
+  <SchemaVersion>1.0</SchemaVersion>
5
+
6
+  <Header>### uVision Project, (C) Keil Software</Header>
7
+
8
+  <Extensions>
9
+    <cExt>*.c</cExt>
10
+    <aExt>*.s*; *.src; *.a*</aExt>
11
+    <oExt>*.obj; *.o</oExt>
12
+    <lExt>*.lib</lExt>
13
+    <tExt>*.txt; *.h; *.inc; *.md</tExt>
14
+    <pExt>*.plm</pExt>
15
+    <CppX>*.cpp; *.cc; *.cxx</CppX>
16
+    <nMigrate>0</nMigrate>
17
+  </Extensions>
18
+
19
+  <DaveTm>
20
+    <dwLowDateTime>0</dwLowDateTime>
21
+    <dwHighDateTime>0</dwHighDateTime>
22
+  </DaveTm>
23
+
24
+  <Target>
25
+    <TargetName>SImulation</TargetName>
26
+    <ToolsetNumber>0x4</ToolsetNumber>
27
+    <ToolsetName>ARM-ADS</ToolsetName>
28
+    <TargetOption>
29
+      <CLKADS>8000000</CLKADS>
30
+      <OPTTT>
31
+        <gFlags>1</gFlags>
32
+        <BeepAtEnd>1</BeepAtEnd>
33
+        <RunSim>0</RunSim>
34
+        <RunTarget>1</RunTarget>
35
+        <RunAbUc>0</RunAbUc>
36
+      </OPTTT>
37
+      <OPTHX>
38
+        <HexSelection>1</HexSelection>
39
+        <FlashByte>65535</FlashByte>
40
+        <HexRangeLowAddress>0</HexRangeLowAddress>
41
+        <HexRangeHighAddress>0</HexRangeHighAddress>
42
+        <HexOffset>0</HexOffset>
43
+      </OPTHX>
44
+      <OPTLEX>
45
+        <PageWidth>79</PageWidth>
46
+        <PageLength>66</PageLength>
47
+        <TabStop>8</TabStop>
48
+        <ListingPath>.\Listings\</ListingPath>
49
+      </OPTLEX>
50
+      <ListingPage>
51
+        <CreateCListing>1</CreateCListing>
52
+        <CreateAListing>1</CreateAListing>
53
+        <CreateLListing>1</CreateLListing>
54
+        <CreateIListing>0</CreateIListing>
55
+        <AsmCond>1</AsmCond>
56
+        <AsmSymb>1</AsmSymb>
57
+        <AsmXref>0</AsmXref>
58
+        <CCond>1</CCond>
59
+        <CCode>0</CCode>
60
+        <CListInc>0</CListInc>
61
+        <CSymb>0</CSymb>
62
+        <LinkerCodeListing>0</LinkerCodeListing>
63
+      </ListingPage>
64
+      <OPTXL>
65
+        <LMap>1</LMap>
66
+        <LComments>1</LComments>
67
+        <LGenerateSymbols>1</LGenerateSymbols>
68
+        <LLibSym>1</LLibSym>
69
+        <LLines>1</LLines>
70
+        <LLocSym>1</LLocSym>
71
+        <LPubSym>1</LPubSym>
72
+        <LXref>0</LXref>
73
+        <LExpSel>0</LExpSel>
74
+      </OPTXL>
75
+      <OPTFL>
76
+        <tvExp>1</tvExp>
77
+        <tvExpOptDlg>0</tvExpOptDlg>
78
+        <IsCurrentTarget>0</IsCurrentTarget>
79
+      </OPTFL>
80
+      <CpuCode>18</CpuCode>
81
+      <DebugOpt>
82
+        <uSim>1</uSim>
83
+        <uTrg>0</uTrg>
84
+        <sLdApp>1</sLdApp>
85
+        <sGomain>1</sGomain>
86
+        <sRbreak>1</sRbreak>
87
+        <sRwatch>1</sRwatch>
88
+        <sRmem>1</sRmem>
89
+        <sRfunc>1</sRfunc>
90
+        <sRbox>1</sRbox>
91
+        <tLdApp>1</tLdApp>
92
+        <tGomain>1</tGomain>
93
+        <tRbreak>1</tRbreak>
94
+        <tRwatch>1</tRwatch>
95
+        <tRmem>1</tRmem>
96
+        <tRfunc>0</tRfunc>
97
+        <tRbox>1</tRbox>
98
+        <tRtrace>1</tRtrace>
99
+        <sRSysVw>1</sRSysVw>
100
+        <tRSysVw>1</tRSysVw>
101
+        <sRunDeb>0</sRunDeb>
102
+        <sLrtime>0</sLrtime>
103
+        <bEvRecOn>1</bEvRecOn>
104
+        <bSchkAxf>0</bSchkAxf>
105
+        <bTchkAxf>0</bTchkAxf>
106
+        <nTsel>0</nTsel>
107
+        <sDll></sDll>
108
+        <sDllPa></sDllPa>
109
+        <sDlgDll></sDlgDll>
110
+        <sDlgPa></sDlgPa>
111
+        <sIfile></sIfile>
112
+        <tDll></tDll>
113
+        <tDllPa></tDllPa>
114
+        <tDlgDll></tDlgDll>
115
+        <tDlgPa></tDlgPa>
116
+        <tIfile></tIfile>
117
+        <pMon>BIN\UL2CM3.DLL</pMon>
118
+      </DebugOpt>
119
+      <TargetDriverDllRegistry>
120
+        <SetRegEntry>
121
+          <Number>0</Number>
122
+          <Key>ARMRTXEVENTFLAGS</Key>
123
+          <Name>-L70 -Z18 -C0 -M0 -T1</Name>
124
+        </SetRegEntry>
125
+        <SetRegEntry>
126
+          <Number>0</Number>
127
+          <Key>DLGDARM</Key>
128
+          <Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=60,88,280,548,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=676,514,1097,941,0)(121=-1,-1,-1,-1,0)(122=704,251,1125,678,0)(123=-1,-1,-1,-1,0)(140=848,409,1536,749,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=885,128,1479,879,0)(131=1134,338,1728,1089,0)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(234=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(151=-1,-1,-1,-1,0)</Name>
129
+        </SetRegEntry>
130
+        <SetRegEntry>
131
+          <Number>0</Number>
132
+          <Key>ARMDBGFLAGS</Key>
133
+          <Name>-T0</Name>
134
+        </SetRegEntry>
135
+        <SetRegEntry>
136
+          <Number>0</Number>
137
+          <Key>UL2CM3</Key>
138
+          <Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103RB$Flash\STM32F10x_128.FLM))</Name>
139
+        </SetRegEntry>
140
+      </TargetDriverDllRegistry>
141
+      <Breakpoint/>
142
+      <Tracepoint>
143
+        <THDelay>0</THDelay>
144
+      </Tracepoint>
145
+      <DebugFlag>
146
+        <trace>0</trace>
147
+        <periodic>1</periodic>
148
+        <aLwin>1</aLwin>
149
+        <aCover>0</aCover>
150
+        <aSer1>0</aSer1>
151
+        <aSer2>0</aSer2>
152
+        <aPa>0</aPa>
153
+        <viewmode>1</viewmode>
154
+        <vrSel>0</vrSel>
155
+        <aSym>0</aSym>
156
+        <aTbox>0</aTbox>
157
+        <AscS1>0</AscS1>
158
+        <AscS2>0</AscS2>
159
+        <AscS3>0</AscS3>
160
+        <aSer3>0</aSer3>
161
+        <eProf>0</eProf>
162
+        <aLa>1</aLa>
163
+        <aPa1>0</aPa1>
164
+        <AscS4>0</AscS4>
165
+        <aSer4>0</aSer4>
166
+        <StkLoc>0</StkLoc>
167
+        <TrcWin>0</TrcWin>
168
+        <newCpu>0</newCpu>
169
+        <uProt>0</uProt>
170
+      </DebugFlag>
171
+      <LintExecutable></LintExecutable>
172
+      <LintConfigFile></LintConfigFile>
173
+      <bLintAuto>0</bLintAuto>
174
+      <bAutoGenD>0</bAutoGenD>
175
+      <LntExFlags>0</LntExFlags>
176
+      <pMisraName></pMisraName>
177
+      <pszMrule></pszMrule>
178
+      <pSingCmds></pSingCmds>
179
+      <pMultCmds></pMultCmds>
180
+      <pMisraNamep></pMisraNamep>
181
+      <pszMrulep></pszMrulep>
182
+      <pSingCmdsp></pSingCmdsp>
183
+      <pMultCmdsp></pMultCmdsp>
184
+      <LogicAnalyzers>
185
+        <Wi>
186
+          <IntNumber>0</IntNumber>
187
+          <FirstString>((PORTC &amp; 0x00000400) &gt;&gt; 10 &amp; 0x400) &gt;&gt; 10</FirstString>
188
+          <SecondString>FF000000000000000000000000000000E0FFEF400100000000000000000000000000000028504F5254432026203078303030303034303029203E3E2031300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000000000000000E03F170000000000000000000000000000000000000030040008</SecondString>
189
+        </Wi>
190
+        <Wi>
191
+          <IntNumber>1</IntNumber>
192
+          <FirstString>((PORTA &amp; 0x00000008) &gt;&gt; 3 &amp; 0x8) &gt;&gt; 3</FirstString>
193
+          <SecondString>00800000000000000000000000000000E0FFEF400100000000000000000000000000000028504F5254412026203078303030303030303829203E3E2033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000002000000000000000000E03F17000000000000000000000000000000000000007E050008</SecondString>
194
+        </Wi>
195
+      </LogicAnalyzers>
196
+      <DebugDescription>
197
+        <Enable>1</Enable>
198
+        <EnableFlashSeq>1</EnableFlashSeq>
199
+        <EnableLog>0</EnableLog>
200
+        <Protocol>2</Protocol>
201
+        <DbgClock>10000000</DbgClock>
202
+      </DebugDescription>
203
+    </TargetOption>
204
+  </Target>
205
+
206
+  <Target>
207
+    <TargetName>Réel</TargetName>
208
+    <ToolsetNumber>0x4</ToolsetNumber>
209
+    <ToolsetName>ARM-ADS</ToolsetName>
210
+    <TargetOption>
211
+      <CLKADS>8000000</CLKADS>
212
+      <OPTTT>
213
+        <gFlags>1</gFlags>
214
+        <BeepAtEnd>1</BeepAtEnd>
215
+        <RunSim>0</RunSim>
216
+        <RunTarget>1</RunTarget>
217
+        <RunAbUc>0</RunAbUc>
218
+      </OPTTT>
219
+      <OPTHX>
220
+        <HexSelection>1</HexSelection>
221
+        <FlashByte>65535</FlashByte>
222
+        <HexRangeLowAddress>0</HexRangeLowAddress>
223
+        <HexRangeHighAddress>0</HexRangeHighAddress>
224
+        <HexOffset>0</HexOffset>
225
+      </OPTHX>
226
+      <OPTLEX>
227
+        <PageWidth>79</PageWidth>
228
+        <PageLength>66</PageLength>
229
+        <TabStop>8</TabStop>
230
+        <ListingPath>.\Listings\</ListingPath>
231
+      </OPTLEX>
232
+      <ListingPage>
233
+        <CreateCListing>1</CreateCListing>
234
+        <CreateAListing>1</CreateAListing>
235
+        <CreateLListing>1</CreateLListing>
236
+        <CreateIListing>0</CreateIListing>
237
+        <AsmCond>1</AsmCond>
238
+        <AsmSymb>1</AsmSymb>
239
+        <AsmXref>0</AsmXref>
240
+        <CCond>1</CCond>
241
+        <CCode>0</CCode>
242
+        <CListInc>0</CListInc>
243
+        <CSymb>0</CSymb>
244
+        <LinkerCodeListing>0</LinkerCodeListing>
245
+      </ListingPage>
246
+      <OPTXL>
247
+        <LMap>1</LMap>
248
+        <LComments>1</LComments>
249
+        <LGenerateSymbols>1</LGenerateSymbols>
250
+        <LLibSym>1</LLibSym>
251
+        <LLines>1</LLines>
252
+        <LLocSym>1</LLocSym>
253
+        <LPubSym>1</LPubSym>
254
+        <LXref>0</LXref>
255
+        <LExpSel>0</LExpSel>
256
+      </OPTXL>
257
+      <OPTFL>
258
+        <tvExp>1</tvExp>
259
+        <tvExpOptDlg>0</tvExpOptDlg>
260
+        <IsCurrentTarget>1</IsCurrentTarget>
261
+      </OPTFL>
262
+      <CpuCode>18</CpuCode>
263
+      <DebugOpt>
264
+        <uSim>0</uSim>
265
+        <uTrg>1</uTrg>
266
+        <sLdApp>1</sLdApp>
267
+        <sGomain>1</sGomain>
268
+        <sRbreak>1</sRbreak>
269
+        <sRwatch>1</sRwatch>
270
+        <sRmem>1</sRmem>
271
+        <sRfunc>1</sRfunc>
272
+        <sRbox>1</sRbox>
273
+        <tLdApp>1</tLdApp>
274
+        <tGomain>1</tGomain>
275
+        <tRbreak>1</tRbreak>
276
+        <tRwatch>1</tRwatch>
277
+        <tRmem>1</tRmem>
278
+        <tRfunc>0</tRfunc>
279
+        <tRbox>1</tRbox>
280
+        <tRtrace>1</tRtrace>
281
+        <sRSysVw>1</sRSysVw>
282
+        <tRSysVw>1</tRSysVw>
283
+        <sRunDeb>0</sRunDeb>
284
+        <sLrtime>0</sLrtime>
285
+        <bEvRecOn>1</bEvRecOn>
286
+        <bSchkAxf>0</bSchkAxf>
287
+        <bTchkAxf>0</bTchkAxf>
288
+        <nTsel>6</nTsel>
289
+        <sDll></sDll>
290
+        <sDllPa></sDllPa>
291
+        <sDlgDll></sDlgDll>
292
+        <sDlgPa></sDlgPa>
293
+        <sIfile></sIfile>
294
+        <tDll></tDll>
295
+        <tDllPa></tDllPa>
296
+        <tDlgDll></tDlgDll>
297
+        <tDlgPa></tDlgPa>
298
+        <tIfile></tIfile>
299
+        <pMon>STLink\ST-LINKIII-KEIL_SWO.dll</pMon>
300
+      </DebugOpt>
301
+      <TargetDriverDllRegistry>
302
+        <SetRegEntry>
303
+          <Number>0</Number>
304
+          <Key>DLGTARM</Key>
305
+          <Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=757,193,1178,598,0)(121=-1,-1,-1,-1,0)(122=1260,243,1681,648,0)(123=-1,-1,-1,-1,0)(140=-1,-1,-1,-1,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=697,228,1291,922,0)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(151=-1,-1,-1,-1,0)</Name>
306
+        </SetRegEntry>
307
+        <SetRegEntry>
308
+          <Number>0</Number>
309
+          <Key>DLGUARM</Key>
310
+          <Name>(105=-1,-1,-1,-1,0)</Name>
311
+        </SetRegEntry>
312
+        <SetRegEntry>
313
+          <Number>0</Number>
314
+          <Key>ST-LINKIII-KEIL_SWO</Key>
315
+          <Name>-U0667FF504955857567135837 -O206 -SF1800 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(1BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128.FLM -FS08000000 -FL020000 -FP0($$Device:STM32F103RB$Flash\STM32F10x_128.FLM)</Name>
316
+        </SetRegEntry>
317
+        <SetRegEntry>
318
+          <Number>0</Number>
319
+          <Key>ARMRTXEVENTFLAGS</Key>
320
+          <Name>-L70 -Z18 -C0 -M0 -T1</Name>
321
+        </SetRegEntry>
322
+        <SetRegEntry>
323
+          <Number>0</Number>
324
+          <Key>DLGDARM</Key>
325
+          <Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(123=-1,-1,-1,-1,0)(140=-1,-1,-1,-1,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(234=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(151=-1,-1,-1,-1,0)</Name>
326
+        </SetRegEntry>
327
+        <SetRegEntry>
328
+          <Number>0</Number>
329
+          <Key>ARMDBGFLAGS</Key>
330
+          <Name>-T0</Name>
331
+        </SetRegEntry>
332
+        <SetRegEntry>
333
+          <Number>0</Number>
334
+          <Key>UL2CM3</Key>
335
+          <Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103RB$Flash\STM32F10x_128.FLM))</Name>
336
+        </SetRegEntry>
337
+      </TargetDriverDllRegistry>
338
+      <Breakpoint/>
339
+      <Tracepoint>
340
+        <THDelay>0</THDelay>
341
+      </Tracepoint>
342
+      <DebugFlag>
343
+        <trace>0</trace>
344
+        <periodic>1</periodic>
345
+        <aLwin>1</aLwin>
346
+        <aCover>0</aCover>
347
+        <aSer1>0</aSer1>
348
+        <aSer2>0</aSer2>
349
+        <aPa>0</aPa>
350
+        <viewmode>1</viewmode>
351
+        <vrSel>0</vrSel>
352
+        <aSym>0</aSym>
353
+        <aTbox>0</aTbox>
354
+        <AscS1>0</AscS1>
355
+        <AscS2>0</AscS2>
356
+        <AscS3>0</AscS3>
357
+        <aSer3>0</aSer3>
358
+        <eProf>0</eProf>
359
+        <aLa>1</aLa>
360
+        <aPa1>0</aPa1>
361
+        <AscS4>0</AscS4>
362
+        <aSer4>0</aSer4>
363
+        <StkLoc>0</StkLoc>
364
+        <TrcWin>0</TrcWin>
365
+        <newCpu>0</newCpu>
366
+        <uProt>0</uProt>
367
+      </DebugFlag>
368
+      <LintExecutable></LintExecutable>
369
+      <LintConfigFile></LintConfigFile>
370
+      <bLintAuto>0</bLintAuto>
371
+      <bAutoGenD>0</bAutoGenD>
372
+      <LntExFlags>0</LntExFlags>
373
+      <pMisraName></pMisraName>
374
+      <pszMrule></pszMrule>
375
+      <pSingCmds></pSingCmds>
376
+      <pMultCmds></pMultCmds>
377
+      <pMisraNamep></pMisraNamep>
378
+      <pszMrulep></pszMrulep>
379
+      <pSingCmdsp></pSingCmdsp>
380
+      <pMultCmdsp></pMultCmdsp>
381
+      <DebugDescription>
382
+        <Enable>1</Enable>
383
+        <EnableFlashSeq>0</EnableFlashSeq>
384
+        <EnableLog>0</EnableLog>
385
+        <Protocol>2</Protocol>
386
+        <DbgClock>1800000</DbgClock>
387
+      </DebugDescription>
388
+    </TargetOption>
389
+  </Target>
390
+
391
+  <Group>
392
+    <GroupName>MesSources</GroupName>
393
+    <tvExp>1</tvExp>
394
+    <tvExpOptDlg>0</tvExpOptDlg>
395
+    <cbSel>0</cbSel>
396
+    <RteFlg>0</RteFlg>
397
+    <File>
398
+      <GroupNumber>1</GroupNumber>
399
+      <FileNumber>1</FileNumber>
400
+      <FileType>1</FileType>
401
+      <tvExp>1</tvExp>
402
+      <tvExpOptDlg>0</tvExpOptDlg>
403
+      <bDave2>0</bDave2>
404
+      <PathWithFileName>.\Sources\prinicpal.c</PathWithFileName>
405
+      <FilenameWithoutPath>prinicpal.c</FilenameWithoutPath>
406
+      <RteFlg>0</RteFlg>
407
+      <bShared>0</bShared>
408
+    </File>
409
+  </Group>
410
+
411
+  <Group>
412
+    <GroupName>MesDrivers</GroupName>
413
+    <tvExp>1</tvExp>
414
+    <tvExpOptDlg>0</tvExpOptDlg>
415
+    <cbSel>0</cbSel>
416
+    <RteFlg>0</RteFlg>
417
+    <File>
418
+      <GroupNumber>2</GroupNumber>
419
+      <FileNumber>2</FileNumber>
420
+      <FileType>1</FileType>
421
+      <tvExp>0</tvExp>
422
+      <tvExpOptDlg>0</tvExpOptDlg>
423
+      <bDave2>0</bDave2>
424
+      <PathWithFileName>U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c</PathWithFileName>
425
+      <FilenameWithoutPath>Driver_GPIO.c</FilenameWithoutPath>
426
+      <RteFlg>0</RteFlg>
427
+      <bShared>0</bShared>
428
+    </File>
429
+    <File>
430
+      <GroupNumber>2</GroupNumber>
431
+      <FileNumber>3</FileNumber>
432
+      <FileType>1</FileType>
433
+      <tvExp>0</tvExp>
434
+      <tvExpOptDlg>0</tvExpOptDlg>
435
+      <bDave2>0</bDave2>
436
+      <PathWithFileName>.\FileInclude\MyTimer.c</PathWithFileName>
437
+      <FilenameWithoutPath>MyTimer.c</FilenameWithoutPath>
438
+      <RteFlg>0</RteFlg>
439
+      <bShared>0</bShared>
440
+    </File>
441
+    <File>
442
+      <GroupNumber>2</GroupNumber>
443
+      <FileNumber>4</FileNumber>
444
+      <FileType>5</FileType>
445
+      <tvExp>0</tvExp>
446
+      <tvExpOptDlg>0</tvExpOptDlg>
447
+      <bDave2>0</bDave2>
448
+      <PathWithFileName>.\FileInclude\MyTimer.h</PathWithFileName>
449
+      <FilenameWithoutPath>MyTimer.h</FilenameWithoutPath>
450
+      <RteFlg>0</RteFlg>
451
+      <bShared>0</bShared>
452
+    </File>
453
+  </Group>
454
+
455
+  <Group>
456
+    <GroupName>::CMSIS</GroupName>
457
+    <tvExp>0</tvExp>
458
+    <tvExpOptDlg>0</tvExpOptDlg>
459
+    <cbSel>0</cbSel>
460
+    <RteFlg>1</RteFlg>
461
+  </Group>
462
+
463
+  <Group>
464
+    <GroupName>::Device</GroupName>
465
+    <tvExp>1</tvExp>
466
+    <tvExpOptDlg>0</tvExpOptDlg>
467
+    <cbSel>0</cbSel>
468
+    <RteFlg>1</RteFlg>
469
+  </Group>
470
+
471
+</ProjectOpt>

+ 893
- 0
Projet1.uvprojx View File

@@ -0,0 +1,893 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
2
+<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_projx.xsd">
3
+
4
+  <SchemaVersion>2.1</SchemaVersion>
5
+
6
+  <Header>### uVision Project, (C) Keil Software</Header>
7
+
8
+  <Targets>
9
+    <Target>
10
+      <TargetName>SImulation</TargetName>
11
+      <ToolsetNumber>0x4</ToolsetNumber>
12
+      <ToolsetName>ARM-ADS</ToolsetName>
13
+      <pCCUsed>5060960::V5.06 update 7 (build 960)::.\ARMCC</pCCUsed>
14
+      <uAC6>0</uAC6>
15
+      <TargetOption>
16
+        <TargetCommonOption>
17
+          <Device>STM32F103RB</Device>
18
+          <Vendor>STMicroelectronics</Vendor>
19
+          <PackID>Keil.STM32F1xx_DFP.2.3.0</PackID>
20
+          <PackURL>http://www.keil.com/pack/</PackURL>
21
+          <Cpu>IRAM(0x20000000,0x00005000) IROM(0x08000000,0x00020000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE</Cpu>
22
+          <FlashUtilSpec></FlashUtilSpec>
23
+          <StartupFile></StartupFile>
24
+          <FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103RB$Flash\STM32F10x_128.FLM))</FlashDriverDll>
25
+          <DeviceId>4231</DeviceId>
26
+          <RegisterFile>$$Device:STM32F103RB$Device\Include\stm32f10x.h</RegisterFile>
27
+          <MemoryEnv></MemoryEnv>
28
+          <Cmp></Cmp>
29
+          <Asm></Asm>
30
+          <Linker></Linker>
31
+          <OHString></OHString>
32
+          <InfinionOptionDll></InfinionOptionDll>
33
+          <SLE66CMisc></SLE66CMisc>
34
+          <SLE66AMisc></SLE66AMisc>
35
+          <SLE66LinkerMisc></SLE66LinkerMisc>
36
+          <SFDFile>$$Device:STM32F103RB$SVD\STM32F103xx.svd</SFDFile>
37
+          <bCustSvd>0</bCustSvd>
38
+          <UseEnv>0</UseEnv>
39
+          <BinPath></BinPath>
40
+          <IncludePath></IncludePath>
41
+          <LibPath></LibPath>
42
+          <RegisterFilePath></RegisterFilePath>
43
+          <DBRegisterFilePath></DBRegisterFilePath>
44
+          <TargetStatus>
45
+            <Error>0</Error>
46
+            <ExitCodeStop>0</ExitCodeStop>
47
+            <ButtonStop>0</ButtonStop>
48
+            <NotGenerated>0</NotGenerated>
49
+            <InvalidFlash>1</InvalidFlash>
50
+          </TargetStatus>
51
+          <OutputDirectory>.\Objects\</OutputDirectory>
52
+          <OutputName>Projet1_Simulation</OutputName>
53
+          <CreateExecutable>1</CreateExecutable>
54
+          <CreateLib>0</CreateLib>
55
+          <CreateHexFile>0</CreateHexFile>
56
+          <DebugInformation>1</DebugInformation>
57
+          <BrowseInformation>1</BrowseInformation>
58
+          <ListingPath>.\Listings\</ListingPath>
59
+          <HexFormatSelection>1</HexFormatSelection>
60
+          <Merge32K>0</Merge32K>
61
+          <CreateBatchFile>0</CreateBatchFile>
62
+          <BeforeCompile>
63
+            <RunUserProg1>0</RunUserProg1>
64
+            <RunUserProg2>0</RunUserProg2>
65
+            <UserProg1Name></UserProg1Name>
66
+            <UserProg2Name></UserProg2Name>
67
+            <UserProg1Dos16Mode>0</UserProg1Dos16Mode>
68
+            <UserProg2Dos16Mode>0</UserProg2Dos16Mode>
69
+            <nStopU1X>0</nStopU1X>
70
+            <nStopU2X>0</nStopU2X>
71
+          </BeforeCompile>
72
+          <BeforeMake>
73
+            <RunUserProg1>0</RunUserProg1>
74
+            <RunUserProg2>0</RunUserProg2>
75
+            <UserProg1Name></UserProg1Name>
76
+            <UserProg2Name></UserProg2Name>
77
+            <UserProg1Dos16Mode>0</UserProg1Dos16Mode>
78
+            <UserProg2Dos16Mode>0</UserProg2Dos16Mode>
79
+            <nStopB1X>0</nStopB1X>
80
+            <nStopB2X>0</nStopB2X>
81
+          </BeforeMake>
82
+          <AfterMake>
83
+            <RunUserProg1>0</RunUserProg1>
84
+            <RunUserProg2>0</RunUserProg2>
85
+            <UserProg1Name></UserProg1Name>
86
+            <UserProg2Name></UserProg2Name>
87
+            <UserProg1Dos16Mode>0</UserProg1Dos16Mode>
88
+            <UserProg2Dos16Mode>0</UserProg2Dos16Mode>
89
+            <nStopA1X>0</nStopA1X>
90
+            <nStopA2X>0</nStopA2X>
91
+          </AfterMake>
92
+          <SelectedForBatchBuild>0</SelectedForBatchBuild>
93
+          <SVCSIdString></SVCSIdString>
94
+        </TargetCommonOption>
95
+        <CommonProperty>
96
+          <UseCPPCompiler>0</UseCPPCompiler>
97
+          <RVCTCodeConst>0</RVCTCodeConst>
98
+          <RVCTZI>0</RVCTZI>
99
+          <RVCTOtherData>0</RVCTOtherData>
100
+          <ModuleSelection>0</ModuleSelection>
101
+          <IncludeInBuild>1</IncludeInBuild>
102
+          <AlwaysBuild>0</AlwaysBuild>
103
+          <GenerateAssemblyFile>0</GenerateAssemblyFile>
104
+          <AssembleAssemblyFile>0</AssembleAssemblyFile>
105
+          <PublicsOnly>0</PublicsOnly>
106
+          <StopOnExitCode>3</StopOnExitCode>
107
+          <CustomArgument></CustomArgument>
108
+          <IncludeLibraryModules></IncludeLibraryModules>
109
+          <ComprImg>1</ComprImg>
110
+        </CommonProperty>
111
+        <DllOption>
112
+          <SimDllName>SARMCM3.DLL</SimDllName>
113
+          <SimDllArguments>-REMAP</SimDllArguments>
114
+          <SimDlgDll>DARMSTM.DLL</SimDlgDll>
115
+          <SimDlgDllArguments>-pSTM32F103RB</SimDlgDllArguments>
116
+          <TargetDllName>SARMCM3.DLL</TargetDllName>
117
+          <TargetDllArguments></TargetDllArguments>
118
+          <TargetDlgDll>TARMSTM.DLL</TargetDlgDll>
119
+          <TargetDlgDllArguments>-pSTM32F103RB</TargetDlgDllArguments>
120
+        </DllOption>
121
+        <DebugOption>
122
+          <OPTHX>
123
+            <HexSelection>1</HexSelection>
124
+            <HexRangeLowAddress>0</HexRangeLowAddress>
125
+            <HexRangeHighAddress>0</HexRangeHighAddress>
126
+            <HexOffset>0</HexOffset>
127
+            <Oh166RecLen>16</Oh166RecLen>
128
+          </OPTHX>
129
+        </DebugOption>
130
+        <Utilities>
131
+          <Flash1>
132
+            <UseTargetDll>1</UseTargetDll>
133
+            <UseExternalTool>0</UseExternalTool>
134
+            <RunIndependent>0</RunIndependent>
135
+            <UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
136
+            <Capability>1</Capability>
137
+            <DriverSelection>-1</DriverSelection>
138
+          </Flash1>
139
+          <bUseTDR>1</bUseTDR>
140
+          <Flash2>BIN\UL2CM3.DLL</Flash2>
141
+          <Flash3></Flash3>
142
+          <Flash4></Flash4>
143
+          <pFcarmOut></pFcarmOut>
144
+          <pFcarmGrp></pFcarmGrp>
145
+          <pFcArmRoot></pFcArmRoot>
146
+          <FcArmLst>0</FcArmLst>
147
+        </Utilities>
148
+        <TargetArmAds>
149
+          <ArmAdsMisc>
150
+            <GenerateListings>0</GenerateListings>
151
+            <asHll>1</asHll>
152
+            <asAsm>1</asAsm>
153
+            <asMacX>1</asMacX>
154
+            <asSyms>1</asSyms>
155
+            <asFals>1</asFals>
156
+            <asDbgD>1</asDbgD>
157
+            <asForm>1</asForm>
158
+            <ldLst>0</ldLst>
159
+            <ldmm>1</ldmm>
160
+            <ldXref>1</ldXref>
161
+            <BigEnd>0</BigEnd>
162
+            <AdsALst>1</AdsALst>
163
+            <AdsACrf>1</AdsACrf>
164
+            <AdsANop>0</AdsANop>
165
+            <AdsANot>0</AdsANot>
166
+            <AdsLLst>1</AdsLLst>
167
+            <AdsLmap>1</AdsLmap>
168
+            <AdsLcgr>1</AdsLcgr>
169
+            <AdsLsym>1</AdsLsym>
170
+            <AdsLszi>1</AdsLszi>
171
+            <AdsLtoi>1</AdsLtoi>
172
+            <AdsLsun>1</AdsLsun>
173
+            <AdsLven>1</AdsLven>
174
+            <AdsLsxf>1</AdsLsxf>
175
+            <RvctClst>0</RvctClst>
176
+            <GenPPlst>0</GenPPlst>
177
+            <AdsCpuType>"Cortex-M3"</AdsCpuType>
178
+            <RvctDeviceName></RvctDeviceName>
179
+            <mOS>0</mOS>
180
+            <uocRom>0</uocRom>
181
+            <uocRam>0</uocRam>
182
+            <hadIROM>1</hadIROM>
183
+            <hadIRAM>1</hadIRAM>
184
+            <hadXRAM>0</hadXRAM>
185
+            <uocXRam>0</uocXRam>
186
+            <RvdsVP>0</RvdsVP>
187
+            <RvdsMve>0</RvdsMve>
188
+            <RvdsCdeCp>0</RvdsCdeCp>
189
+            <hadIRAM2>0</hadIRAM2>
190
+            <hadIROM2>0</hadIROM2>
191
+            <StupSel>8</StupSel>
192
+            <useUlib>1</useUlib>
193
+            <EndSel>0</EndSel>
194
+            <uLtcg>0</uLtcg>
195
+            <nSecure>0</nSecure>
196
+            <RoSelD>3</RoSelD>
197
+            <RwSelD>3</RwSelD>
198
+            <CodeSel>0</CodeSel>
199
+            <OptFeed>0</OptFeed>
200
+            <NoZi1>0</NoZi1>
201
+            <NoZi2>0</NoZi2>
202
+            <NoZi3>0</NoZi3>
203
+            <NoZi4>0</NoZi4>
204
+            <NoZi5>0</NoZi5>
205
+            <Ro1Chk>0</Ro1Chk>
206
+            <Ro2Chk>0</Ro2Chk>
207
+            <Ro3Chk>0</Ro3Chk>
208
+            <Ir1Chk>1</Ir1Chk>
209
+            <Ir2Chk>0</Ir2Chk>
210
+            <Ra1Chk>0</Ra1Chk>
211
+            <Ra2Chk>0</Ra2Chk>
212
+            <Ra3Chk>0</Ra3Chk>
213
+            <Im1Chk>1</Im1Chk>
214
+            <Im2Chk>0</Im2Chk>
215
+            <OnChipMemories>
216
+              <Ocm1>
217
+                <Type>0</Type>
218
+                <StartAddress>0x0</StartAddress>
219
+                <Size>0x0</Size>
220
+              </Ocm1>
221
+              <Ocm2>
222
+                <Type>0</Type>
223
+                <StartAddress>0x0</StartAddress>
224
+                <Size>0x0</Size>
225
+              </Ocm2>
226
+              <Ocm3>
227
+                <Type>0</Type>
228
+                <StartAddress>0x0</StartAddress>
229
+                <Size>0x0</Size>
230
+              </Ocm3>
231
+              <Ocm4>
232
+                <Type>0</Type>
233
+                <StartAddress>0x0</StartAddress>
234
+                <Size>0x0</Size>
235
+              </Ocm4>
236
+              <Ocm5>
237
+                <Type>0</Type>
238
+                <StartAddress>0x0</StartAddress>
239
+                <Size>0x0</Size>
240
+              </Ocm5>
241
+              <Ocm6>
242
+                <Type>0</Type>
243
+                <StartAddress>0x0</StartAddress>
244
+                <Size>0x0</Size>
245
+              </Ocm6>
246
+              <IRAM>
247
+                <Type>0</Type>
248
+                <StartAddress>0x20000000</StartAddress>
249
+                <Size>0x5000</Size>
250
+              </IRAM>
251
+              <IROM>
252
+                <Type>1</Type>
253
+                <StartAddress>0x8000000</StartAddress>
254
+                <Size>0x20000</Size>
255
+              </IROM>
256
+              <XRAM>
257
+                <Type>0</Type>
258
+                <StartAddress>0x0</StartAddress>
259
+                <Size>0x0</Size>
260
+              </XRAM>
261
+              <OCR_RVCT1>
262
+                <Type>1</Type>
263
+                <StartAddress>0x0</StartAddress>
264
+                <Size>0x0</Size>
265
+              </OCR_RVCT1>
266
+              <OCR_RVCT2>
267
+                <Type>1</Type>
268
+                <StartAddress>0x0</StartAddress>
269
+                <Size>0x0</Size>
270
+              </OCR_RVCT2>
271
+              <OCR_RVCT3>
272
+                <Type>1</Type>
273
+                <StartAddress>0x0</StartAddress>
274
+                <Size>0x0</Size>
275
+              </OCR_RVCT3>
276
+              <OCR_RVCT4>
277
+                <Type>1</Type>
278
+                <StartAddress>0x8000000</StartAddress>
279
+                <Size>0x20000</Size>
280
+              </OCR_RVCT4>
281
+              <OCR_RVCT5>
282
+                <Type>1</Type>
283
+                <StartAddress>0x0</StartAddress>
284
+                <Size>0x0</Size>
285
+              </OCR_RVCT5>
286
+              <OCR_RVCT6>
287
+                <Type>0</Type>
288
+                <StartAddress>0x0</StartAddress>
289
+                <Size>0x0</Size>
290
+              </OCR_RVCT6>
291
+              <OCR_RVCT7>
292
+                <Type>0</Type>
293
+                <StartAddress>0x0</StartAddress>
294
+                <Size>0x0</Size>
295
+              </OCR_RVCT7>
296
+              <OCR_RVCT8>
297
+                <Type>0</Type>
298
+                <StartAddress>0x0</StartAddress>
299
+                <Size>0x0</Size>
300
+              </OCR_RVCT8>
301
+              <OCR_RVCT9>
302
+                <Type>0</Type>
303
+                <StartAddress>0x20000000</StartAddress>
304
+                <Size>0x5000</Size>
305
+              </OCR_RVCT9>
306
+              <OCR_RVCT10>
307
+                <Type>0</Type>
308
+                <StartAddress>0x0</StartAddress>
309
+                <Size>0x0</Size>
310
+              </OCR_RVCT10>
311
+            </OnChipMemories>
312
+            <RvctStartVector></RvctStartVector>
313
+          </ArmAdsMisc>
314
+          <Cads>
315
+            <interw>1</interw>
316
+            <Optim>1</Optim>
317
+            <oTime>0</oTime>
318
+            <SplitLS>0</SplitLS>
319
+            <OneElfS>1</OneElfS>
320
+            <Strict>0</Strict>
321
+            <EnumInt>0</EnumInt>
322
+            <PlainCh>0</PlainCh>
323
+            <Ropi>0</Ropi>
324
+            <Rwpi>0</Rwpi>
325
+            <wLevel>2</wLevel>
326
+            <uThumb>0</uThumb>
327
+            <uSurpInc>0</uSurpInc>
328
+            <uC99>0</uC99>
329
+            <uGnu>0</uGnu>
330
+            <useXO>0</useXO>
331
+            <v6Lang>3</v6Lang>
332
+            <v6LangP>3</v6LangP>
333
+            <vShortEn>1</vShortEn>
334
+            <vShortWch>1</vShortWch>
335
+            <v6Lto>0</v6Lto>
336
+            <v6WtE>0</v6WtE>
337
+            <v6Rtti>0</v6Rtti>
338
+            <VariousControls>
339
+              <MiscControls></MiscControls>
340
+              <Define></Define>
341
+              <Undefine></Undefine>
342
+              <IncludePath>.\FileInclude</IncludePath>
343
+            </VariousControls>
344
+          </Cads>
345
+          <Aads>
346
+            <interw>1</interw>
347
+            <Ropi>0</Ropi>
348
+            <Rwpi>0</Rwpi>
349
+            <thumb>0</thumb>
350
+            <SplitLS>0</SplitLS>
351
+            <SwStkChk>0</SwStkChk>
352
+            <NoWarn>0</NoWarn>
353
+            <uSurpInc>0</uSurpInc>
354
+            <useXO>0</useXO>
355
+            <ClangAsOpt>1</ClangAsOpt>
356
+            <VariousControls>
357
+              <MiscControls></MiscControls>
358
+              <Define></Define>
359
+              <Undefine></Undefine>
360
+              <IncludePath></IncludePath>
361
+            </VariousControls>
362
+          </Aads>
363
+          <LDads>
364
+            <umfTarg>0</umfTarg>
365
+            <Ropi>0</Ropi>
366
+            <Rwpi>0</Rwpi>
367
+            <noStLib>0</noStLib>
368
+            <RepFail>1</RepFail>
369
+            <useFile>0</useFile>
370
+            <TextAddressRange>0x08000000</TextAddressRange>
371
+            <DataAddressRange>0x20000000</DataAddressRange>
372
+            <pXoBase></pXoBase>
373
+            <ScatterFile></ScatterFile>
374
+            <IncludeLibs></IncludeLibs>
375
+            <IncludeLibsPath></IncludeLibsPath>
376
+            <Misc></Misc>
377
+            <LinkerInputFile></LinkerInputFile>
378
+            <DisabledWarnings></DisabledWarnings>
379
+          </LDads>
380
+        </TargetArmAds>
381
+      </TargetOption>
382
+      <Groups>
383
+        <Group>
384
+          <GroupName>MesSources</GroupName>
385
+          <Files>
386
+            <File>
387
+              <FileName>prinicpal.c</FileName>
388
+              <FileType>1</FileType>
389
+              <FilePath>.\Sources\prinicpal.c</FilePath>
390
+            </File>
391
+          </Files>
392
+        </Group>
393
+        <Group>
394
+          <GroupName>MesDrivers</GroupName>
395
+          <Files>
396
+            <File>
397
+              <FileName>Driver_GPIO.c</FileName>
398
+              <FileType>1</FileType>
399
+              <FilePath>U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c</FilePath>
400
+            </File>
401
+            <File>
402
+              <FileName>MyTimer.c</FileName>
403
+              <FileType>1</FileType>
404
+              <FilePath>.\FileInclude\MyTimer.c</FilePath>
405
+            </File>
406
+            <File>
407
+              <FileName>MyTimer.h</FileName>
408
+              <FileType>5</FileType>
409
+              <FilePath>.\FileInclude\MyTimer.h</FilePath>
410
+            </File>
411
+          </Files>
412
+        </Group>
413
+        <Group>
414
+          <GroupName>::CMSIS</GroupName>
415
+        </Group>
416
+        <Group>
417
+          <GroupName>::Device</GroupName>
418
+        </Group>
419
+      </Groups>
420
+    </Target>
421
+    <Target>
422
+      <TargetName>Réel</TargetName>
423
+      <ToolsetNumber>0x4</ToolsetNumber>
424
+      <ToolsetName>ARM-ADS</ToolsetName>
425
+      <pCCUsed>5060960::V5.06 update 7 (build 960)::.\ARMCC</pCCUsed>
426
+      <uAC6>0</uAC6>
427
+      <TargetOption>
428
+        <TargetCommonOption>
429
+          <Device>STM32F103RB</Device>
430
+          <Vendor>STMicroelectronics</Vendor>
431
+          <PackID>Keil.STM32F1xx_DFP.2.3.0</PackID>
432
+          <PackURL>http://www.keil.com/pack/</PackURL>
433
+          <Cpu>IRAM(0x20000000,0x00005000) IROM(0x08000000,0x00020000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE</Cpu>
434
+          <FlashUtilSpec></FlashUtilSpec>
435
+          <StartupFile></StartupFile>
436
+          <FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103RB$Flash\STM32F10x_128.FLM))</FlashDriverDll>
437
+          <DeviceId>4231</DeviceId>
438
+          <RegisterFile>$$Device:STM32F103RB$Device\Include\stm32f10x.h</RegisterFile>
439
+          <MemoryEnv></MemoryEnv>
440
+          <Cmp></Cmp>
441
+          <Asm></Asm>
442
+          <Linker></Linker>
443
+          <OHString></OHString>
444
+          <InfinionOptionDll></InfinionOptionDll>
445
+          <SLE66CMisc></SLE66CMisc>
446
+          <SLE66AMisc></SLE66AMisc>
447
+          <SLE66LinkerMisc></SLE66LinkerMisc>
448
+          <SFDFile>$$Device:STM32F103RB$SVD\STM32F103xx.svd</SFDFile>
449
+          <bCustSvd>0</bCustSvd>
450
+          <UseEnv>0</UseEnv>
451
+          <BinPath></BinPath>
452
+          <IncludePath></IncludePath>
453
+          <LibPath></LibPath>
454
+          <RegisterFilePath></RegisterFilePath>
455
+          <DBRegisterFilePath></DBRegisterFilePath>
456
+          <TargetStatus>
457
+            <Error>0</Error>
458
+            <ExitCodeStop>0</ExitCodeStop>
459
+            <ButtonStop>0</ButtonStop>
460
+            <NotGenerated>0</NotGenerated>
461
+            <InvalidFlash>1</InvalidFlash>
462
+          </TargetStatus>
463
+          <OutputDirectory>.\Objects\</OutputDirectory>
464
+          <OutputName>Projet1_Simulation</OutputName>
465
+          <CreateExecutable>1</CreateExecutable>
466
+          <CreateLib>0</CreateLib>
467
+          <CreateHexFile>0</CreateHexFile>
468
+          <DebugInformation>1</DebugInformation>
469
+          <BrowseInformation>1</BrowseInformation>
470
+          <ListingPath>.\Listings\</ListingPath>
471
+          <HexFormatSelection>1</HexFormatSelection>
472
+          <Merge32K>0</Merge32K>
473
+          <CreateBatchFile>0</CreateBatchFile>
474
+          <BeforeCompile>
475
+            <RunUserProg1>0</RunUserProg1>
476
+            <RunUserProg2>0</RunUserProg2>
477
+            <UserProg1Name></UserProg1Name>
478
+            <UserProg2Name></UserProg2Name>
479
+            <UserProg1Dos16Mode>0</UserProg1Dos16Mode>
480
+            <UserProg2Dos16Mode>0</UserProg2Dos16Mode>
481
+            <nStopU1X>0</nStopU1X>
482
+            <nStopU2X>0</nStopU2X>
483
+          </BeforeCompile>
484
+          <BeforeMake>
485
+            <RunUserProg1>0</RunUserProg1>
486
+            <RunUserProg2>0</RunUserProg2>
487
+            <UserProg1Name></UserProg1Name>
488
+            <UserProg2Name></UserProg2Name>
489
+            <UserProg1Dos16Mode>0</UserProg1Dos16Mode>
490
+            <UserProg2Dos16Mode>0</UserProg2Dos16Mode>
491
+            <nStopB1X>0</nStopB1X>
492
+            <nStopB2X>0</nStopB2X>
493
+          </BeforeMake>
494
+          <AfterMake>
495
+            <RunUserProg1>0</RunUserProg1>
496
+            <RunUserProg2>0</RunUserProg2>
497
+            <UserProg1Name></UserProg1Name>
498
+            <UserProg2Name></UserProg2Name>
499
+            <UserProg1Dos16Mode>0</UserProg1Dos16Mode>
500
+            <UserProg2Dos16Mode>0</UserProg2Dos16Mode>
501
+            <nStopA1X>0</nStopA1X>
502
+            <nStopA2X>0</nStopA2X>
503
+          </AfterMake>
504
+          <SelectedForBatchBuild>0</SelectedForBatchBuild>
505
+          <SVCSIdString></SVCSIdString>
506
+        </TargetCommonOption>
507
+        <CommonProperty>
508
+          <UseCPPCompiler>0</UseCPPCompiler>
509
+          <RVCTCodeConst>0</RVCTCodeConst>
510
+          <RVCTZI>0</RVCTZI>
511
+          <RVCTOtherData>0</RVCTOtherData>
512
+          <ModuleSelection>0</ModuleSelection>
513
+          <IncludeInBuild>1</IncludeInBuild>
514
+          <AlwaysBuild>0</AlwaysBuild>
515
+          <GenerateAssemblyFile>0</GenerateAssemblyFile>
516
+          <AssembleAssemblyFile>0</AssembleAssemblyFile>
517
+          <PublicsOnly>0</PublicsOnly>
518
+          <StopOnExitCode>3</StopOnExitCode>
519
+          <CustomArgument></CustomArgument>
520
+          <IncludeLibraryModules></IncludeLibraryModules>
521
+          <ComprImg>1</ComprImg>
522
+        </CommonProperty>
523
+        <DllOption>
524
+          <SimDllName>SARMCM3.DLL</SimDllName>
525
+          <SimDllArguments>-REMAP</SimDllArguments>
526
+          <SimDlgDll>DARMSTM.DLL</SimDlgDll>
527
+          <SimDlgDllArguments>-pSTM32F103RB</SimDlgDllArguments>
528
+          <TargetDllName>SARMCM3.DLL</TargetDllName>
529
+          <TargetDllArguments></TargetDllArguments>
530
+          <TargetDlgDll>TARMSTM.DLL</TargetDlgDll>
531
+          <TargetDlgDllArguments>-pSTM32F103RB</TargetDlgDllArguments>
532
+        </DllOption>
533
+        <DebugOption>
534
+          <OPTHX>
535
+            <HexSelection>1</HexSelection>
536
+            <HexRangeLowAddress>0</HexRangeLowAddress>
537
+            <HexRangeHighAddress>0</HexRangeHighAddress>
538
+            <HexOffset>0</HexOffset>
539
+            <Oh166RecLen>16</Oh166RecLen>
540
+          </OPTHX>
541
+        </DebugOption>
542
+        <Utilities>
543
+          <Flash1>
544
+            <UseTargetDll>1</UseTargetDll>
545
+            <UseExternalTool>0</UseExternalTool>
546
+            <RunIndependent>0</RunIndependent>
547
+            <UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
548
+            <Capability>1</Capability>
549
+            <DriverSelection>4096</DriverSelection>
550
+          </Flash1>
551
+          <bUseTDR>1</bUseTDR>
552
+          <Flash2>BIN\UL2CM3.DLL</Flash2>
553
+          <Flash3>"" ()</Flash3>
554
+          <Flash4></Flash4>
555
+          <pFcarmOut></pFcarmOut>
556
+          <pFcarmGrp></pFcarmGrp>
557
+          <pFcArmRoot></pFcArmRoot>
558
+          <FcArmLst>0</FcArmLst>
559
+        </Utilities>
560
+        <TargetArmAds>
561
+          <ArmAdsMisc>
562
+            <GenerateListings>0</GenerateListings>
563
+            <asHll>1</asHll>
564
+            <asAsm>1</asAsm>
565
+            <asMacX>1</asMacX>
566
+            <asSyms>1</asSyms>
567
+            <asFals>1</asFals>
568
+            <asDbgD>1</asDbgD>
569
+            <asForm>1</asForm>
570
+            <ldLst>0</ldLst>
571
+            <ldmm>1</ldmm>
572
+            <ldXref>1</ldXref>
573
+            <BigEnd>0</BigEnd>
574
+            <AdsALst>1</AdsALst>
575
+            <AdsACrf>1</AdsACrf>
576
+            <AdsANop>0</AdsANop>
577
+            <AdsANot>0</AdsANot>
578
+            <AdsLLst>1</AdsLLst>
579
+            <AdsLmap>1</AdsLmap>
580
+            <AdsLcgr>1</AdsLcgr>
581
+            <AdsLsym>1</AdsLsym>
582
+            <AdsLszi>1</AdsLszi>
583
+            <AdsLtoi>1</AdsLtoi>
584
+            <AdsLsun>1</AdsLsun>
585
+            <AdsLven>1</AdsLven>
586
+            <AdsLsxf>1</AdsLsxf>
587
+            <RvctClst>0</RvctClst>
588
+            <GenPPlst>0</GenPPlst>
589
+            <AdsCpuType>"Cortex-M3"</AdsCpuType>
590
+            <RvctDeviceName></RvctDeviceName>
591
+            <mOS>0</mOS>
592
+            <uocRom>0</uocRom>
593
+            <uocRam>0</uocRam>
594
+            <hadIROM>1</hadIROM>
595
+            <hadIRAM>1</hadIRAM>
596
+            <hadXRAM>0</hadXRAM>
597
+            <uocXRam>0</uocXRam>
598
+            <RvdsVP>0</RvdsVP>
599
+            <RvdsMve>0</RvdsMve>
600
+            <RvdsCdeCp>0</RvdsCdeCp>
601
+            <hadIRAM2>0</hadIRAM2>
602
+            <hadIROM2>0</hadIROM2>
603
+            <StupSel>8</StupSel>
604
+            <useUlib>1</useUlib>
605
+            <EndSel>0</EndSel>
606
+            <uLtcg>0</uLtcg>
607
+            <nSecure>0</nSecure>
608
+            <RoSelD>3</RoSelD>
609
+            <RwSelD>3</RwSelD>
610
+            <CodeSel>0</CodeSel>
611
+            <OptFeed>0</OptFeed>
612
+            <NoZi1>0</NoZi1>
613
+            <NoZi2>0</NoZi2>
614
+            <NoZi3>0</NoZi3>
615
+            <NoZi4>0</NoZi4>
616
+            <NoZi5>0</NoZi5>
617
+            <Ro1Chk>0</Ro1Chk>
618
+            <Ro2Chk>0</Ro2Chk>
619
+            <Ro3Chk>0</Ro3Chk>
620
+            <Ir1Chk>1</Ir1Chk>
621
+            <Ir2Chk>0</Ir2Chk>
622
+            <Ra1Chk>0</Ra1Chk>
623
+            <Ra2Chk>0</Ra2Chk>
624
+            <Ra3Chk>0</Ra3Chk>
625
+            <Im1Chk>1</Im1Chk>
626
+            <Im2Chk>0</Im2Chk>
627
+            <OnChipMemories>
628
+              <Ocm1>
629
+                <Type>0</Type>
630
+                <StartAddress>0x0</StartAddress>
631
+                <Size>0x0</Size>
632
+              </Ocm1>
633
+              <Ocm2>
634
+                <Type>0</Type>
635
+                <StartAddress>0x0</StartAddress>
636
+                <Size>0x0</Size>
637
+              </Ocm2>
638
+              <Ocm3>
639
+                <Type>0</Type>
640
+                <StartAddress>0x0</StartAddress>
641
+                <Size>0x0</Size>
642
+              </Ocm3>
643
+              <Ocm4>
644
+                <Type>0</Type>
645
+                <StartAddress>0x0</StartAddress>
646
+                <Size>0x0</Size>
647
+              </Ocm4>
648
+              <Ocm5>
649
+                <Type>0</Type>
650
+                <StartAddress>0x0</StartAddress>
651
+                <Size>0x0</Size>
652
+              </Ocm5>
653
+              <Ocm6>
654
+                <Type>0</Type>
655
+                <StartAddress>0x0</StartAddress>
656
+                <Size>0x0</Size>
657
+              </Ocm6>
658
+              <IRAM>
659
+                <Type>0</Type>
660
+                <StartAddress>0x20000000</StartAddress>
661
+                <Size>0x5000</Size>
662
+              </IRAM>
663
+              <IROM>
664
+                <Type>1</Type>
665
+                <StartAddress>0x8000000</StartAddress>
666
+                <Size>0x20000</Size>
667
+              </IROM>
668
+              <XRAM>
669
+                <Type>0</Type>
670
+                <StartAddress>0x0</StartAddress>
671
+                <Size>0x0</Size>
672
+              </XRAM>
673
+              <OCR_RVCT1>
674
+                <Type>1</Type>
675
+                <StartAddress>0x0</StartAddress>
676
+                <Size>0x0</Size>
677
+              </OCR_RVCT1>
678
+              <OCR_RVCT2>
679
+                <Type>1</Type>
680
+                <StartAddress>0x0</StartAddress>
681
+                <Size>0x0</Size>
682
+              </OCR_RVCT2>
683
+              <OCR_RVCT3>
684
+                <Type>1</Type>
685
+                <StartAddress>0x0</StartAddress>
686
+                <Size>0x0</Size>
687
+              </OCR_RVCT3>
688
+              <OCR_RVCT4>
689
+                <Type>1</Type>
690
+                <StartAddress>0x8000000</StartAddress>
691
+                <Size>0x20000</Size>
692
+              </OCR_RVCT4>
693
+              <OCR_RVCT5>
694
+                <Type>1</Type>
695
+                <StartAddress>0x0</StartAddress>
696
+                <Size>0x0</Size>
697
+              </OCR_RVCT5>
698
+              <OCR_RVCT6>
699
+                <Type>0</Type>
700
+                <StartAddress>0x0</StartAddress>
701
+                <Size>0x0</Size>
702
+              </OCR_RVCT6>
703
+              <OCR_RVCT7>
704
+                <Type>0</Type>
705
+                <StartAddress>0x0</StartAddress>
706
+                <Size>0x0</Size>
707
+              </OCR_RVCT7>
708
+              <OCR_RVCT8>
709
+                <Type>0</Type>
710
+                <StartAddress>0x0</StartAddress>
711
+                <Size>0x0</Size>
712
+              </OCR_RVCT8>
713
+              <OCR_RVCT9>
714
+                <Type>0</Type>
715
+                <StartAddress>0x20000000</StartAddress>
716
+                <Size>0x5000</Size>
717
+              </OCR_RVCT9>
718
+              <OCR_RVCT10>
719
+                <Type>0</Type>
720
+                <StartAddress>0x0</StartAddress>
721
+                <Size>0x0</Size>
722
+              </OCR_RVCT10>
723
+            </OnChipMemories>
724
+            <RvctStartVector></RvctStartVector>
725
+          </ArmAdsMisc>
726
+          <Cads>
727
+            <interw>1</interw>
728
+            <Optim>1</Optim>
729
+            <oTime>0</oTime>
730
+            <SplitLS>0</SplitLS>
731
+            <OneElfS>1</OneElfS>
732
+            <Strict>0</Strict>
733
+            <EnumInt>0</EnumInt>
734
+            <PlainCh>0</PlainCh>
735
+            <Ropi>0</Ropi>
736
+            <Rwpi>0</Rwpi>
737
+            <wLevel>2</wLevel>
738
+            <uThumb>0</uThumb>
739
+            <uSurpInc>0</uSurpInc>
740
+            <uC99>0</uC99>
741
+            <uGnu>0</uGnu>
742
+            <useXO>0</useXO>
743
+            <v6Lang>3</v6Lang>
744
+            <v6LangP>3</v6LangP>
745
+            <vShortEn>1</vShortEn>
746
+            <vShortWch>1</vShortWch>
747
+            <v6Lto>0</v6Lto>
748
+            <v6WtE>0</v6WtE>
749
+            <v6Rtti>0</v6Rtti>
750
+            <VariousControls>
751
+              <MiscControls></MiscControls>
752
+              <Define></Define>
753
+              <Undefine></Undefine>
754
+              <IncludePath>.\FileInclude</IncludePath>
755
+            </VariousControls>
756
+          </Cads>
757
+          <Aads>
758
+            <interw>1</interw>
759
+            <Ropi>0</Ropi>
760
+            <Rwpi>0</Rwpi>
761
+            <thumb>0</thumb>
762
+            <SplitLS>0</SplitLS>
763
+            <SwStkChk>0</SwStkChk>
764
+            <NoWarn>0</NoWarn>
765
+            <uSurpInc>0</uSurpInc>
766
+            <useXO>0</useXO>
767
+            <ClangAsOpt>1</ClangAsOpt>
768
+            <VariousControls>
769
+              <MiscControls></MiscControls>
770
+              <Define></Define>
771
+              <Undefine></Undefine>
772
+              <IncludePath></IncludePath>
773
+            </VariousControls>
774
+          </Aads>
775
+          <LDads>
776
+            <umfTarg>1</umfTarg>
777
+            <Ropi>0</Ropi>
778
+            <Rwpi>0</Rwpi>
779
+            <noStLib>0</noStLib>
780
+            <RepFail>1</RepFail>
781
+            <useFile>0</useFile>
782
+            <TextAddressRange>0x08000000</TextAddressRange>
783
+            <DataAddressRange>0x20000000</DataAddressRange>
784
+            <pXoBase></pXoBase>
785
+            <ScatterFile>.\Objects\Projet1_Simulation.sct</ScatterFile>
786
+            <IncludeLibs></IncludeLibs>
787
+            <IncludeLibsPath></IncludeLibsPath>
788
+            <Misc></Misc>
789
+            <LinkerInputFile></LinkerInputFile>
790
+            <DisabledWarnings></DisabledWarnings>
791
+          </LDads>
792
+        </TargetArmAds>
793
+      </TargetOption>
794
+      <Groups>
795
+        <Group>
796
+          <GroupName>MesSources</GroupName>
797
+          <Files>
798
+            <File>
799
+              <FileName>prinicpal.c</FileName>
800
+              <FileType>1</FileType>
801
+              <FilePath>.\Sources\prinicpal.c</FilePath>
802
+            </File>
803
+          </Files>
804
+        </Group>
805
+        <Group>
806
+          <GroupName>MesDrivers</GroupName>
807
+          <Files>
808
+            <File>
809
+              <FileName>Driver_GPIO.c</FileName>
810
+              <FileType>1</FileType>
811
+              <FilePath>U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c</FilePath>
812
+            </File>
813
+            <File>
814
+              <FileName>MyTimer.c</FileName>
815
+              <FileType>1</FileType>
816
+              <FilePath>.\FileInclude\MyTimer.c</FilePath>
817
+            </File>
818
+            <File>
819
+              <FileName>MyTimer.h</FileName>
820
+              <FileType>5</FileType>
821
+              <FilePath>.\FileInclude\MyTimer.h</FilePath>
822
+            </File>
823
+          </Files>
824
+        </Group>
825
+        <Group>
826
+          <GroupName>::CMSIS</GroupName>
827
+        </Group>
828
+        <Group>
829
+          <GroupName>::Device</GroupName>
830
+        </Group>
831
+      </Groups>
832
+    </Target>
833
+  </Targets>
834
+
835
+  <RTE>
836
+    <apis/>
837
+    <components>
838
+      <component Cclass="CMSIS" Cgroup="CORE" Cvendor="ARM" Cversion="5.4.0" condition="ARMv6_7_8-M Device">
839
+        <package name="CMSIS" schemaVersion="1.3" url="http://www.keil.com/pack/" vendor="ARM" version="5.7.0"/>
840
+        <targetInfos>
841
+          <targetInfo name="Réel"/>
842
+          <targetInfo name="SImulation"/>
843
+        </targetInfos>
844
+      </component>
845
+      <component Cclass="Device" Cgroup="Startup" Cvendor="Keil" Cversion="1.0.0" condition="STM32F1xx CMSIS">
846
+        <package name="STM32F1xx_DFP" schemaVersion="1.4.0" url="http://www.keil.com/pack/" vendor="Keil" version="2.3.0"/>
847
+        <targetInfos>
848
+          <targetInfo name="Réel"/>
849
+          <targetInfo name="SImulation"/>
850
+        </targetInfos>
851
+      </component>
852
+    </components>
853
+    <files>
854
+      <file attr="config" category="header" name="RTE_Driver\Config\RTE_Device.h" version="1.1.2">
855
+        <instance index="0">RTE\Device\STM32F103RB\RTE_Device.h</instance>
856
+        <component Cclass="Device" Cgroup="Startup" Cvendor="Keil" Cversion="1.0.0" condition="STM32F1xx CMSIS"/>
857
+        <package name="STM32F1xx_DFP" schemaVersion="1.4.0" url="http://www.keil.com/pack/" vendor="Keil" version="2.3.0"/>
858
+        <targetInfos>
859
+          <targetInfo name="Réel"/>
860
+          <targetInfo name="SImulation"/>
861
+        </targetInfos>
862
+      </file>
863
+      <file attr="config" category="source" condition="STM32F1xx MD ARMCC" name="Device\Source\ARM\startup_stm32f10x_md.s" version="1.0.0">
864
+        <instance index="0">RTE\Device\STM32F103RB\startup_stm32f10x_md.s</instance>
865
+        <component Cclass="Device" Cgroup="Startup" Cvendor="Keil" Cversion="1.0.0" condition="STM32F1xx CMSIS"/>
866
+        <package name="STM32F1xx_DFP" schemaVersion="1.4.0" url="http://www.keil.com/pack/" vendor="Keil" version="2.3.0"/>
867
+        <targetInfos>
868
+          <targetInfo name="Réel"/>
869
+          <targetInfo name="SImulation"/>
870
+        </targetInfos>
871
+      </file>
872
+      <file attr="config" category="source" name="Device\Source\system_stm32f10x.c" version="1.0.0">
873
+        <instance index="0">RTE\Device\STM32F103RB\system_stm32f10x.c</instance>
874
+        <component Cclass="Device" Cgroup="Startup" Cvendor="Keil" Cversion="1.0.0" condition="STM32F1xx CMSIS"/>
875
+        <package name="STM32F1xx_DFP" schemaVersion="1.4.0" url="http://www.keil.com/pack/" vendor="Keil" version="2.3.0"/>
876
+        <targetInfos>
877
+          <targetInfo name="Réel"/>
878
+          <targetInfo name="SImulation"/>
879
+        </targetInfos>
880
+      </file>
881
+    </files>
882
+  </RTE>
883
+
884
+  <LayerInfo>
885
+    <Layers>
886
+      <Layer>
887
+        <LayName>Projet1</LayName>
888
+        <LayPrjMark>1</LayPrjMark>
889
+      </Layer>
890
+    </Layers>
891
+  </LayerInfo>
892
+
893
+</Project>

+ 1828
- 0
RTE/Device/STM32F103RB/RTE_Device.h
File diff suppressed because it is too large
View File


+ 307
- 0
RTE/Device/STM32F103RB/startup_stm32f10x_md.s View File

@@ -0,0 +1,307 @@
1
+;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
2
+;* File Name          : startup_stm32f10x_md.s
3
+;* Author             : MCD Application Team
4
+;* Version            : V3.5.0
5
+;* Date               : 11-March-2011
6
+;* Description        : STM32F10x Medium Density Devices vector table for MDK-ARM 
7
+;*                      toolchain.  
8
+;*                      This module performs:
9
+;*                      - Set the initial SP
10
+;*                      - Set the initial PC == Reset_Handler
11
+;*                      - Set the vector table entries with the exceptions ISR address
12
+;*                      - Configure the clock system
13
+;*                      - Branches to __main in the C library (which eventually
14
+;*                        calls main()).
15
+;*                      After Reset the CortexM3 processor is in Thread mode,
16
+;*                      priority is Privileged, and the Stack is set to Main.
17
+;* <<< Use Configuration Wizard in Context Menu >>>   
18
+;*******************************************************************************
19
+; THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
20
+; WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
21
+; AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
22
+; INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
23
+; CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
24
+; INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
25
+;*******************************************************************************
26
+
27
+; Amount of memory (in bytes) allocated for Stack
28
+; Tailor this value to your application needs
29
+; <h> Stack Configuration
30
+;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
31
+; </h>
32
+
33
+Stack_Size      EQU     0x00000400
34
+
35
+                AREA    STACK, NOINIT, READWRITE, ALIGN=3
36
+Stack_Mem       SPACE   Stack_Size
37
+__initial_sp
38
+
39
+
40
+; <h> Heap Configuration
41
+;   <o>  Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
42
+; </h>
43
+
44
+Heap_Size       EQU     0x00000200
45
+
46
+                AREA    HEAP, NOINIT, READWRITE, ALIGN=3
47
+__heap_base
48
+Heap_Mem        SPACE   Heap_Size
49
+__heap_limit
50
+
51
+                PRESERVE8
52
+                THUMB
53
+
54
+
55
+; Vector Table Mapped to Address 0 at Reset
56
+                AREA    RESET, DATA, READONLY
57
+                EXPORT  __Vectors
58
+                EXPORT  __Vectors_End
59
+                EXPORT  __Vectors_Size
60
+
61
+__Vectors       DCD     __initial_sp               ; Top of Stack
62
+                DCD     Reset_Handler              ; Reset Handler
63
+                DCD     NMI_Handler                ; NMI Handler
64
+                DCD     HardFault_Handler          ; Hard Fault Handler
65
+                DCD     MemManage_Handler          ; MPU Fault Handler
66
+                DCD     BusFault_Handler           ; Bus Fault Handler
67
+                DCD     UsageFault_Handler         ; Usage Fault Handler
68
+                DCD     0                          ; Reserved
69
+                DCD     0                          ; Reserved
70
+                DCD     0                          ; Reserved
71
+                DCD     0                          ; Reserved
72
+                DCD     SVC_Handler                ; SVCall Handler
73
+                DCD     DebugMon_Handler           ; Debug Monitor Handler
74
+                DCD     0                          ; Reserved
75
+                DCD     PendSV_Handler             ; PendSV Handler
76
+                DCD     SysTick_Handler            ; SysTick Handler
77
+
78
+                ; External Interrupts
79
+                DCD     WWDG_IRQHandler            ; Window Watchdog
80
+                DCD     PVD_IRQHandler             ; PVD through EXTI Line detect
81
+                DCD     TAMPER_IRQHandler          ; Tamper
82
+                DCD     RTC_IRQHandler             ; RTC
83
+                DCD     FLASH_IRQHandler           ; Flash
84
+                DCD     RCC_IRQHandler             ; RCC
85
+                DCD     EXTI0_IRQHandler           ; EXTI Line 0
86
+                DCD     EXTI1_IRQHandler           ; EXTI Line 1
87
+                DCD     EXTI2_IRQHandler           ; EXTI Line 2
88
+                DCD     EXTI3_IRQHandler           ; EXTI Line 3
89
+                DCD     EXTI4_IRQHandler           ; EXTI Line 4
90
+                DCD     DMA1_Channel1_IRQHandler   ; DMA1 Channel 1
91
+                DCD     DMA1_Channel2_IRQHandler   ; DMA1 Channel 2
92
+                DCD     DMA1_Channel3_IRQHandler   ; DMA1 Channel 3
93
+                DCD     DMA1_Channel4_IRQHandler   ; DMA1 Channel 4
94
+                DCD     DMA1_Channel5_IRQHandler   ; DMA1 Channel 5
95
+                DCD     DMA1_Channel6_IRQHandler   ; DMA1 Channel 6
96
+                DCD     DMA1_Channel7_IRQHandler   ; DMA1 Channel 7
97
+                DCD     ADC1_2_IRQHandler          ; ADC1_2
98
+                DCD     USB_HP_CAN1_TX_IRQHandler  ; USB High Priority or CAN1 TX
99
+                DCD     USB_LP_CAN1_RX0_IRQHandler ; USB Low  Priority or CAN1 RX0
100
+                DCD     CAN1_RX1_IRQHandler        ; CAN1 RX1
101
+                DCD     CAN1_SCE_IRQHandler        ; CAN1 SCE
102
+                DCD     EXTI9_5_IRQHandler         ; EXTI Line 9..5
103
+                DCD     TIM1_BRK_IRQHandler        ; TIM1 Break
104
+                DCD     TIM1_UP_IRQHandler         ; TIM1 Update
105
+                DCD     TIM1_TRG_COM_IRQHandler    ; TIM1 Trigger and Commutation
106
+                DCD     TIM1_CC_IRQHandler         ; TIM1 Capture Compare
107
+                DCD     TIM2_IRQHandler            ; TIM2
108
+                DCD     TIM3_IRQHandler            ; TIM3
109
+                DCD     TIM4_IRQHandler            ; TIM4
110
+                DCD     I2C1_EV_IRQHandler         ; I2C1 Event
111
+                DCD     I2C1_ER_IRQHandler         ; I2C1 Error
112
+                DCD     I2C2_EV_IRQHandler         ; I2C2 Event
113
+                DCD     I2C2_ER_IRQHandler         ; I2C2 Error
114
+                DCD     SPI1_IRQHandler            ; SPI1
115
+                DCD     SPI2_IRQHandler            ; SPI2
116
+                DCD     USART1_IRQHandler          ; USART1
117
+                DCD     USART2_IRQHandler          ; USART2
118
+                DCD     USART3_IRQHandler          ; USART3
119
+                DCD     EXTI15_10_IRQHandler       ; EXTI Line 15..10
120
+                DCD     RTCAlarm_IRQHandler        ; RTC Alarm through EXTI Line
121
+                DCD     USBWakeUp_IRQHandler       ; USB Wakeup from suspend
122
+__Vectors_End
123
+
124
+__Vectors_Size  EQU  __Vectors_End - __Vectors
125
+
126
+                AREA    |.text|, CODE, READONLY
127
+
128
+; Reset handler
129
+Reset_Handler    PROC
130
+                 EXPORT  Reset_Handler             [WEAK]
131
+     IMPORT  __main
132
+     IMPORT  SystemInit
133
+                 LDR     R0, =SystemInit
134
+                 BLX     R0
135
+                 LDR     R0, =__main
136
+                 BX      R0
137
+                 ENDP
138
+
139
+; Dummy Exception Handlers (infinite loops which can be modified)
140
+
141
+NMI_Handler     PROC
142
+                EXPORT  NMI_Handler                [WEAK]
143
+                B       .
144
+                ENDP
145
+HardFault_Handler\
146
+                PROC
147
+                EXPORT  HardFault_Handler          [WEAK]
148
+                B       .
149
+                ENDP
150
+MemManage_Handler\
151
+                PROC
152
+                EXPORT  MemManage_Handler          [WEAK]
153
+                B       .
154
+                ENDP
155
+BusFault_Handler\
156
+                PROC
157
+                EXPORT  BusFault_Handler           [WEAK]
158
+                B       .
159
+                ENDP
160
+UsageFault_Handler\
161
+                PROC
162
+                EXPORT  UsageFault_Handler         [WEAK]
163
+                B       .
164
+                ENDP
165
+SVC_Handler     PROC
166
+                EXPORT  SVC_Handler                [WEAK]
167
+                B       .
168
+                ENDP
169
+DebugMon_Handler\
170
+                PROC
171
+                EXPORT  DebugMon_Handler           [WEAK]
172
+                B       .
173
+                ENDP
174
+PendSV_Handler  PROC
175
+                EXPORT  PendSV_Handler             [WEAK]
176
+                B       .
177
+                ENDP
178
+SysTick_Handler PROC
179
+                EXPORT  SysTick_Handler            [WEAK]
180
+                B       .
181
+                ENDP
182
+
183
+Default_Handler PROC
184
+
185
+                EXPORT  WWDG_IRQHandler            [WEAK]
186
+                EXPORT  PVD_IRQHandler             [WEAK]
187
+                EXPORT  TAMPER_IRQHandler          [WEAK]
188
+                EXPORT  RTC_IRQHandler             [WEAK]
189
+                EXPORT  FLASH_IRQHandler           [WEAK]
190
+                EXPORT  RCC_IRQHandler             [WEAK]
191
+                EXPORT  EXTI0_IRQHandler           [WEAK]
192
+                EXPORT  EXTI1_IRQHandler           [WEAK]
193
+                EXPORT  EXTI2_IRQHandler           [WEAK]
194
+                EXPORT  EXTI3_IRQHandler           [WEAK]
195
+                EXPORT  EXTI4_IRQHandler           [WEAK]
196
+                EXPORT  DMA1_Channel1_IRQHandler   [WEAK]
197
+                EXPORT  DMA1_Channel2_IRQHandler   [WEAK]
198
+                EXPORT  DMA1_Channel3_IRQHandler   [WEAK]
199
+                EXPORT  DMA1_Channel4_IRQHandler   [WEAK]
200
+                EXPORT  DMA1_Channel5_IRQHandler   [WEAK]
201
+                EXPORT  DMA1_Channel6_IRQHandler   [WEAK]
202
+                EXPORT  DMA1_Channel7_IRQHandler   [WEAK]
203
+                EXPORT  ADC1_2_IRQHandler          [WEAK]
204
+                EXPORT  USB_HP_CAN1_TX_IRQHandler  [WEAK]
205
+                EXPORT  USB_LP_CAN1_RX0_IRQHandler [WEAK]
206
+                EXPORT  CAN1_RX1_IRQHandler        [WEAK]
207
+                EXPORT  CAN1_SCE_IRQHandler        [WEAK]
208
+                EXPORT  EXTI9_5_IRQHandler         [WEAK]
209
+                EXPORT  TIM1_BRK_IRQHandler        [WEAK]
210
+                EXPORT  TIM1_UP_IRQHandler         [WEAK]
211
+                EXPORT  TIM1_TRG_COM_IRQHandler    [WEAK]
212
+                EXPORT  TIM1_CC_IRQHandler         [WEAK]
213
+                EXPORT  TIM2_IRQHandler            [WEAK]
214
+                EXPORT  TIM3_IRQHandler            [WEAK]
215
+                EXPORT  TIM4_IRQHandler            [WEAK]
216
+                EXPORT  I2C1_EV_IRQHandler         [WEAK]
217
+                EXPORT  I2C1_ER_IRQHandler         [WEAK]
218
+                EXPORT  I2C2_EV_IRQHandler         [WEAK]
219
+                EXPORT  I2C2_ER_IRQHandler         [WEAK]
220
+                EXPORT  SPI1_IRQHandler            [WEAK]
221
+                EXPORT  SPI2_IRQHandler            [WEAK]
222
+                EXPORT  USART1_IRQHandler          [WEAK]
223
+                EXPORT  USART2_IRQHandler          [WEAK]
224
+                EXPORT  USART3_IRQHandler          [WEAK]
225
+                EXPORT  EXTI15_10_IRQHandler       [WEAK]
226
+                EXPORT  RTCAlarm_IRQHandler        [WEAK]
227
+                EXPORT  USBWakeUp_IRQHandler       [WEAK]
228
+
229
+WWDG_IRQHandler
230
+PVD_IRQHandler
231
+TAMPER_IRQHandler
232
+RTC_IRQHandler
233
+FLASH_IRQHandler
234
+RCC_IRQHandler
235
+EXTI0_IRQHandler
236
+EXTI1_IRQHandler
237
+EXTI2_IRQHandler
238
+EXTI3_IRQHandler
239
+EXTI4_IRQHandler
240
+DMA1_Channel1_IRQHandler
241
+DMA1_Channel2_IRQHandler
242
+DMA1_Channel3_IRQHandler
243
+DMA1_Channel4_IRQHandler
244
+DMA1_Channel5_IRQHandler
245
+DMA1_Channel6_IRQHandler
246
+DMA1_Channel7_IRQHandler
247
+ADC1_2_IRQHandler
248
+USB_HP_CAN1_TX_IRQHandler
249
+USB_LP_CAN1_RX0_IRQHandler
250
+CAN1_RX1_IRQHandler
251
+CAN1_SCE_IRQHandler
252
+EXTI9_5_IRQHandler
253
+TIM1_BRK_IRQHandler
254
+TIM1_UP_IRQHandler
255
+TIM1_TRG_COM_IRQHandler
256
+TIM1_CC_IRQHandler
257
+TIM2_IRQHandler
258
+TIM3_IRQHandler
259
+TIM4_IRQHandler
260
+I2C1_EV_IRQHandler
261
+I2C1_ER_IRQHandler
262
+I2C2_EV_IRQHandler
263
+I2C2_ER_IRQHandler
264
+SPI1_IRQHandler
265
+SPI2_IRQHandler
266
+USART1_IRQHandler
267
+USART2_IRQHandler
268
+USART3_IRQHandler
269
+EXTI15_10_IRQHandler
270
+RTCAlarm_IRQHandler
271
+USBWakeUp_IRQHandler
272
+
273
+                B       .
274
+
275
+                ENDP
276
+
277
+                ALIGN
278
+
279
+;*******************************************************************************
280
+; User Stack and Heap initialization
281
+;*******************************************************************************
282
+                 IF      :DEF:__MICROLIB           
283
+                
284
+                 EXPORT  __initial_sp
285
+                 EXPORT  __heap_base
286
+                 EXPORT  __heap_limit
287
+                
288
+                 ELSE
289
+                
290
+                 IMPORT  __use_two_region_memory
291
+                 EXPORT  __user_initial_stackheap
292
+                 
293
+__user_initial_stackheap
294
+
295
+                 LDR     R0, =  Heap_Mem
296
+                 LDR     R1, =(Stack_Mem + Stack_Size)
297
+                 LDR     R2, = (Heap_Mem +  Heap_Size)
298
+                 LDR     R3, = Stack_Mem
299
+                 BX      LR
300
+
301
+                 ALIGN
302
+
303
+                 ENDIF
304
+
305
+                 END
306
+
307
+;******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE*****

+ 1094
- 0
RTE/Device/STM32F103RB/system_stm32f10x.c
File diff suppressed because it is too large
View File


+ 21
- 0
RTE/_R_el/RTE_Components.h View File

@@ -0,0 +1,21 @@
1
+
2
+/*
3
+ * Auto generated Run-Time-Environment Configuration File
4
+ *      *** Do not modify ! ***
5
+ *
6
+ * Project: 'Projet1' 
7
+ * Target:  'Réel' 
8
+ */
9
+
10
+#ifndef RTE_COMPONENTS_H
11
+#define RTE_COMPONENTS_H
12
+
13
+
14
+/*
15
+ * Define the Device Header File: 
16
+ */
17
+#define CMSIS_device_header "stm32f10x.h"
18
+
19
+
20
+
21
+#endif /* RTE_COMPONENTS_H */

+ 21
- 0
RTE/_SImulation/RTE_Components.h View File

@@ -0,0 +1,21 @@
1
+
2
+/*
3
+ * Auto generated Run-Time-Environment Configuration File
4
+ *      *** Do not modify ! ***
5
+ *
6
+ * Project: 'Projet1' 
7
+ * Target:  'SImulation' 
8
+ */
9
+
10
+#ifndef RTE_COMPONENTS_H
11
+#define RTE_COMPONENTS_H
12
+
13
+
14
+/*
15
+ * Define the Device Header File: 
16
+ */
17
+#define CMSIS_device_header "stm32f10x.h"
18
+
19
+
20
+
21
+#endif /* RTE_COMPONENTS_H */

+ 21
- 0
RTE/_Target_1/RTE_Components.h View File

@@ -0,0 +1,21 @@
1
+
2
+/*
3
+ * Auto generated Run-Time-Environment Configuration File
4
+ *      *** Do not modify ! ***
5
+ *
6
+ * Project: 'Projet1' 
7
+ * Target:  'Target 1' 
8
+ */
9
+
10
+#ifndef RTE_COMPONENTS_H
11
+#define RTE_COMPONENTS_H
12
+
13
+
14
+/*
15
+ * Define the Device Header File: 
16
+ */
17
+#define CMSIS_device_header "stm32f10x.h"
18
+
19
+
20
+
21
+#endif /* RTE_COMPONENTS_H */

+ 24
- 0
Sources/prinicpal.c View File

@@ -0,0 +1,24 @@
1
+#include "stm32f10x.h"
2
+#include <Driver_GPIO.h>
3
+#include <MyTimer.h>
4
+
5
+int main (void)
6
+{
7
+	char channel = 1;
8
+	// Configuration du timer
9
+	MyTimer_Struct_TypeDef TIM;
10
+	MyTimer_Struct_TypeDef * Data = &TIM;
11
+	Data->Timer = TIM2;
12
+	Data->ARR = 65535;
13
+	Data->PSC = 548;
14
+	MyTimer_Base_Init(Data);
15
+	
16
+	MyTimer_PWM(Data->Timer, channel);
17
+
18
+	MyTimer_Base_Start(TIM2);
19
+	
20
+	Set_PWM_PRCT(Data->Timer, channel, 20);
21
+	do {
22
+		}
23
+	while (1);
24
+}

Loading…
Cancel
Save