diff --git a/.vscode/settings.json b/.vscode/settings.json index 4d3b8aa..f0eccf7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,9 @@ { "files.associations": { "stm32f10x.h": "c", - "driver_gpio.h": "c" + "driver_gpio.h": "c", + "atomic": "c", + "cstdint": "c" }, "C_Cpp.errorSquiggles": "disabled" } \ No newline at end of file diff --git a/drivers/Driver_ADC.c b/drivers/Driver_ADC.c index d5bbb79..a6747d7 100644 --- a/drivers/Driver_ADC.c +++ b/drivers/Driver_ADC.c @@ -1 +1,3 @@ -#include "Driver_Timer.h" \ No newline at end of file +#include "Driver_Timer.h" + +// Todo \ No newline at end of file diff --git a/drivers/Driver_ADC.h b/drivers/Driver_ADC.h index eb3a8d8..bfadbc4 100644 --- a/drivers/Driver_ADC.h +++ b/drivers/Driver_ADC.h @@ -3,7 +3,10 @@ #include "stm32f10x.h" -// Todo - +typedef struct { + ADC_TypeDef * ADC; // Pointeur vers la structure de regitre GPIO défini dans stm32f10x_gpio.h + char GPIO_Pin; //numero de 0 a 15 + char GPIO_Conf; // voir ci dessous +} MyADC_Struct_TypeDef; #endif \ No newline at end of file diff --git a/drivers/Driver_GPIO.c b/drivers/Driver_GPIO.c index e5a32c1..ffc28f1 100644 --- a/drivers/Driver_GPIO.c +++ b/drivers/Driver_GPIO.c @@ -1,7 +1,9 @@ #include "Driver_GPIO.h" #include "stm32f10x.h" + void MyGPIO_Init(MyGPIO_Struct_TypeDef * GPIOStructPtr) { + // Activation de l'horloge correspondante au port GPIO if (GPIOStructPtr->GPIO == GPIOA) { RCC->APB2ENR |= RCC_APB2ENR_IOPAEN; @@ -12,22 +14,25 @@ void MyGPIO_Init(MyGPIO_Struct_TypeDef * GPIOStructPtr) { } else if (GPIOStructPtr->GPIO == GPIOD) { RCC->APB2ENR |= RCC_APB2ENR_IOPDEN; } - - // Configuration de la broche GPIO - if (GPIOStructPtr->GPIO_Pin < 8) { // CRL Configure les GPIO de 0 à 7 - GPIOStructPtr->GPIO->CRL &= ~(0xF << (4 * GPIOStructPtr->GPIO_Pin)); // Efface les 4 bits correspondant à la broche GPIO, on calcule la position à partir du début en multipliant par 4 (eg. 4 * GPIO5 = 20), on fais un masque avec 0b1111 (0xF) ensuite pour mettre à 0 les bits présents - GPIOStructPtr->GPIO->CRL |= (GPIOStructPtr->GPIO_Conf << (4 * GPIOStructPtr->GPIO_Pin)); // Ajoute la configuration pour la broche GPIO - } else { // CRH Configure les GPIO de 8 à 15 - GPIOStructPtr->GPIO->CRL &= ~(0xF << (4 * (GPIOStructPtr->GPIO_Pin - 8))); - GPIOStructPtr->GPIO->CRL |= (GPIOStructPtr->GPIO_Conf << (4 * (GPIOStructPtr->GPIO_Pin - 8))); // On soutrait de 8 car la première broche de CRH est la 8 (8 - 8 == 0) - } - + // Configuration d'une résistance de pull-up ou pull-down si nécessaire if (GPIOStructPtr->GPIO_Conf == In_PullUp) { GPIOStructPtr->GPIO->ODR |= (1 << GPIOStructPtr->GPIO_Pin); } else if (GPIOStructPtr->GPIO_Conf == In_PullDown) { GPIOStructPtr->GPIO->ODR &= ~(1 << GPIOStructPtr->GPIO_Pin); + GPIOStructPtr->GPIO_Conf >>= 4; // Delete the F added to differenciate PullUp and PullDown (0x8F >>4 -> 0x8) to allow correct configuration } + + // Configuration de la broche GPIO + if (GPIOStructPtr->GPIO_Pin < 8) { // CRL Configure les GPIO de 0 à 7 + GPIOStructPtr->GPIO->CRL &= ~(0xF << (4 * GPIOStructPtr->GPIO_Pin)); // Efface les 4 bits correspondant à la broche GPIO, on calcule la position à partir du début en multipliant par 4 (eg. 4 * GPIO5 = 20), on fais un masque avec 0b1111 (0xF) ensuite pour mettre à 0 les bits présents + GPIOStructPtr->GPIO->CRL |= (GPIOStructPtr->GPIO_Conf << (4 * GPIOStructPtr->GPIO_Pin)); // Ajoute la configuration pour la broche GPIO + } else { // CRH Configure les GPIO de 8 à 15 + GPIOStructPtr->GPIO->CRH &= ~(0xF << (4 * (GPIOStructPtr->GPIO_Pin - 8))); + GPIOStructPtr->GPIO->CRH |= (GPIOStructPtr->GPIO_Conf << (4 * (GPIOStructPtr->GPIO_Pin - 8))); // On soutrait de 8 car la première broche de CRH est la 8 (8 - 8 == 0) + } + + } int MyGPIO_Read(GPIO_TypeDef * GPIO, char GPIO_Pin) { @@ -55,4 +60,4 @@ void MyGPIO_Reset(GPIO_TypeDef * GPIO, char GPIO_Pin) void MyGPIO_Toggle(GPIO_TypeDef * GPIO, char GPIO_Pin) { GPIO->ODR ^= (1 << GPIO_Pin); // On fait un XOR pour toggle la pin correspondante -} \ No newline at end of file +} diff --git a/drivers/Driver_GPIO.h b/drivers/Driver_GPIO.h index 144a670..3e3541e 100644 --- a/drivers/Driver_GPIO.h +++ b/drivers/Driver_GPIO.h @@ -10,8 +10,8 @@ typedef struct { #define In_Floating 0x4 // 0x0100 -#define In_PullDown 0x8 // 0x1000 #define In_PullUp 0x8 // 0x1000 (même valeur que In_PullDown) +#define In_PullDown 0x8F // 0x1000 //F added to differenciate PullUp and PullDown #define In_Analog 0x0 // 0x0000 #define Out_Ppull 0x1 // 0x0001 #define Out_OD 0x5 // 0x0101 diff --git a/drivers/Driver_Timer.c b/drivers/Driver_Timer.c index 35c6b79..64ff1e2 100644 --- a/drivers/Driver_Timer.c +++ b/drivers/Driver_Timer.c @@ -1,16 +1,22 @@ #include "Driver_Timer.h" - -void MyTimer_Base_Init(MyTimer_Struct_TypeDef * Timer) +void MyTimer_Init(MyTimer_Struct_TypeDef *Timer) { // Activation de l'horloge correspondante au Timer - if (Timer->Timer == TIM1) { + if (Timer->Timer == TIM1) + { RCC->APB2ENR |= RCC_APB2ENR_TIM1EN; // Voir p140 du manual - } else if (Timer->Timer == TIM2) { + } + else if (Timer->Timer == TIM2) + { RCC->APB1ENR |= RCC_APB1ENR_TIM2EN; - } else if (Timer->Timer == TIM3) { - RCC->APB1ENR |= RCC_APB1ENR_TIM3EN; - } else if (Timer->Timer == TIM4) { + } + else if (Timer->Timer == TIM3) + { + RCC->APB1ENR |= RCC_APB1ENR_TIM3EN; + } + else if (Timer->Timer == TIM4) + { RCC->APB1ENR |= RCC_APB1ENR_TIM4EN; } @@ -18,14 +24,15 @@ void MyTimer_Base_Init(MyTimer_Struct_TypeDef * Timer) // Le compteur du registre PSC commence à zéro, donc on soustrait 1 pour éviter les débordements. Timer->Timer->PSC = Timer->PSC - 1; // Valeur du prescaler Timer->Timer->ARR = Timer->ARR - 1; // Valeur de l'autoreload -> Quand cette valeur est atteinte le timer est réinitialisé - Timer->Timer->CR1 |= TIM_CR1_ARPE; // Active "Autoreload preload" pour prendre en compte immédiatement les modifications de la valeur de l'autoreload (ARR) lors du prochain cycle de Timer. - + Timer->Timer->CR1 |= TIM_CR1_ARPE; // Active "Autoreload preload" pour prendre en compte immédiatement les modifications de la valeur de l'autoreload (ARR) lors du prochain cycle de Timer. } -void MyTimer_Base_Start(MyTimer_Struct_TypeDef * Timer) { +void MyTimer_Start(MyTimer_Struct_TypeDef *Timer) +{ Timer->Timer->CR1 |= TIM_CR1_CEN; // Démarre le Timer } -void MyTimer_Base_Stop(MyTimer_Struct_TypeDef * Timer) { +void MyTimer_Stop(MyTimer_Struct_TypeDef *Timer) +{ Timer->Timer->CR1 &= ~TIM_CR1_CEN; // Arrête le Timer } \ No newline at end of file diff --git a/drivers/Driver_Timer.h b/drivers/Driver_Timer.h index abb16c4..c34de31 100644 --- a/drivers/Driver_Timer.h +++ b/drivers/Driver_Timer.h @@ -15,7 +15,7 @@ typedef struct void MyTimer_Base_Init(MyTimer_Struct_TypeDef * Timer); void MyTimer_Base_Start(MyTimer_Struct_TypeDef * Timer); void MyTimer_Base_Stop(MyTimer_Struct_TypeDef * Timer); - +void MyTimer_Base_Reset(MyTimer_Struct_TypeDef * Timer); //#define MyTimer_Base_Start(Timer) //#define MyTimer_Base_Stop(Timer) diff --git a/projet_1/Listings/tp_sim.map b/projet_1/Listings/tp_sim.map index 813fda8..9fefc72 100644 --- a/projet_1/Listings/tp_sim.map +++ b/projet_1/Listings/tp_sim.map @@ -4,21 +4,21 @@ Component: Arm Compiler for Embedded 6.19 Tool: armlink [5e73cb00] Section Cross References - main.o(.ARM.exidx.text.delay) refers to main.o(.text.delay) for [Anonymous Symbol] main.o(.text.main) refers to driver_gpio.o(.text.MyGPIO_Init) for MyGPIO_Init - main.o(.text.main) refers to driver_timer.o(.text.MyTimer_Base_Init) for MyTimer_Base_Init - main.o(.text.main) refers to driver_timer.o(.text.MyTimer_Base_Start) for MyTimer_Base_Start - main.o(.text.main) refers to driver_gpio.o(.text.MyGPIO_Toggle) for MyGPIO_Toggle - main.o(.text.main) refers to driver_timer.o(.text.MyTimer_Base_Stop) for MyTimer_Base_Stop + main.o(.text.main) refers to driver_timer.o(.text.MyTimer_Init) for MyTimer_Init + main.o(.text.main) refers to driver_timer.o(.text.MyTimer_Start) for MyTimer_Start + main.o(.text.main) refers to driver_timer.o(.text.MyTimer_Stop) for MyTimer_Stop + main.o(.text.main) refers to driver_gpio.o(.text.MyGPIO_Set) for MyGPIO_Set + main.o(.text.main) refers to driver_gpio.o(.text.MyGPIO_Reset) for MyGPIO_Reset main.o(.ARM.exidx.text.main) refers to main.o(.text.main) for [Anonymous Symbol] driver_gpio.o(.ARM.exidx.text.MyGPIO_Init) refers to driver_gpio.o(.text.MyGPIO_Init) for [Anonymous Symbol] driver_gpio.o(.ARM.exidx.text.MyGPIO_Read) refers to driver_gpio.o(.text.MyGPIO_Read) for [Anonymous Symbol] driver_gpio.o(.ARM.exidx.text.MyGPIO_Set) refers to driver_gpio.o(.text.MyGPIO_Set) for [Anonymous Symbol] driver_gpio.o(.ARM.exidx.text.MyGPIO_Reset) refers to driver_gpio.o(.text.MyGPIO_Reset) for [Anonymous Symbol] driver_gpio.o(.ARM.exidx.text.MyGPIO_Toggle) refers to driver_gpio.o(.text.MyGPIO_Toggle) for [Anonymous Symbol] - driver_timer.o(.ARM.exidx.text.MyTimer_Base_Init) refers to driver_timer.o(.text.MyTimer_Base_Init) for [Anonymous Symbol] - driver_timer.o(.ARM.exidx.text.MyTimer_Base_Start) refers to driver_timer.o(.text.MyTimer_Base_Start) for [Anonymous Symbol] - driver_timer.o(.ARM.exidx.text.MyTimer_Base_Stop) refers to driver_timer.o(.text.MyTimer_Base_Stop) for [Anonymous Symbol] + driver_timer.o(.ARM.exidx.text.MyTimer_Init) refers to driver_timer.o(.text.MyTimer_Init) for [Anonymous Symbol] + driver_timer.o(.ARM.exidx.text.MyTimer_Start) refers to driver_timer.o(.text.MyTimer_Start) for [Anonymous Symbol] + driver_timer.o(.ARM.exidx.text.MyTimer_Stop) refers to driver_timer.o(.text.MyTimer_Stop) for [Anonymous Symbol] startup_stm32f10x_md.o(RESET) refers to startup_stm32f10x_md.o(STACK) for __initial_sp startup_stm32f10x_md.o(RESET) refers to startup_stm32f10x_md.o(.text) for Reset_Handler startup_stm32f10x_md.o(.text) refers to system_stm32f10x.o(.text.SystemInit) for SystemInit @@ -49,23 +49,21 @@ Section Cross References Removing Unused input sections from the image. Removing main.o(.text), (0 bytes). - Removing main.o(.text.delay), (2 bytes). - Removing main.o(.ARM.exidx.text.delay), (8 bytes). Removing main.o(.ARM.exidx.text.main), (8 bytes). Removing main.o(.ARM.use_no_argv), (4 bytes). Removing driver_gpio.o(.text), (0 bytes). Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Init), (8 bytes). Removing driver_gpio.o(.text.MyGPIO_Read), (10 bytes). Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Read), (8 bytes). - Removing driver_gpio.o(.text.MyGPIO_Set), (14 bytes). Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Set), (8 bytes). - Removing driver_gpio.o(.text.MyGPIO_Reset), (10 bytes). Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Reset), (8 bytes). + Removing driver_gpio.o(.text.MyGPIO_Toggle), (14 bytes). Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Toggle), (8 bytes). Removing driver_timer.o(.text), (0 bytes). - Removing driver_timer.o(.ARM.exidx.text.MyTimer_Base_Init), (8 bytes). - Removing driver_timer.o(.ARM.exidx.text.MyTimer_Base_Start), (8 bytes). - Removing driver_timer.o(.ARM.exidx.text.MyTimer_Base_Stop), (8 bytes). + Removing driver_timer.o(.ARM.exidx.text.MyTimer_Init), (8 bytes). + Removing driver_timer.o(.ARM.exidx.text.MyTimer_Start), (8 bytes). + Removing driver_timer.o(.ARM.exidx.text.MyTimer_Stop), (8 bytes). + Removing driver_adc.o(.text), (0 bytes). Removing startup_stm32f10x_md.o(HEAP), (512 bytes). Removing system_stm32f10x.o(.text), (0 bytes). Removing system_stm32f10x.o(.ARM.exidx.text.SystemInit), (8 bytes). @@ -74,7 +72,7 @@ Removing Unused input sections from the image. Removing system_stm32f10x.o(.data.SystemCoreClock), (4 bytes). Removing system_stm32f10x.o(.rodata.AHBPrescTable), (16 bytes). -25 unused section(s) (total 778 bytes) removed from the image. +23 unused section(s) (total 758 bytes) removed from the image. ============================================================================== @@ -97,6 +95,7 @@ Image Symbol Table ../clib/microlib/init/entry.s 0x00000000 Number 0 entry10b.o ABSOLUTE ../clib/microlib/init/entry.s 0x00000000 Number 0 entry11a.o ABSOLUTE ../clib/microlib/init/entry.s 0x00000000 Number 0 entry11b.o ABSOLUTE + Driver_ADC.c 0x00000000 Number 0 driver_adc.o ABSOLUTE Driver_GPIO.c 0x00000000 Number 0 driver_gpio.o ABSOLUTE Driver_Timer.c 0x00000000 Number 0 driver_timer.o ABSOLUTE RTE/Device/STM32F103RB/startup_stm32f10x_md.s 0x00000000 Number 0 startup_stm32f10x_md.o ABSOLUTE @@ -119,15 +118,16 @@ Image Symbol Table .text 0x08000100 Section 36 startup_stm32f10x_md.o(.text) .text 0x08000124 Section 36 init.o(.text) [Anonymous Symbol] 0x08000148 Section 0 driver_gpio.o(.text.MyGPIO_Init) - [Anonymous Symbol] 0x080001c8 Section 0 driver_gpio.o(.text.MyGPIO_Toggle) - [Anonymous Symbol] 0x080001d8 Section 0 driver_timer.o(.text.MyTimer_Base_Init) - [Anonymous Symbol] 0x08000270 Section 0 driver_timer.o(.text.MyTimer_Base_Start) - [Anonymous Symbol] 0x0800027c Section 0 driver_timer.o(.text.MyTimer_Base_Stop) - [Anonymous Symbol] 0x08000288 Section 0 system_stm32f10x.o(.text.SystemInit) - [Anonymous Symbol] 0x08000398 Section 0 main.o(.text.main) - i.__scatterload_copy 0x08000406 Section 14 handlers.o(i.__scatterload_copy) - i.__scatterload_null 0x08000414 Section 2 handlers.o(i.__scatterload_null) - i.__scatterload_zeroinit 0x08000416 Section 14 handlers.o(i.__scatterload_zeroinit) + [Anonymous Symbol] 0x080001e8 Section 0 driver_gpio.o(.text.MyGPIO_Reset) + [Anonymous Symbol] 0x080001f4 Section 0 driver_gpio.o(.text.MyGPIO_Set) + [Anonymous Symbol] 0x08000204 Section 0 driver_timer.o(.text.MyTimer_Init) + [Anonymous Symbol] 0x0800029c Section 0 driver_timer.o(.text.MyTimer_Start) + [Anonymous Symbol] 0x080002a8 Section 0 driver_timer.o(.text.MyTimer_Stop) + [Anonymous Symbol] 0x080002b4 Section 0 system_stm32f10x.o(.text.SystemInit) + [Anonymous Symbol] 0x080003c4 Section 0 main.o(.text.main) + i.__scatterload_copy 0x08000466 Section 14 handlers.o(i.__scatterload_copy) + i.__scatterload_null 0x08000474 Section 2 handlers.o(i.__scatterload_null) + i.__scatterload_zeroinit 0x08000476 Section 14 handlers.o(i.__scatterload_zeroinit) STACK 0x20000000 Section 1024 startup_stm32f10x_md.o(STACK) Global Symbols @@ -207,18 +207,19 @@ Image Symbol Table WWDG_IRQHandler 0x0800011b Thumb Code 0 startup_stm32f10x_md.o(.text) __scatterload 0x08000125 Thumb Code 28 init.o(.text) __scatterload_rt2 0x08000125 Thumb Code 0 init.o(.text) - MyGPIO_Init 0x08000149 Thumb Code 112 driver_gpio.o(.text.MyGPIO_Init) - MyGPIO_Toggle 0x080001c9 Thumb Code 14 driver_gpio.o(.text.MyGPIO_Toggle) - MyTimer_Base_Init 0x080001d9 Thumb Code 152 driver_timer.o(.text.MyTimer_Base_Init) - MyTimer_Base_Start 0x08000271 Thumb Code 12 driver_timer.o(.text.MyTimer_Base_Start) - MyTimer_Base_Stop 0x0800027d Thumb Code 12 driver_timer.o(.text.MyTimer_Base_Stop) - SystemInit 0x08000289 Thumb Code 272 system_stm32f10x.o(.text.SystemInit) - main 0x08000399 Thumb Code 110 main.o(.text.main) - __scatterload_copy 0x08000407 Thumb Code 14 handlers.o(i.__scatterload_copy) - __scatterload_null 0x08000415 Thumb Code 2 handlers.o(i.__scatterload_null) - __scatterload_zeroinit 0x08000417 Thumb Code 14 handlers.o(i.__scatterload_zeroinit) - Region$$Table$$Base 0x08000424 Number 0 anon$$obj.o(Region$$Table) - Region$$Table$$Limit 0x08000434 Number 0 anon$$obj.o(Region$$Table) + MyGPIO_Init 0x08000149 Thumb Code 144 driver_gpio.o(.text.MyGPIO_Init) + MyGPIO_Reset 0x080001e9 Thumb Code 10 driver_gpio.o(.text.MyGPIO_Reset) + MyGPIO_Set 0x080001f5 Thumb Code 14 driver_gpio.o(.text.MyGPIO_Set) + MyTimer_Init 0x08000205 Thumb Code 152 driver_timer.o(.text.MyTimer_Init) + MyTimer_Start 0x0800029d Thumb Code 12 driver_timer.o(.text.MyTimer_Start) + MyTimer_Stop 0x080002a9 Thumb Code 12 driver_timer.o(.text.MyTimer_Stop) + SystemInit 0x080002b5 Thumb Code 272 system_stm32f10x.o(.text.SystemInit) + main 0x080003c5 Thumb Code 162 main.o(.text.main) + __scatterload_copy 0x08000467 Thumb Code 14 handlers.o(i.__scatterload_copy) + __scatterload_null 0x08000475 Thumb Code 2 handlers.o(i.__scatterload_null) + __scatterload_zeroinit 0x08000477 Thumb Code 14 handlers.o(i.__scatterload_zeroinit) + Region$$Table$$Base 0x08000484 Number 0 anon$$obj.o(Region$$Table) + Region$$Table$$Limit 0x08000494 Number 0 anon$$obj.o(Region$$Table) __initial_sp 0x20000400 Data 0 startup_stm32f10x_md.o(STACK) @@ -229,48 +230,50 @@ Memory Map of the image Image Entry point : 0x08000101 - Load Region LR_1 (Base: 0x08000000, Size: 0x00000434, Max: 0xffffffff, ABSOLUTE) + Load Region LR_1 (Base: 0x08000000, Size: 0x00000494, Max: 0xffffffff, ABSOLUTE) - Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000434, Max: 0xffffffff, ABSOLUTE) + Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000494, Max: 0xffffffff, ABSOLUTE) Exec Addr Load Addr Size Type Attr Idx E Section Name Object - 0x08000000 0x08000000 0x000000ec Data RO 47 RESET startup_stm32f10x_md.o - 0x080000ec 0x080000ec 0x00000000 Code RO 68 * .ARM.Collect$$$$00000000 mc_w.l(entry.o) - 0x080000ec 0x080000ec 0x00000004 Code RO 71 .ARM.Collect$$$$00000001 mc_w.l(entry2.o) - 0x080000f0 0x080000f0 0x00000004 Code RO 74 .ARM.Collect$$$$00000004 mc_w.l(entry5.o) - 0x080000f4 0x080000f4 0x00000000 Code RO 76 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o) - 0x080000f4 0x080000f4 0x00000000 Code RO 78 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o) - 0x080000f4 0x080000f4 0x00000008 Code RO 79 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o) - 0x080000fc 0x080000fc 0x00000000 Code RO 81 .ARM.Collect$$$$0000000D mc_w.l(entry10a.o) - 0x080000fc 0x080000fc 0x00000000 Code RO 83 .ARM.Collect$$$$0000000F mc_w.l(entry11a.o) - 0x080000fc 0x080000fc 0x00000004 Code RO 72 .ARM.Collect$$$$00002712 mc_w.l(entry2.o) - 0x08000100 0x08000100 0x00000024 Code RO 48 * .text startup_stm32f10x_md.o - 0x08000124 0x08000124 0x00000024 Code RO 85 .text mc_w.l(init.o) - 0x08000148 0x08000148 0x00000080 Code RO 14 .text.MyGPIO_Init driver_gpio.o - 0x080001c8 0x080001c8 0x0000000e Code RO 22 .text.MyGPIO_Toggle driver_gpio.o - 0x080001d6 0x080001d6 0x00000002 PAD - 0x080001d8 0x080001d8 0x00000098 Code RO 32 .text.MyTimer_Base_Init driver_timer.o - 0x08000270 0x08000270 0x0000000c Code RO 34 .text.MyTimer_Base_Start driver_timer.o - 0x0800027c 0x0800027c 0x0000000c Code RO 36 .text.MyTimer_Base_Stop driver_timer.o - 0x08000288 0x08000288 0x00000110 Code RO 55 .text.SystemInit system_stm32f10x.o - 0x08000398 0x08000398 0x0000006e Code RO 4 .text.main main.o - 0x08000406 0x08000406 0x0000000e Code RO 89 i.__scatterload_copy mc_w.l(handlers.o) - 0x08000414 0x08000414 0x00000002 Code RO 90 i.__scatterload_null mc_w.l(handlers.o) - 0x08000416 0x08000416 0x0000000e Code RO 91 i.__scatterload_zeroinit mc_w.l(handlers.o) - 0x08000424 0x08000424 0x00000010 Data RO 88 Region$$Table anon$$obj.o + 0x08000000 0x08000000 0x000000ec Data RO 45 RESET startup_stm32f10x_md.o + 0x080000ec 0x080000ec 0x00000000 Code RO 66 * .ARM.Collect$$$$00000000 mc_w.l(entry.o) + 0x080000ec 0x080000ec 0x00000004 Code RO 69 .ARM.Collect$$$$00000001 mc_w.l(entry2.o) + 0x080000f0 0x080000f0 0x00000004 Code RO 72 .ARM.Collect$$$$00000004 mc_w.l(entry5.o) + 0x080000f4 0x080000f4 0x00000000 Code RO 74 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o) + 0x080000f4 0x080000f4 0x00000000 Code RO 76 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o) + 0x080000f4 0x080000f4 0x00000008 Code RO 77 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o) + 0x080000fc 0x080000fc 0x00000000 Code RO 79 .ARM.Collect$$$$0000000D mc_w.l(entry10a.o) + 0x080000fc 0x080000fc 0x00000000 Code RO 81 .ARM.Collect$$$$0000000F mc_w.l(entry11a.o) + 0x080000fc 0x080000fc 0x00000004 Code RO 70 .ARM.Collect$$$$00002712 mc_w.l(entry2.o) + 0x08000100 0x08000100 0x00000024 Code RO 46 * .text startup_stm32f10x_md.o + 0x08000124 0x08000124 0x00000024 Code RO 83 .text mc_w.l(init.o) + 0x08000148 0x08000148 0x000000a0 Code RO 11 .text.MyGPIO_Init driver_gpio.o + 0x080001e8 0x080001e8 0x0000000a Code RO 17 .text.MyGPIO_Reset driver_gpio.o + 0x080001f2 0x080001f2 0x00000002 PAD + 0x080001f4 0x080001f4 0x0000000e Code RO 15 .text.MyGPIO_Set driver_gpio.o + 0x08000202 0x08000202 0x00000002 PAD + 0x08000204 0x08000204 0x00000098 Code RO 29 .text.MyTimer_Init driver_timer.o + 0x0800029c 0x0800029c 0x0000000c Code RO 31 .text.MyTimer_Start driver_timer.o + 0x080002a8 0x080002a8 0x0000000c Code RO 33 .text.MyTimer_Stop driver_timer.o + 0x080002b4 0x080002b4 0x00000110 Code RO 53 .text.SystemInit system_stm32f10x.o + 0x080003c4 0x080003c4 0x000000a2 Code RO 2 .text.main main.o + 0x08000466 0x08000466 0x0000000e Code RO 87 i.__scatterload_copy mc_w.l(handlers.o) + 0x08000474 0x08000474 0x00000002 Code RO 88 i.__scatterload_null mc_w.l(handlers.o) + 0x08000476 0x08000476 0x0000000e Code RO 89 i.__scatterload_zeroinit mc_w.l(handlers.o) + 0x08000484 0x08000484 0x00000010 Data RO 86 Region$$Table anon$$obj.o - Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x08000434, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE) + Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x08000494, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE) **** No section assigned to this execution region **** - Execution Region ER_ZI (Exec base: 0x20000000, Load base: 0x08000434, Size: 0x00000400, Max: 0xffffffff, ABSOLUTE) + Execution Region ER_ZI (Exec base: 0x20000000, Load base: 0x08000494, Size: 0x00000400, Max: 0xffffffff, ABSOLUTE) Exec Addr Load Addr Size Type Attr Idx E Section Name Object - 0x20000000 - 0x00000400 Zero RW 45 STACK startup_stm32f10x_md.o + 0x20000000 - 0x00000400 Zero RW 43 STACK startup_stm32f10x_md.o ============================================================================== @@ -280,16 +283,16 @@ Image component sizes Code (inc. data) RO Data RW Data ZI Data Debug Object Name - 142 16 0 0 0 2108 driver_gpio.o - 176 0 0 0 0 2375 driver_timer.o - 110 0 0 0 0 2206 main.o + 184 16 0 0 0 2117 driver_gpio.o + 176 0 0 0 0 2360 driver_timer.o + 162 0 0 0 0 2120 main.o 36 8 236 0 1024 840 startup_stm32f10x_md.o 272 0 0 0 0 2793 system_stm32f10x.o ---------------------------------------------------------------------- - 738 24 252 0 1024 10322 Object Totals + 834 24 252 0 1024 10230 Object Totals 0 0 16 0 0 0 (incl. Generated) - 2 0 0 0 0 0 (incl. Padding) + 4 0 0 0 0 0 (incl. Padding) ---------------------------------------------------------------------- @@ -326,15 +329,15 @@ Image component sizes Code (inc. data) RO Data RW Data ZI Data Debug - 824 40 252 0 1024 10482 Grand Totals - 824 40 252 0 1024 10482 ELF Image Totals - 824 40 252 0 0 0 ROM Totals + 920 40 252 0 1024 10390 Grand Totals + 920 40 252 0 1024 10390 ELF Image Totals + 920 40 252 0 0 0 ROM Totals ============================================================================== - Total RO Size (Code + RO Data) 1076 ( 1.05kB) + Total RO Size (Code + RO Data) 1172 ( 1.14kB) Total RW Size (RW Data + ZI Data) 1024 ( 1.00kB) - Total ROM Size (Code + RO Data + RW Data) 1076 ( 1.05kB) + Total ROM Size (Code + RO Data + RW Data) 1172 ( 1.14kB) ============================================================================== diff --git a/projet_1/Objects/driver_adc.d b/projet_1/Objects/driver_adc.d new file mode 100644 index 0000000..3d79e2f --- /dev/null +++ b/projet_1/Objects/driver_adc.d @@ -0,0 +1,9 @@ +./objects/driver_adc.o: ..\drivers\Driver_ADC.c ..\drivers\Driver_Timer.h \ + C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \ + RTE\_sim\RTE_Components.h \ + C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \ + C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \ + C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \ + C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h \ + C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h \ + C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h diff --git a/projet_1/Objects/driver_adc.o b/projet_1/Objects/driver_adc.o new file mode 100644 index 0000000..30fca69 Binary files /dev/null and b/projet_1/Objects/driver_adc.o differ diff --git a/projet_1/Objects/driver_gpio.d b/projet_1/Objects/driver_gpio.d index ed3536d..90914cb 100644 --- a/projet_1/Objects/driver_gpio.d +++ b/projet_1/Objects/driver_gpio.d @@ -1,7 +1,7 @@ ./objects/driver_gpio.o: ..\drivers\Driver_GPIO.c \ ..\drivers\Driver_GPIO.h \ C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \ - RTE\_board\RTE_Components.h \ + RTE\_sim\RTE_Components.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \ C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \ diff --git a/projet_1/Objects/driver_gpio.o b/projet_1/Objects/driver_gpio.o index a467d84..3d2d208 100644 Binary files a/projet_1/Objects/driver_gpio.o and b/projet_1/Objects/driver_gpio.o differ diff --git a/projet_1/Objects/driver_timer.d b/projet_1/Objects/driver_timer.d index 8a06d6a..f096ea7 100644 --- a/projet_1/Objects/driver_timer.d +++ b/projet_1/Objects/driver_timer.d @@ -1,7 +1,7 @@ ./objects/driver_timer.o: ..\drivers\Driver_Timer.c \ ..\drivers\Driver_Timer.h \ C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \ - RTE\_board\RTE_Components.h \ + RTE\_sim\RTE_Components.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \ C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \ diff --git a/projet_1/Objects/driver_timer.o b/projet_1/Objects/driver_timer.o index 21036a4..9f060c1 100644 Binary files a/projet_1/Objects/driver_timer.o and b/projet_1/Objects/driver_timer.o differ diff --git a/projet_1/Objects/main.d b/projet_1/Objects/main.d index 6e6c761..acf4c94 100644 --- a/projet_1/Objects/main.d +++ b/projet_1/Objects/main.d @@ -1,10 +1,11 @@ ./objects/main.o: src\main.c \ C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \ - RTE\_board\RTE_Components.h \ + RTE\_sim\RTE_Components.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \ C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h \ C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h \ - ..\drivers\Driver_GPIO.h ..\drivers\Driver_Timer.h + ..\drivers\Driver_GPIO.h ..\drivers\Driver_Timer.h \ + ..\drivers\Driver_ADC.h diff --git a/projet_1/Objects/main.o b/projet_1/Objects/main.o index c136c02..7ff0045 100644 Binary files a/projet_1/Objects/main.o and b/projet_1/Objects/main.o differ diff --git a/projet_1/Objects/startup_stm32f10x_md.o b/projet_1/Objects/startup_stm32f10x_md.o index 6ac6cdb..1919378 100644 Binary files a/projet_1/Objects/startup_stm32f10x_md.o and b/projet_1/Objects/startup_stm32f10x_md.o differ diff --git a/projet_1/Objects/system_stm32f10x.d b/projet_1/Objects/system_stm32f10x.d index 143e821..54cca20 100644 --- a/projet_1/Objects/system_stm32f10x.d +++ b/projet_1/Objects/system_stm32f10x.d @@ -1,6 +1,6 @@ ./objects/system_stm32f10x.o: RTE\Device\STM32F103RB\system_stm32f10x.c \ C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \ - RTE\_board\RTE_Components.h \ + RTE\_sim\RTE_Components.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \ C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \ C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \ diff --git a/projet_1/Objects/tp_board.dep b/projet_1/Objects/tp_board.dep index 340e537..dee8dc6 100644 --- a/projet_1/Objects/tp_board.dep +++ b/projet_1/Objects/tp_board.dep @@ -1,6 +1,6 @@ Dependencies for Project 'tp', Target 'board': (DO NOT MODIFY !) CompilerVersion: 6190000::V6.19::ARMCLANG -F (.\src\main.c)(0x64181E4D)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/main.o -MD) +F (.\src\main.c)(0x6418B06C)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/main.o -MD) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE) I (RTE\_board\RTE_Components.h)(0x6415C72E) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E) @@ -9,10 +9,11 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE) -I (..\drivers\Driver_GPIO.h)(0x6417630F) -I (..\drivers\Driver_Timer.h)(0x64178681) -F (..\drivers\Driver_GPIO.c)(0x6417630F)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_gpio.o -MD) -I (..\drivers\Driver_GPIO.h)(0x6417630F) +I (..\drivers\Driver_GPIO.h)(0x6418B324) +I (..\drivers\Driver_Timer.h)(0x6418AED3) +I (..\drivers\Driver_ADC.h)(0x64185970) +F (..\drivers\Driver_GPIO.c)(0x6418B3FF)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_gpio.o -MD) +I (..\drivers\Driver_GPIO.h)(0x6418B324) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE) I (RTE\_board\RTE_Components.h)(0x6415C72E) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E) @@ -21,9 +22,9 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE) -F (..\drivers\Driver_GPIO.h)(0x6417630F)() -F (..\drivers\Driver_Timer.c)(0x64178684)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_timer.o -MD) -I (..\drivers\Driver_Timer.h)(0x64178681) +F (..\drivers\Driver_GPIO.h)(0x6418B324)() +F (..\drivers\Driver_Timer.c)(0x6418AEFF)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_timer.o -MD) +I (..\drivers\Driver_Timer.h)(0x6418AED3) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE) I (RTE\_board\RTE_Components.h)(0x6415C72E) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E) @@ -32,7 +33,18 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE) -F (..\drivers\Driver_Timer.h)(0x64178681)() +F (..\drivers\Driver_Timer.h)(0x6418AED3)() +F (..\drivers\Driver_ADC.c)(0x64182F1D)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_adc.o -MD) +I (..\drivers\Driver_Timer.h)(0x6418AED3) +I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE) +I (RTE\_board\RTE_Components.h)(0x6415C72E) +I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E) +I (C:\Keil_v5\ARM\ARMCLANG\include\stdint.h)(0x6388AB78) +I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h)(0x626FAD4E) +I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E) +I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E) +I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE) +F (..\drivers\Driver_ADC.h)(0x64185970)() F (RTE/Device/STM32F103RB/RTE_Device.h)(0x5FC0B25A)() F (RTE/Device/STM32F103RB/startup_stm32f10x_md.s)(0x61ADDBCE)(--target=arm-arm-none-eabi -mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c -gdwarf-4 -Wa,armasm,--pd,"__MICROLIB SETA 1" -Wa,armasm,--pd,"__EVAL SETA 1" -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -Wa,armasm,--pd,"__UVISION_VERSION SETA 538" -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) F (RTE/Device/STM32F103RB/system_stm32f10x.c)(0x61ADDBCE)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/system_stm32f10x.o -MD) diff --git a/projet_1/Objects/tp_sim.axf b/projet_1/Objects/tp_sim.axf index 9da7515..630b789 100644 Binary files a/projet_1/Objects/tp_sim.axf and b/projet_1/Objects/tp_sim.axf differ diff --git a/projet_1/Objects/tp_sim.build_log.htm b/projet_1/Objects/tp_sim.build_log.htm index 39ed316..4686a72 100644 --- a/projet_1/Objects/tp_sim.build_log.htm +++ b/projet_1/Objects/tp_sim.build_log.htm @@ -17,23 +17,24 @@ Library Manager: ArmAr.exe V6.19 Hex Converter: FromElf.exe V6.19 CPU DLL: SARMCM3.DLL V5.38.0.0 Dialog DLL: DARMSTM.DLL V1.69.1.0 -Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.1.0.0 +Target DLL: UL2CM3.DLL V1.164.8.0 Dialog DLL: TCM.DLL V1.56.4.0

Project:

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

Output:

*** Using Compiler 'V6.19', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin' -Rebuild target 'board' +Rebuild target 'sim' +compiling Driver_ADC.c... assembling startup_stm32f10x_md.s... -compiling Driver_Timer.c... -compiling main.c... -compiling Driver_GPIO.c... compiling system_stm32f10x.c... +compiling Driver_Timer.c... +compiling Driver_GPIO.c... +compiling main.c... linking... -Program Size: Code=824 RO-data=252 RW-data=0 ZI-data=1024 +Program Size: Code=920 RO-data=252 RW-data=0 ZI-data=1024 ".\Objects\tp_sim.axf" - 0 Error(s), 0 Warning(s).

Software Packages used:

@@ -52,7 +53,7 @@ Package Vendor: Keil

Collection of Component include folders:

./RTE/Device/STM32F103RB - ./RTE/_board + ./RTE/_sim C:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include C:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include diff --git a/projet_1/Objects/tp_sim.dep b/projet_1/Objects/tp_sim.dep index 501e5cd..cd3cbad 100644 --- a/projet_1/Objects/tp_sim.dep +++ b/projet_1/Objects/tp_sim.dep @@ -1,6 +1,6 @@ Dependencies for Project 'tp', Target 'sim': (DO NOT MODIFY !) CompilerVersion: 6190000::V6.19::ARMCLANG -F (.\src\main.c)(0x64181E4D)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/main.o -MD) +F (.\src\main.c)(0x6418B461)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/main.o -MD) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE) I (RTE\_sim\RTE_Components.h)(0x6415C555) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E) @@ -9,10 +9,11 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE) -I (..\drivers\Driver_GPIO.h)(0x6417630F) -I (..\drivers\Driver_Timer.h)(0x64178681) -F (..\drivers\Driver_GPIO.c)(0x6417630F)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_gpio.o -MD) -I (..\drivers\Driver_GPIO.h)(0x6417630F) +I (..\drivers\Driver_GPIO.h)(0x6418B324) +I (..\drivers\Driver_Timer.h)(0x6418AED3) +I (..\drivers\Driver_ADC.h)(0x64185970) +F (..\drivers\Driver_GPIO.c)(0x6418B3FF)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_gpio.o -MD) +I (..\drivers\Driver_GPIO.h)(0x6418B324) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE) I (RTE\_sim\RTE_Components.h)(0x6415C555) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E) @@ -21,9 +22,9 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE) -F (..\drivers\Driver_GPIO.h)(0x6417630F)() -F (..\drivers\Driver_Timer.c)(0x64178684)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_timer.o -MD) -I (..\drivers\Driver_Timer.h)(0x64178681) +F (..\drivers\Driver_GPIO.h)(0x6418B324)() +F (..\drivers\Driver_Timer.c)(0x6418AEFF)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_timer.o -MD) +I (..\drivers\Driver_Timer.h)(0x6418AED3) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE) I (RTE\_sim\RTE_Components.h)(0x6415C555) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E) @@ -32,7 +33,18 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E) I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE) -F (..\drivers\Driver_Timer.h)(0x64178681)() +F (..\drivers\Driver_Timer.h)(0x6418AED3)() +F (..\drivers\Driver_ADC.c)(0x64182F1D)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_adc.o -MD) +I (..\drivers\Driver_Timer.h)(0x6418AED3) +I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE) +I (RTE\_sim\RTE_Components.h)(0x6415C555) +I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E) +I (C:\Keil_v5\ARM\ARMCLANG\include\stdint.h)(0x6388AB78) +I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h)(0x626FAD4E) +I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E) +I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E) +I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE) +F (..\drivers\Driver_ADC.h)(0x64185970)() F (RTE/Device/STM32F103RB/RTE_Device.h)(0x5FC0B25A)() F (RTE/Device/STM32F103RB/startup_stm32f10x_md.s)(0x61ADDBCE)(--target=arm-arm-none-eabi -mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c -gdwarf-4 -Wa,armasm,--pd,"__MICROLIB SETA 1" -Wa,armasm,--pd,"__EVAL SETA 1" -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -Wa,armasm,--pd,"__UVISION_VERSION SETA 538" -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) F (RTE/Device/STM32F103RB/system_stm32f10x.c)(0x61ADDBCE)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/system_stm32f10x.o -MD) diff --git a/projet_1/Objects/tp_sim.htm b/projet_1/Objects/tp_sim.htm index a0c0d97..dbdaeb2 100644 --- a/projet_1/Objects/tp_sim.htm +++ b/projet_1/Objects/tp_sim.htm @@ -3,7 +3,7 @@ Static Call Graph - [.\Objects\tp_sim.axf]

Static Call Graph for image .\Objects\tp_sim.axf


-

#<CALLGRAPH># ARM Linker, 6190004: Last Updated: Mon Mar 20 09:53:26 2023 +

#<CALLGRAPH># ARM Linker, 6190004: Last Updated: Mon Mar 20 20:30:45 2023

Maximum Stack Usage = 24 bytes + Unknown(Cycles, Untraceable Function Pointers)

Call chain for Maximum Stack Depth:

@@ -90,7 +90,7 @@ Global Symbols

__main (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
[Address Reference Count : 1]

-

_main_stk (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001)) +

_main_stk (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))

_main_scatterload (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))

[Calls]