fin UART telecommande et batterie et moteur plateau

This commit is contained in:
alejeune 2022-11-14 17:50:04 +01:00
parent 43cb31a9ac
commit 37c4222374
44 changed files with 2521 additions and 2150 deletions

31
FileInclude/Batterie.c Normal file
View file

@ -0,0 +1,31 @@
#include "Batterie.h"
#define NULL 0
/* Delarations */
MyGPIO_Struct_TypeDef GPIOC0; /* Les pins sont a remappés */
int nivBatterie = 0;
void Init_Batterie (void){
/* Configuration des GPIOs */
GPIOC0.GPIO = GPIOC;
GPIOC0.GPIO_Pin = 0;
GPIOC0.GPIO_Conf = In_Analog;
MyGPIO_Init(&GPIOC0);
/* On configure l'ADC */
initADC(10);
startADC();
}
int Get_Batterie (void){
nivBatterie = read(); // sur 12 bits
nivBatterie *= 100;
return (nivBatterie / 4095); // pour avoir le niveau sur 100%
}

11
FileInclude/Batterie.h Normal file
View file

@ -0,0 +1,11 @@
#ifndef MYBATTERIE_H
#define MYBATTERIE_H
#include "stm32f10x.h"
#include "MyADC.h"
#include "MyTimer.h"
#include "Driver_GPIO.h"
void Init_Batterie (void);
int Get_Batterie (void);
#endif

View file

@ -21,6 +21,7 @@ void startADC(void) {
int read(void) {
int value ;
startADC();
// Recuperer le bit de End of conversion
while (!(ADC1->SR & (0x01 << 1)));
//on veut masquer les 12 bits les plus bas donc on prend le not de 0x0f >> 12 (111000000000)

View file

@ -37,10 +37,10 @@ void Init_Plateau (void) {
void Set_Direction (char sens) {
/* Rotation */
if (sens == HORRAIRE){
if (sens == ANTI_HORRAIRE){
MyGPIO_Reset(GPIOA5.GPIO, GPIOA5.GPIO_Pin); // on met à 0
}
else if (sens == ANTI_HORRAIRE) {
else if (sens == HORRAIRE) {
MyGPIO_Set(GPIOA5.GPIO, GPIOA5.GPIO_Pin); // on met à 1
}
}

View file

@ -8,6 +8,6 @@ void Init_Plateau (void);
void Set_Direction (char sens);
void Set_Vitesse (char vitesse);
void Set_Moteur_Plateau(char sens, char vitesse); // -1 gauche et 1 droite
void Set_Moteur_Plateau(char sens, char vitesse);
#endif

View file

@ -3,4 +3,83 @@
#include "Driver_GPIO.h"
#include "Plateau.h"
#include "Telecommande.h"
#define NULL 0
/* Declaration */
USART_TypeDef USART ;
USART_TypeDef * Usart = &USART;
MyGPIO_Struct_TypeDef GPIOA10; // pin rx = reception
MyGPIO_Struct_TypeDef GPIOA9; // pin tx = envoie
void (* ptr) (char) = NULL;
/* Configuration de l'UART */
void Init_USART (USART_TypeDef * USART){
/* Configuration des GPIOs */
GPIOA10.GPIO = GPIOA;
GPIOA10.GPIO_Pin = 10;
GPIOA10.GPIO_Conf = In_Floating;
MyGPIO_Init(&GPIOA10);
GPIOA9.GPIO = GPIOA;
GPIOA9.GPIO_Pin = 9;
GPIOA9.GPIO_Conf = AltOut_Ppull;
MyGPIO_Init(&GPIOA9);
/* Configuration de l'USART */
RCC->APB2ENR |= RCC_APB2ENR_USART1EN ; // activation de la clock
USART1->CR1 |= USART_CR1_UE ; // rendre usart enable
USART1->CR1 &= ~(USART_CR1_M); // mettre à 8 la longueur du mot
// bd 9600 (cf. prof) puis calcul de la mantisse et de la fraction (cf. p 804)
USART1->BRR |= 0x0C; // mantisse
USART1->BRR |= (0x01D4 << 4) ; // fraction
// Active la reception et l'emission
USART1->CR1 |= USART_CR1_RE;
USART1->CR1 |= USART_CR1_TE;
/* On active les interruptions pour l'usart1 */
USART1->CR1 |= USART_CR1_RXNEIE;
}
/* Envoie d'un character */
void Send_Char (char c) {
while (((USART1->SR >> 6) & 0x1) == 0);// tant que la transmission n'est pas finie
USART1->DR = c;
}
/* Envoie de messages */
void Send_Message (char message[]){
int i = 0;
while (message[i] != '\0') {
Send_Char(message[i]);
i+=1;
}
}
void USART1_IRQHandler() {
char input;
input = USART1->DR ; // on récupère ce qu'il y a dans le registre
(*ptr) (input); // on execute la fonction
}
/* Reception de message */
void Init_Message_Reception(void (* pFonction) (char)){ //(void (* pFonction) (char)){
/* Configuration de l'interruption */
//!\\ A revoir cette partie ! p 198
NVIC->ISER[1] |= NVIC_ISER_SETENA_5 ;//NVIC_IABR_ACTIVE_5 ; // on autorise l'interuption au niveau du coeur par le usart1
NVIC->IP[37] = 7; // on parametre la prio de l'usart
/* Activation de la réception */
USART1->CR1 |= USART_CR1_RE ;
ptr = pFonction; //fonction à appeler par le handler
}

View file

@ -2,19 +2,15 @@
#define MYTELCOMMANDE_H
#include "stm32f10x.h"
/* Configuration de l'UART */
void Init_UART (USART_TypeDef * UART);
/* Configuration de l'USART */
void Init_USART (USART_TypeDef * USART);
/* Envoie de messages */
void Send_Message (char message[]);
/* Reception de message */
void Receive_Message (void (* pFonction) (char));
void Init_Message_Reception(void (* pFonction) (char));
//pFonction traitera le message
#endif

View file

@ -4,13 +4,20 @@ Component: ARM Compiler 5.06 update 7 (build 960) Tool: armlink [4d3601]
Section Cross References
main.o(i.main) refers to plateau.o(i.Set_Moteur_Plateau) for Set_Moteur_Plateau
main.o(i.f) refers to plateau.o(i.Set_Moteur_Plateau) for Set_Moteur_Plateau
main.o(i.f) refers to main.o(.data) for droite
main.o(i.main) refers to telecommande.o(i.Init_USART) for Init_USART
main.o(i.main) refers to batterie.o(i.Init_Batterie) for Init_Batterie
main.o(i.main) refers to batterie.o(i.Get_Batterie) for Get_Batterie
main.o(i.main) refers to telecommande.o(i.Send_Message) for Send_Message
main.o(i.main) refers to main.o(.data) for bat
mytimer.o(i.MyTimer_ActiveIT) refers to mytimer.o(.data) for ptr1
mytimer.o(i.MyTimer_PWM) refers to driver_gpio.o(i.MyGPIO_Init) for MyGPIO_Init
mytimer.o(i.TIM1_UP_IRQHandler) refers to mytimer.o(.data) for ptr1
mytimer.o(i.TIM2_IRQHandler) refers to mytimer.o(.data) for ptr2
mytimer.o(i.TIM3_IRQHandler) refers to mytimer.o(.data) for ptr3
mytimer.o(i.TIM4_IRQHandler) refers to mytimer.o(.data) for ptr4
myadc.o(i.read) refers to myadc.o(i.startADC) for startADC
plateau.o(i.Init_Plateau) refers to mytimer.o(i.MyTimer_Base_Init) for MyTimer_Base_Init
plateau.o(i.Init_Plateau) refers to driver_gpio.o(i.MyGPIO_Init) for MyGPIO_Init
plateau.o(i.Init_Plateau) refers to mytimer.o(i.MyTimer_Base_Start) for MyTimer_Base_Start
@ -25,12 +32,25 @@ Section Cross References
plateau.o(i.Set_Moteur_Plateau) refers to plateau.o(i.Set_Vitesse) for Set_Vitesse
plateau.o(i.Set_Vitesse) refers to mytimer.o(i.Set_PWM_PRCT) for Set_PWM_PRCT
plateau.o(i.Set_Vitesse) refers to plateau.o(.data) for Data
telecommande.o(i.Init_Message_Reception) refers to telecommande.o(.data) for ptr
telecommande.o(i.Init_USART) refers to driver_gpio.o(i.MyGPIO_Init) for MyGPIO_Init
telecommande.o(i.Init_USART) refers to telecommande.o(.bss) for GPIOA10
telecommande.o(i.Send_Message) refers to telecommande.o(i.Send_Char) for Send_Char
telecommande.o(i.USART1_IRQHandler) refers to telecommande.o(.data) for ptr
telecommande.o(.data) refers to telecommande.o(.bss) for USART
batterie.o(i.Get_Batterie) refers to myadc.o(i.read) for read
batterie.o(i.Get_Batterie) refers to batterie.o(.data) for nivBatterie
batterie.o(i.Init_Batterie) refers to driver_gpio.o(i.MyGPIO_Init) for MyGPIO_Init
batterie.o(i.Init_Batterie) refers to myadc.o(i.initADC) for initADC
batterie.o(i.Init_Batterie) refers to myadc.o(i.startADC) for startADC
batterie.o(i.Init_Batterie) refers to batterie.o(.bss) for GPIOC0
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(RESET) refers to mytimer.o(i.TIM1_UP_IRQHandler) for TIM1_UP_IRQHandler
startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM2_IRQHandler) for TIM2_IRQHandler
startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM3_IRQHandler) for TIM3_IRQHandler
startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM4_IRQHandler) for TIM4_IRQHandler
startup_stm32f10x_md.o(RESET) refers to telecommande.o(i.USART1_IRQHandler) for USART1_IRQHandler
startup_stm32f10x_md.o(.text) refers to system_stm32f10x.o(i.SystemInit) for SystemInit
startup_stm32f10x_md.o(.text) refers to entry.o(.ARM.Collect$$$$00000000) for __main
system_stm32f10x.o(i.SetSysClock) refers to system_stm32f10x.o(i.SetSysClockTo72) for SetSysClockTo72
@ -61,27 +81,44 @@ Removing Unused input sections from the image.
Removing main.o(.rev16_text), (4 bytes).
Removing main.o(.revsh_text), (4 bytes).
Removing main.o(.rrx_text), (6 bytes).
Removing main.o(i.f), (64 bytes).
Removing driver_gpio.o(.rev16_text), (4 bytes).
Removing driver_gpio.o(.revsh_text), (4 bytes).
Removing driver_gpio.o(.rrx_text), (6 bytes).
Removing driver_gpio.o(i.MyGPIO_Read), (12 bytes).
Removing driver_gpio.o(i.MyGPIO_Reset), (14 bytes).
Removing driver_gpio.o(i.MyGPIO_Set), (12 bytes).
Removing driver_gpio.o(i.MyGPIO_Toggle), (12 bytes).
Removing mytimer.o(.rev16_text), (4 bytes).
Removing mytimer.o(.revsh_text), (4 bytes).
Removing mytimer.o(.rrx_text), (6 bytes).
Removing mytimer.o(i.Get_Max_Duty), (6 bytes).
Removing mytimer.o(i.MyTimer_ActiveIT), (176 bytes).
Removing mytimer.o(i.MyTimer_Base_Init), (108 bytes).
Removing mytimer.o(i.MyTimer_Base_Start), (10 bytes).
Removing mytimer.o(i.MyTimer_Base_Stop), (10 bytes).
Removing mytimer.o(i.MyTimer_PWM), (464 bytes).
Removing mytimer.o(i.Set_Duty_Cycle), (40 bytes).
Removing mytimer.o(i.Set_PWM_PRCT), (56 bytes).
Removing myadc.o(.rev16_text), (4 bytes).
Removing myadc.o(.revsh_text), (4 bytes).
Removing myadc.o(.rrx_text), (6 bytes).
Removing myadc.o(i.initADC), (60 bytes).
Removing myadc.o(i.read), (32 bytes).
Removing myadc.o(i.startADC), (20 bytes).
Removing plateau.o(.rev16_text), (4 bytes).
Removing plateau.o(.revsh_text), (4 bytes).
Removing plateau.o(.rrx_text), (6 bytes).
Removing plateau.o(i.Init_Plateau), (124 bytes).
Removing plateau.o(i.Set_Direction), (40 bytes).
Removing plateau.o(i.Set_Moteur_Plateau), (24 bytes).
Removing plateau.o(i.Set_Vitesse), (32 bytes).
Removing plateau.o(.bss), (24 bytes).
Removing plateau.o(.data), (16 bytes).
Removing telecommande.o(.rev16_text), (4 bytes).
Removing telecommande.o(.revsh_text), (4 bytes).
Removing telecommande.o(.rrx_text), (6 bytes).
Removing telecommande.o(i.Init_Message_Reception), (56 bytes).
Removing batterie.o(.rev16_text), (4 bytes).
Removing batterie.o(.revsh_text), (4 bytes).
Removing batterie.o(.rrx_text), (6 bytes).
Removing startup_stm32f10x_md.o(HEAP), (512 bytes).
Removing system_stm32f10x.o(.rev16_text), (4 bytes).
Removing system_stm32f10x.o(.revsh_text), (4 bytes).
@ -89,7 +126,7 @@ Removing Unused input sections from the image.
Removing system_stm32f10x.o(i.SystemCoreClockUpdate), (164 bytes).
Removing system_stm32f10x.o(.data), (20 bytes).
30 unused section(s) (total 1148 bytes) removed from the image.
47 unused section(s) (total 2108 bytes) removed from the image.
==============================================================================
@ -99,28 +136,31 @@ Image Symbol Table
Symbol Name Value Ov Type Size Object(Section)
../clib/microlib/init/entry.s 0x00000000 Number 0 entry.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry2.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry5.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry5.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry2.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry.o ABSOLUTE
FileInclude\Batterie.c 0x00000000 Number 0 batterie.o ABSOLUTE
FileInclude\MyADC.c 0x00000000 Number 0 myadc.o ABSOLUTE
FileInclude\MyTimer.c 0x00000000 Number 0 mytimer.o ABSOLUTE
FileInclude\Plateau.c 0x00000000 Number 0 plateau.o ABSOLUTE
FileInclude\Telecommande.c 0x00000000 Number 0 telecommande.o ABSOLUTE
FileInclude\\Batterie.c 0x00000000 Number 0 batterie.o ABSOLUTE
FileInclude\\MyADC.c 0x00000000 Number 0 myadc.o ABSOLUTE
FileInclude\\MyTimer.c 0x00000000 Number 0 mytimer.o ABSOLUTE
FileInclude\\Plateau.c 0x00000000 Number 0 plateau.o ABSOLUTE
FileInclude\\Telecommande.c 0x00000000 Number 0 telecommande.o ABSOLUTE
RTE\Device\STM32F103RB\startup_stm32f10x_md.s 0x00000000 Number 0 startup_stm32f10x_md.o ABSOLUTE
RTE\Device\STM32F103RB\system_stm32f10x.c 0x00000000 Number 0 system_stm32f10x.o ABSOLUTE
RTE\\Device\\STM32F103RB\\system_stm32f10x.c 0x00000000 Number 0 system_stm32f10x.o ABSOLUTE
@ -145,34 +185,36 @@ Image Symbol Table
__lit__00000000 0x08000100 Data 4 entry2.o(.ARM.Collect$$$$00002712)
.text 0x08000104 Section 36 startup_stm32f10x_md.o(.text)
.text 0x08000128 Section 36 init.o(.text)
i.Init_Plateau 0x0800014c Section 0 plateau.o(i.Init_Plateau)
i.MyGPIO_Init 0x080001c8 Section 0 driver_gpio.o(i.MyGPIO_Init)
i.MyGPIO_Reset 0x0800027c Section 0 driver_gpio.o(i.MyGPIO_Reset)
i.MyGPIO_Set 0x0800028a Section 0 driver_gpio.o(i.MyGPIO_Set)
i.MyTimer_Base_Init 0x08000298 Section 0 mytimer.o(i.MyTimer_Base_Init)
i.MyTimer_Base_Start 0x08000304 Section 0 mytimer.o(i.MyTimer_Base_Start)
i.MyTimer_PWM 0x08000310 Section 0 mytimer.o(i.MyTimer_PWM)
i.SetSysClock 0x080004e0 Section 0 system_stm32f10x.o(i.SetSysClock)
SetSysClock 0x080004e1 Thumb Code 8 system_stm32f10x.o(i.SetSysClock)
i.SetSysClockTo72 0x080004e8 Section 0 system_stm32f10x.o(i.SetSysClockTo72)
SetSysClockTo72 0x080004e9 Thumb Code 214 system_stm32f10x.o(i.SetSysClockTo72)
i.Set_Direction 0x080005c8 Section 0 plateau.o(i.Set_Direction)
i.Set_Moteur_Plateau 0x080005f0 Section 0 plateau.o(i.Set_Moteur_Plateau)
i.Set_PWM_PRCT 0x08000608 Section 0 mytimer.o(i.Set_PWM_PRCT)
i.Set_Vitesse 0x08000640 Section 0 plateau.o(i.Set_Vitesse)
i.SystemInit 0x08000660 Section 0 system_stm32f10x.o(i.SystemInit)
i.TIM1_UP_IRQHandler 0x080006c0 Section 0 mytimer.o(i.TIM1_UP_IRQHandler)
i.TIM2_IRQHandler 0x080006e4 Section 0 mytimer.o(i.TIM2_IRQHandler)
i.TIM3_IRQHandler 0x08000708 Section 0 mytimer.o(i.TIM3_IRQHandler)
i.TIM4_IRQHandler 0x0800072c Section 0 mytimer.o(i.TIM4_IRQHandler)
i.__scatterload_copy 0x08000750 Section 14 handlers.o(i.__scatterload_copy)
i.__scatterload_null 0x0800075e Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x08000760 Section 14 handlers.o(i.__scatterload_zeroinit)
i.main 0x0800076e Section 0 main.o(i.main)
.data 0x20000000 Section 16 mytimer.o(.data)
.data 0x20000010 Section 16 plateau.o(.data)
.bss 0x20000020 Section 24 plateau.o(.bss)
STACK 0x20000038 Section 1024 startup_stm32f10x_md.o(STACK)
i.Get_Batterie 0x0800014c Section 0 batterie.o(i.Get_Batterie)
i.Init_Batterie 0x08000174 Section 0 batterie.o(i.Init_Batterie)
i.Init_USART 0x0800019c Section 0 telecommande.o(i.Init_USART)
i.MyGPIO_Init 0x08000238 Section 0 driver_gpio.o(i.MyGPIO_Init)
i.Send_Char 0x080002ec Section 0 telecommande.o(i.Send_Char)
i.Send_Message 0x08000308 Section 0 telecommande.o(i.Send_Message)
i.SetSysClock 0x08000320 Section 0 system_stm32f10x.o(i.SetSysClock)
SetSysClock 0x08000321 Thumb Code 8 system_stm32f10x.o(i.SetSysClock)
i.SetSysClockTo72 0x08000328 Section 0 system_stm32f10x.o(i.SetSysClockTo72)
SetSysClockTo72 0x08000329 Thumb Code 214 system_stm32f10x.o(i.SetSysClockTo72)
i.SystemInit 0x08000408 Section 0 system_stm32f10x.o(i.SystemInit)
i.TIM1_UP_IRQHandler 0x08000468 Section 0 mytimer.o(i.TIM1_UP_IRQHandler)
i.TIM2_IRQHandler 0x0800048c Section 0 mytimer.o(i.TIM2_IRQHandler)
i.TIM3_IRQHandler 0x080004b0 Section 0 mytimer.o(i.TIM3_IRQHandler)
i.TIM4_IRQHandler 0x080004d4 Section 0 mytimer.o(i.TIM4_IRQHandler)
i.USART1_IRQHandler 0x080004f8 Section 0 telecommande.o(i.USART1_IRQHandler)
i.__scatterload_copy 0x08000514 Section 14 handlers.o(i.__scatterload_copy)
i.__scatterload_null 0x08000522 Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x08000524 Section 14 handlers.o(i.__scatterload_zeroinit)
i.initADC 0x08000534 Section 0 myadc.o(i.initADC)
i.main 0x08000570 Section 0 main.o(i.main)
i.read 0x0800060c Section 0 myadc.o(i.read)
i.startADC 0x08000634 Section 0 myadc.o(i.startADC)
.data 0x20000000 Section 16 main.o(.data)
.data 0x20000010 Section 16 mytimer.o(.data)
.data 0x20000020 Section 8 telecommande.o(.data)
.data 0x20000028 Section 4 batterie.o(.data)
.bss 0x2000002c Section 52 telecommande.o(.bss)
.bss 0x20000060 Section 12 batterie.o(.bss)
STACK 0x20000070 Section 1024 startup_stm32f10x_md.o(STACK)
Global Symbols
@ -241,7 +283,6 @@ Image Symbol Table
TIM1_BRK_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM1_CC_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM1_TRG_COM_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
USART1_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
USART2_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
USART3_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
USBWakeUp_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
@ -250,38 +291,43 @@ Image Symbol Table
WWDG_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
__scatterload 0x08000129 Thumb Code 28 init.o(.text)
__scatterload_rt2 0x08000129 Thumb Code 0 init.o(.text)
Init_Plateau 0x0800014d Thumb Code 98 plateau.o(i.Init_Plateau)
MyGPIO_Init 0x080001c9 Thumb Code 166 driver_gpio.o(i.MyGPIO_Init)
MyGPIO_Reset 0x0800027d Thumb Code 14 driver_gpio.o(i.MyGPIO_Reset)
MyGPIO_Set 0x0800028b Thumb Code 12 driver_gpio.o(i.MyGPIO_Set)
MyTimer_Base_Init 0x08000299 Thumb Code 98 mytimer.o(i.MyTimer_Base_Init)
MyTimer_Base_Start 0x08000305 Thumb Code 10 mytimer.o(i.MyTimer_Base_Start)
MyTimer_PWM 0x08000311 Thumb Code 448 mytimer.o(i.MyTimer_PWM)
Set_Direction 0x080005c9 Thumb Code 34 plateau.o(i.Set_Direction)
Set_Moteur_Plateau 0x080005f1 Thumb Code 24 plateau.o(i.Set_Moteur_Plateau)
Set_PWM_PRCT 0x08000609 Thumb Code 56 mytimer.o(i.Set_PWM_PRCT)
Set_Vitesse 0x08000641 Thumb Code 22 plateau.o(i.Set_Vitesse)
SystemInit 0x08000661 Thumb Code 78 system_stm32f10x.o(i.SystemInit)
TIM1_UP_IRQHandler 0x080006c1 Thumb Code 28 mytimer.o(i.TIM1_UP_IRQHandler)
TIM2_IRQHandler 0x080006e5 Thumb Code 32 mytimer.o(i.TIM2_IRQHandler)
TIM3_IRQHandler 0x08000709 Thumb Code 28 mytimer.o(i.TIM3_IRQHandler)
TIM4_IRQHandler 0x0800072d Thumb Code 28 mytimer.o(i.TIM4_IRQHandler)
__scatterload_copy 0x08000751 Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x0800075f Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x08000761 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
main 0x0800076f Thumb Code 12 main.o(i.main)
Region$$Table$$Base 0x0800077c Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x0800079c Number 0 anon$$obj.o(Region$$Table)
ptr1 0x20000000 Data 4 mytimer.o(.data)
ptr2 0x20000004 Data 4 mytimer.o(.data)
ptr3 0x20000008 Data 4 mytimer.o(.data)
ptr4 0x2000000c Data 4 mytimer.o(.data)
channel 0x20000010 Data 1 plateau.o(.data)
TIM 0x20000014 Data 8 plateau.o(.data)
Data 0x2000001c Data 4 plateau.o(.data)
GPIOA5 0x20000020 Data 12 plateau.o(.bss)
GPIOA6 0x2000002c Data 12 plateau.o(.bss)
__initial_sp 0x20000438 Data 0 startup_stm32f10x_md.o(STACK)
Get_Batterie 0x0800014d Thumb Code 36 batterie.o(i.Get_Batterie)
Init_Batterie 0x08000175 Thumb Code 32 batterie.o(i.Init_Batterie)
Init_USART 0x0800019d Thumb Code 134 telecommande.o(i.Init_USART)
MyGPIO_Init 0x08000239 Thumb Code 166 driver_gpio.o(i.MyGPIO_Init)
Send_Char 0x080002ed Thumb Code 22 telecommande.o(i.Send_Char)
Send_Message 0x08000309 Thumb Code 24 telecommande.o(i.Send_Message)
SystemInit 0x08000409 Thumb Code 78 system_stm32f10x.o(i.SystemInit)
TIM1_UP_IRQHandler 0x08000469 Thumb Code 28 mytimer.o(i.TIM1_UP_IRQHandler)
TIM2_IRQHandler 0x0800048d Thumb Code 32 mytimer.o(i.TIM2_IRQHandler)
TIM3_IRQHandler 0x080004b1 Thumb Code 28 mytimer.o(i.TIM3_IRQHandler)
TIM4_IRQHandler 0x080004d5 Thumb Code 28 mytimer.o(i.TIM4_IRQHandler)
USART1_IRQHandler 0x080004f9 Thumb Code 18 telecommande.o(i.USART1_IRQHandler)
__scatterload_copy 0x08000515 Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x08000523 Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x08000525 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
initADC 0x08000535 Thumb Code 50 myadc.o(i.initADC)
main 0x08000571 Thumb Code 92 main.o(i.main)
read 0x0800060d Thumb Code 34 myadc.o(i.read)
startADC 0x08000635 Thumb Code 14 myadc.o(i.startADC)
Region$$Table$$Base 0x08000648 Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x08000668 Number 0 anon$$obj.o(Region$$Table)
droite 0x20000000 Data 4 main.o(.data)
b 0x20000004 Data 4 main.o(.data)
testBatterie 0x20000008 Data 4 main.o(.data)
bat 0x2000000c Data 4 main.o(.data)
ptr1 0x20000010 Data 4 mytimer.o(.data)
ptr2 0x20000014 Data 4 mytimer.o(.data)
ptr3 0x20000018 Data 4 mytimer.o(.data)
ptr4 0x2000001c Data 4 mytimer.o(.data)
Usart 0x20000020 Data 4 telecommande.o(.data)
ptr 0x20000024 Data 4 telecommande.o(.data)
nivBatterie 0x20000028 Data 4 batterie.o(.data)
USART 0x2000002c Data 28 telecommande.o(.bss)
GPIOA10 0x20000048 Data 12 telecommande.o(.bss)
GPIOA9 0x20000054 Data 12 telecommande.o(.bss)
GPIOC0 0x20000060 Data 12 batterie.o(.bss)
__initial_sp 0x20000470 Data 0 startup_stm32f10x_md.o(STACK)
@ -289,69 +335,64 @@ Image Symbol Table
Memory Map of the image
Image Entry point : 0x08000105
Image Entry point : 0x080000ed
Load Region LR_1 (Base: 0x08000000, Size: 0x000007bc, Max: 0xffffffff, ABSOLUTE)
Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00000694, Max: 0x00020000, ABSOLUTE)
Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x0000079c, Max: 0xffffffff, ABSOLUTE)
Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000668, Max: 0x00020000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x08000000 0x08000000 0x000000ec Data RO 309 RESET startup_stm32f10x_md.o
0x080000ec 0x080000ec 0x00000000 Code RO 360 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
0x080000ec 0x080000ec 0x00000004 Code RO 363 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
0x080000f0 0x080000f0 0x00000004 Code RO 366 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
0x080000f4 0x080000f4 0x00000000 Code RO 368 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
0x080000f4 0x080000f4 0x00000000 Code RO 370 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
0x080000f4 0x080000f4 0x00000008 Code RO 371 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
0x080000fc 0x080000fc 0x00000004 Code RO 378 .ARM.Collect$$$$0000000E mc_w.l(entry12b.o)
0x08000100 0x08000100 0x00000000 Code RO 373 .ARM.Collect$$$$0000000F mc_w.l(entry10a.o)
0x08000100 0x08000100 0x00000000 Code RO 375 .ARM.Collect$$$$00000011 mc_w.l(entry11a.o)
0x08000100 0x08000100 0x00000004 Code RO 364 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
0x08000104 0x08000104 0x00000024 Code RO 310 * .text startup_stm32f10x_md.o
0x08000128 0x08000128 0x00000024 Code RO 379 .text mc_w.l(init.o)
0x0800014c 0x0800014c 0x0000007c Code RO 258 i.Init_Plateau plateau.o
0x080001c8 0x080001c8 0x000000b4 Code RO 69 i.MyGPIO_Init driver_gpio.o
0x0800027c 0x0800027c 0x0000000e Code RO 71 i.MyGPIO_Reset driver_gpio.o
0x0800028a 0x0800028a 0x0000000c Code RO 72 i.MyGPIO_Set driver_gpio.o
0x08000296 0x08000296 0x00000002 PAD
0x08000298 0x08000298 0x0000006c Code RO 122 i.MyTimer_Base_Init mytimer.o
0x08000304 0x08000304 0x0000000a Code RO 123 i.MyTimer_Base_Start mytimer.o
0x0800030e 0x0800030e 0x00000002 PAD
0x08000310 0x08000310 0x000001d0 Code RO 125 i.MyTimer_PWM mytimer.o
0x080004e0 0x080004e0 0x00000008 Code RO 317 i.SetSysClock system_stm32f10x.o
0x080004e8 0x080004e8 0x000000e0 Code RO 318 i.SetSysClockTo72 system_stm32f10x.o
0x080005c8 0x080005c8 0x00000028 Code RO 259 i.Set_Direction plateau.o
0x080005f0 0x080005f0 0x00000018 Code RO 260 i.Set_Moteur_Plateau plateau.o
0x08000608 0x08000608 0x00000038 Code RO 127 i.Set_PWM_PRCT mytimer.o
0x08000640 0x08000640 0x00000020 Code RO 261 i.Set_Vitesse plateau.o
0x08000660 0x08000660 0x00000060 Code RO 320 i.SystemInit system_stm32f10x.o
0x080006c0 0x080006c0 0x00000024 Code RO 128 i.TIM1_UP_IRQHandler mytimer.o
0x080006e4 0x080006e4 0x00000024 Code RO 129 i.TIM2_IRQHandler mytimer.o
0x08000708 0x08000708 0x00000024 Code RO 130 i.TIM3_IRQHandler mytimer.o
0x0800072c 0x0800072c 0x00000024 Code RO 131 i.TIM4_IRQHandler mytimer.o
0x08000750 0x08000750 0x0000000e Code RO 383 i.__scatterload_copy mc_w.l(handlers.o)
0x0800075e 0x0800075e 0x00000002 Code RO 384 i.__scatterload_null mc_w.l(handlers.o)
0x08000760 0x08000760 0x0000000e Code RO 385 i.__scatterload_zeroinit mc_w.l(handlers.o)
0x0800076e 0x0800076e 0x0000000c Code RO 4 i.main main.o
0x0800077a 0x0800077a 0x00000002 PAD
0x0800077c 0x0800077c 0x00000020 Data RO 381 Region$$Table anon$$obj.o
0x08000000 0x08000000 0x000000ec Data RO 413 RESET startup_stm32f10x_md.o
0x080000ec 0x080000ec 0x00000000 Code RO 464 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
0x080000ec 0x080000ec 0x00000004 Code RO 467 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
0x080000f0 0x080000f0 0x00000004 Code RO 470 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
0x080000f4 0x080000f4 0x00000000 Code RO 472 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
0x080000f4 0x080000f4 0x00000000 Code RO 474 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
0x080000f4 0x080000f4 0x00000008 Code RO 475 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
0x080000fc 0x080000fc 0x00000004 Code RO 482 .ARM.Collect$$$$0000000E mc_w.l(entry12b.o)
0x08000100 0x08000100 0x00000000 Code RO 477 .ARM.Collect$$$$0000000F mc_w.l(entry10a.o)
0x08000100 0x08000100 0x00000000 Code RO 479 .ARM.Collect$$$$00000011 mc_w.l(entry11a.o)
0x08000100 0x08000100 0x00000004 Code RO 468 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
0x08000104 0x08000104 0x00000024 Code RO 414 .text startup_stm32f10x_md.o
0x08000128 0x08000128 0x00000024 Code RO 483 .text mc_w.l(init.o)
0x0800014c 0x0800014c 0x00000028 Code RO 377 i.Get_Batterie batterie.o
0x08000174 0x08000174 0x00000028 Code RO 378 i.Init_Batterie batterie.o
0x0800019c 0x0800019c 0x0000009c Code RO 323 i.Init_USART telecommande.o
0x08000238 0x08000238 0x000000b4 Code RO 84 i.MyGPIO_Init driver_gpio.o
0x080002ec 0x080002ec 0x0000001c Code RO 324 i.Send_Char telecommande.o
0x08000308 0x08000308 0x00000018 Code RO 325 i.Send_Message telecommande.o
0x08000320 0x08000320 0x00000008 Code RO 421 i.SetSysClock system_stm32f10x.o
0x08000328 0x08000328 0x000000e0 Code RO 422 i.SetSysClockTo72 system_stm32f10x.o
0x08000408 0x08000408 0x00000060 Code RO 424 i.SystemInit system_stm32f10x.o
0x08000468 0x08000468 0x00000024 Code RO 143 i.TIM1_UP_IRQHandler mytimer.o
0x0800048c 0x0800048c 0x00000024 Code RO 144 i.TIM2_IRQHandler mytimer.o
0x080004b0 0x080004b0 0x00000024 Code RO 145 i.TIM3_IRQHandler mytimer.o
0x080004d4 0x080004d4 0x00000024 Code RO 146 i.TIM4_IRQHandler mytimer.o
0x080004f8 0x080004f8 0x0000001c Code RO 326 i.USART1_IRQHandler telecommande.o
0x08000514 0x08000514 0x0000000e Code RO 487 i.__scatterload_copy mc_w.l(handlers.o)
0x08000522 0x08000522 0x00000002 Code RO 488 i.__scatterload_null mc_w.l(handlers.o)
0x08000524 0x08000524 0x0000000e Code RO 489 i.__scatterload_zeroinit mc_w.l(handlers.o)
0x08000532 0x08000532 0x00000002 PAD
0x08000534 0x08000534 0x0000003c Code RO 234 i.initADC myadc.o
0x08000570 0x08000570 0x0000009c Code RO 5 i.main main.o
0x0800060c 0x0800060c 0x00000028 Code RO 235 i.read myadc.o
0x08000634 0x08000634 0x00000014 Code RO 236 i.startADC myadc.o
0x08000648 0x08000648 0x00000020 Data RO 485 Region$$Table anon$$obj.o
Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x0800079c, Size: 0x00000020, Max: 0xffffffff, ABSOLUTE)
Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08000668, Size: 0x00000470, Max: 0x00005000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000000 0x0800079c 0x00000010 Data RW 132 .data mytimer.o
0x20000010 0x080007ac 0x00000010 Data RW 263 .data plateau.o
Execution Region ER_ZI (Exec base: 0x20000020, Load base: 0x080007bc, Size: 0x00000418, Max: 0xffffffff, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000020 - 0x00000018 Zero RW 262 .bss plateau.o
0x20000038 - 0x00000400 Zero RW 307 STACK startup_stm32f10x_md.o
0x20000000 0x08000668 0x00000010 Data RW 6 .data main.o
0x20000010 0x08000678 0x00000010 Data RW 147 .data mytimer.o
0x20000020 0x08000688 0x00000008 Data RW 328 .data telecommande.o
0x20000028 0x08000690 0x00000004 Data RW 380 .data batterie.o
0x2000002c - 0x00000034 Zero RW 327 .bss telecommande.o
0x20000060 - 0x0000000c Zero RW 379 .bss batterie.o
0x2000006c 0x08000694 0x00000004 PAD
0x20000070 - 0x00000400 Zero RW 411 STACK startup_stm32f10x_md.o
==============================================================================
@ -361,17 +402,19 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
206 14 0 0 0 2722 driver_gpio.o
12 0 0 0 0 206767 main.o
782 54 0 16 0 6027 mytimer.o
220 42 0 16 24 2755 plateau.o
80 12 0 4 12 1168 batterie.o
180 14 0 0 0 1658 driver_gpio.o
156 64 0 16 0 207163 main.o
120 22 0 0 0 1308 myadc.o
144 28 0 16 0 3521 mytimer.o
36 8 236 0 1024 808 startup_stm32f10x_md.o
328 28 0 0 0 1973 system_stm32f10x.o
236 38 0 8 52 2809 telecommande.o
----------------------------------------------------------------------
1590 146 268 32 1048 221052 Object Totals
1280 214 268 44 1092 220408 Object Totals
0 0 32 0 0 0 (incl. Generated)
6 0 0 0 0 0 (incl. Padding)
0 0 0 0 4 0 (incl. Padding)
----------------------------------------------------------------------
@ -390,8 +433,8 @@ Image component sizes
36 8 0 0 0 68 init.o
----------------------------------------------------------------------
90 16 0 0 0 68 Library Totals
0 0 0 0 0 0 (incl. Padding)
92 16 0 0 0 68 Library Totals
2 0 0 0 0 0 (incl. Padding)
----------------------------------------------------------------------
@ -400,7 +443,7 @@ Image component sizes
90 16 0 0 0 68 mc_w.l
----------------------------------------------------------------------
90 16 0 0 0 68 Library Totals
92 16 0 0 0 68 Library Totals
----------------------------------------------------------------------
@ -409,15 +452,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
1680 162 268 32 1048 220388 Grand Totals
1680 162 268 32 1048 220388 ELF Image Totals
1680 162 268 32 0 0 ROM Totals
1372 230 268 44 1092 219848 Grand Totals
1372 230 268 44 1092 219848 ELF Image Totals
1372 230 268 44 0 0 ROM Totals
==============================================================================
Total RO Size (Code + RO Data) 1948 ( 1.90kB)
Total RW Size (RW Data + ZI Data) 1080 ( 1.05kB)
Total ROM Size (Code + RO Data + RW Data) 1980 ( 1.93kB)
Total RO Size (Code + RO Data) 1640 ( 1.60kB)
Total RW Size (RW Data + ZI Data) 1136 ( 1.11kB)
Total ROM Size (Code + RO Data + RW Data) 1684 ( 1.64kB)
==============================================================================

View file

@ -465,12 +465,12 @@ ARM Macro Assembler Page 8
00000000
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
ork --depend=.\objects\startup_stm32f10x_md.d -o.\objects\startup_stm32f10x_md.
o -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Pack
s\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32
F1xx_DFP\2.3.0\Device\Include --predefine="__EVAL SETA 1" --predefine="__MICROL
IB SETA 1" --predefine="__UVISION_VERSION SETA 534" --predefine="_RTE_ SETA 1"
--predefine="STM32F10X_MD SETA 1" --predefine="_RTE_ SETA 1" --list=.\listings\
startup_stm32f10x_md.lst RTE\Device\STM32F103RB\startup_stm32f10x_md.s
o -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_D
FP\2.3.0\Device\Include --predefine="__EVAL SETA 1" --predefine="__MICROLIB SET
A 1" --predefine="__UVISION_VERSION SETA 534" --predefine="_RTE_ SETA 1" --pred
efine="STM32F10X_MD SETA 1" --predefine="_RTE_ SETA 1" --list=.\listings\startu
p_stm32f10x_md.lst RTE\Device\STM32F103RB\startup_stm32f10x_md.s

View file

@ -1,43 +1,101 @@
Dependencies for Project 'Projet1', Target 'Réel': (DO NOT MODIFY !)
CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
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)
F (.\Sources\main.c)(0x6372704A)(-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\main.o --omf_browse .\objects\main.crf --depend .\objects\main.d)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (.\FileInclude\Driver_GPIO.h)(0x63315001)
I (.\FileInclude\MyTimer.h)(0x6340244A)
I (.\FileInclude\Driver_GPIO.h)(0x6352AB58)
I (.\FileInclude\MyTimer.h)(0x6352B8A4)
I (.\FileInclude\MyADC.h)(0x6352AB58)
I (.\FileInclude\Plateau.h)(0x63725F44)
I (.\FileInclude\Telecommande.h)(0x6368CE08)
I (.\FileInclude\Batterie.h)(0x63712E97)
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)
I (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.h)(0x63315001)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
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)
I (FileInclude\MyTimer.h)(0x6340244A)
F (.\FileInclude\MyTimer.c)(0x635EAD7F)(-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)
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\Driver_GPIO.h)(0x63315001)
F (.\FileInclude\MyTimer.h)(0x6340244A)()
F (RTE\Device\STM32F103RB\RTE_Device.h)(0x59283406)()
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)
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)
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
F (.\FileInclude\MyTimer.h)(0x6352B8A4)()
F (.\FileInclude\MyADC.c)(0x63726E79)(-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\myadc.o --omf_browse .\objects\myadc.crf --depend .\objects\myadc.d)
I (FileInclude\MyADC.h)(0x6352AB58)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
F (.\FileInclude\MyADC.h)(0x6352AB58)()
F (.\FileInclude\Plateau.c)(0x635BB6D1)(-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\plateau.o --omf_browse .\objects\plateau.crf --depend .\objects\plateau.d)
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
I (FileInclude\Plateau.h)(0x63725F44)
F (.\FileInclude\Telecommande.c)(0x6368E779)(-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\telecommande.o --omf_browse .\objects\telecommande.crf --depend .\objects\telecommande.d)
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
I (FileInclude\Plateau.h)(0x63725F44)
I (FileInclude\Telecommande.h)(0x6368CE08)
F (.\FileInclude\Plateau.h)(0x63725F44)()
F (.\FileInclude\Telecommande.h)(0x6368CE08)()
F (.\FileInclude\Batterie.c)(0x637268C7)(-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\batterie.o --omf_browse .\objects\batterie.crf --depend .\objects\batterie.d)
I (FileInclude\Batterie.h)(0x63712E97)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\MyADC.h)(0x6352AB58)
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
F (.\FileInclude\Batterie.h)(0x63712E97)()
F (RTE\Device\STM32F103RB\RTE_Device.h)(0x6352AB59)()
F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x6352AB59)(--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)
F (RTE\Device\STM32F103RB\system_stm32f10x.c)(0x6352AB59)(-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)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)

View file

@ -1,6 +1,6 @@
Dependencies for Project 'Projet1', Target 'SImulation': (DO NOT MODIFY !)
CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
F (.\Sources\main.c)(0x635B8BB4)(-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\main.o --omf_browse .\objects\main.crf --depend .\objects\main.d)
F (.\Sources\main.c)(0x63725877)(-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\main.o --omf_browse .\objects\main.crf --depend .\objects\main.d)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
@ -12,7 +12,9 @@ I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_
I (.\FileInclude\Driver_GPIO.h)(0x6352AB58)
I (.\FileInclude\MyTimer.h)(0x6352B8A4)
I (.\FileInclude\MyADC.h)(0x6352AB58)
I (.\FileInclude\Plateau.h)(0x635B8BB4)
I (.\FileInclude\Plateau.h)(0x635B93E6)
I (.\FileInclude\Telecommande.h)(0x6368CE08)
I (.\FileInclude\Batterie.h)(0x63712E97)
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)
I (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.h)(0x63315001)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
@ -23,7 +25,7 @@ I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_versio
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
F (.\FileInclude\MyTimer.c)(0x6352B8A4)(-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)
F (.\FileInclude\MyTimer.c)(0x635EAD7F)(-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)
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB59)
@ -48,7 +50,7 @@ I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
F (.\FileInclude\MyADC.h)(0x6352AB58)()
F (.\FileInclude\Plateau.c)(0x635B8BB4)(-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\plateau.o --omf_browse .\objects\plateau.crf --depend .\objects\plateau.d)
F (.\FileInclude\Plateau.c)(0x635BB6D1)(-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\plateau.o --omf_browse .\objects\plateau.crf --depend .\objects\plateau.d)
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB59)
@ -59,10 +61,36 @@ I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compil
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
I (FileInclude\Plateau.h)(0x635B8BB4)
F (.\FileInclude\Telecommande.c)(0x6352B81B)(-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\telecommande.o --omf_browse .\objects\telecommande.crf --depend .\objects\telecommande.d)
F (.\FileInclude\Plateau.h)(0x635B8BB4)()
F (.\FileInclude\Telecommande.h)(0x6352B81B)()
I (FileInclude\Plateau.h)(0x635B93E6)
F (.\FileInclude\Telecommande.c)(0x6368E779)(-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\telecommande.o --omf_browse .\objects\telecommande.crf --depend .\objects\telecommande.d)
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
I (FileInclude\Plateau.h)(0x635B93E6)
I (FileInclude\Telecommande.h)(0x6368CE08)
F (.\FileInclude\Plateau.h)(0x635B93E6)()
F (.\FileInclude\Telecommande.h)(0x6368CE08)()
F (.\FileInclude\Batterie.c)(0x63712DDE)(-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\batterie.o --omf_browse .\objects\batterie.crf --depend .\objects\batterie.d)
I (FileInclude\Batterie.h)(0x63712E97)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB59)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\MyADC.h)(0x6352AB58)
I (FileInclude\MyTimer.h)(0x6352B8A4)
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
F (.\FileInclude\Batterie.h)(0x63712E97)()
F (RTE\Device\STM32F103RB\RTE_Device.h)(0x6352AB59)()
F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x6352AB59)(--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)
F (RTE\Device\STM32F103RB\system_stm32f10x.c)(0x6352AB59)(-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)

Binary file not shown.

View file

@ -17,26 +17,27 @@ Library Manager: ArmAr.exe V5.06 update 7 (build 960)
Hex Converter: FromElf.exe V5.06 update 7 (build 960)
CPU DLL: SARMCM3.DLL V5.34.0.0
Dialog DLL: DARMSTM.DLL V1.68.0.0
Target DLL: UL2CM3.DLL V1.163.9.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.8.0
Dialog DLL: TARMSTM.DLL V1.66.0.0
<h2>Project:</h2>
U:\Documents\4ir\S1\Microcontroleur\TP_Voilier\Projet1.uvprojx
Project File Date: 10/21/2022
Project File Date: 11/13/2022
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'SImulation'
assembling startup_stm32f10x_md.s...
compiling Telecommande.c...
compiling Driver_GPIO.c...
compiling main.c...
Rebuild target 'Réel'
compiling MyADC.c...
compiling Plateau.c...
compiling system_stm32f10x.c...
compiling Batterie.c...
compiling Driver_GPIO.c...
compiling Telecommande.c...
compiling main.c...
compiling MyTimer.c...
assembling startup_stm32f10x_md.s...
compiling system_stm32f10x.c...
linking...
Program Size: Code=1680 RO-data=268 RW-data=32 ZI-data=1048
Program Size: Code=1372 RO-data=268 RW-data=44 ZI-data=1092
".\Objects\Projet1_Simulation.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>
@ -55,7 +56,7 @@ Package Vendor: Keil
<h2>Collection of Component include folders:</h2>
.\RTE\Device\STM32F103RB
.\RTE\_SImulation
.\RTE\_R_el
C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include
C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
@ -64,11 +65,11 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE:5.4.0
* Component: Keil::Device:Startup:1.0.0
Source file: Device\Source\ARM\startup_stm32f10x_md.s
Source file: Device\Source\system_stm32f10x.c
Source file: Device\Source\ARM\STM32F1xx_OPT.s
Include file: RTE_Driver\Config\RTE_Device.h
Build Time Elapsed: 00:00:01
Source file: Device\Source\ARM\STM32F1xx_OPT.s
Source file: Device\Source\ARM\startup_stm32f10x_md.s
Build Time Elapsed: 00:00:02
</pre>
</body>
</html>

View file

@ -3,11 +3,11 @@
<title>Static Call Graph - [.\Objects\Projet1_Simulation.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image .\Objects\Projet1_Simulation.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Fri Oct 28 09:58:45 2022
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Mon Nov 14 17:43:57 2022
<BR><P>
<H3>Maximum Stack Usage = 60 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
<H3>Maximum Stack Usage = 28 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
main &rArr; Set_Moteur_Plateau &rArr; Init_Plateau &rArr; MyTimer_PWM &rArr; MyGPIO_Init
SystemInit &rArr; SetSysClock &rArr; SetSysClockTo72
<P>
<H3>
Mutually Recursive functions
@ -58,7 +58,7 @@ Function Pointers
<LI><a href="#[f]">RCC_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[33]">RTCAlarm_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[d]">RTC_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[38]">Reset_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[0]">Reset_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[2d]">SPI1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[2e]">SPI2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[6]">SVC_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
@ -72,7 +72,7 @@ Function Pointers
<LI><a href="#[26]">TIM2_IRQHandler</a> from mytimer.o(i.TIM2_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[27]">TIM3_IRQHandler</a> from mytimer.o(i.TIM3_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[28]">TIM4_IRQHandler</a> from mytimer.o(i.TIM4_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[2f]">USART1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[2f]">USART1_IRQHandler</a> from telecommande.o(i.USART1_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[30]">USART2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[31]">USART3_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[34]">USBWakeUp_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
@ -90,30 +90,31 @@ Global Symbols
<P><STRONG><a name="[37]"></a>__main</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(.text)
</UL>
<P><STRONG><a name="[49]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[46]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[39]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Calls]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
<P><STRONG><a name="[38]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Calls]<UL><LI><a href="#[39]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
</UL>
<P><STRONG><a name="[3b]"></a>__main_after_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Called By]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
<P><STRONG><a name="[3a]"></a>__main_after_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Called By]<UL><LI><a href="#[39]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
</UL>
<P><STRONG><a name="[4a]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[47]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[4b]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[48]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[4c]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[49]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[4d]"></a>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
<P><STRONG><a name="[4a]"></a>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
<P><STRONG><a name="[4e]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[4b]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[4f]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011))
<P><STRONG><a name="[38]"></a>Reset_Handler</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<P><STRONG><a name="[4c]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011))
<P><STRONG><a name="[0]"></a>Reset_Handler</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[1]"></a>NMI_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR><BR>[Calls]<UL><LI><a href="#[1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;NMI_Handler
</UL>
@ -277,9 +278,6 @@ Global Symbols
<P><STRONG><a name="[24]"></a>TIM1_TRG_COM_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[2f]"></a>USART1_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[30]"></a>USART2_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
@ -298,93 +296,63 @@ Global Symbols
<P><STRONG><a name="[a]"></a>WWDG_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[3a]"></a>__scatterload</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
<BR><BR>[Calls]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__main_after_scatterload
<P><STRONG><a name="[39]"></a>__scatterload</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
<BR><BR>[Calls]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__main_after_scatterload
</UL>
<BR>[Called By]<UL><LI><a href="#[39]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_main_scatterload
<BR>[Called By]<UL><LI><a href="#[38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_main_scatterload
</UL>
<P><STRONG><a name="[50]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[4d]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[3c]"></a>Init_Plateau</STRONG> (Thumb, 98 bytes, Stack size 8 bytes, plateau.o(i.Init_Plateau))
<BR><BR>[Stack]<UL><LI>Max Depth = 44<LI>Call Chain = Init_Plateau &rArr; MyTimer_PWM &rArr; MyGPIO_Init
<P><STRONG><a name="[3b]"></a>Get_Batterie</STRONG> (Thumb, 36 bytes, Stack size 8 bytes, batterie.o(i.Get_Batterie))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = Get_Batterie &rArr; read
</UL>
<BR>[Calls]<UL><LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_PWM
<LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Base_Start
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Base_Init
<BR>[Calls]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;read
</UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3d]"></a>Init_Batterie</STRONG> (Thumb, 32 bytes, Stack size 8 bytes, batterie.o(i.Init_Batterie))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = Init_Batterie &rArr; MyGPIO_Init
</UL>
<BR>[Calls]<UL><LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;startADC
<LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;initADC
<LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Init
</UL>
<BR>[Called By]<UL><LI><a href="#[46]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_Moteur_Plateau
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[41]"></a>Init_USART</STRONG> (Thumb, 134 bytes, Stack size 8 bytes, telecommande.o(i.Init_USART))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = Init_USART &rArr; MyGPIO_Init
</UL>
<BR>[Calls]<UL><LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Init
</UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3e]"></a>MyGPIO_Init</STRONG> (Thumb, 166 bytes, Stack size 12 bytes, driver_gpio.o(i.MyGPIO_Init))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = MyGPIO_Init
</UL>
<BR>[Called By]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Plateau
<LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_PWM
<BR>[Called By]<UL><LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_USART
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Batterie
</UL>
<P><STRONG><a name="[44]"></a>MyGPIO_Reset</STRONG> (Thumb, 14 bytes, Stack size 0 bytes, driver_gpio.o(i.MyGPIO_Reset))
<BR><BR>[Called By]<UL><LI><a href="#[43]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_Direction
<P><STRONG><a name="[43]"></a>Send_Char</STRONG> (Thumb, 22 bytes, Stack size 0 bytes, telecommande.o(i.Send_Char))
<BR><BR>[Called By]<UL><LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Send_Message
</UL>
<P><STRONG><a name="[45]"></a>MyGPIO_Set</STRONG> (Thumb, 12 bytes, Stack size 0 bytes, driver_gpio.o(i.MyGPIO_Set))
<BR><BR>[Called By]<UL><LI><a href="#[43]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_Direction
<P><STRONG><a name="[42]"></a>Send_Message</STRONG> (Thumb, 24 bytes, Stack size 4 bytes, telecommande.o(i.Send_Message))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = Send_Message
</UL>
<P><STRONG><a name="[3d]"></a>MyTimer_Base_Init</STRONG> (Thumb, 98 bytes, Stack size 0 bytes, mytimer.o(i.MyTimer_Base_Init))
<BR><BR>[Called By]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Plateau
</UL>
<P><STRONG><a name="[3f]"></a>MyTimer_Base_Start</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, mytimer.o(i.MyTimer_Base_Start))
<BR><BR>[Called By]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Plateau
</UL>
<P><STRONG><a name="[40]"></a>MyTimer_PWM</STRONG> (Thumb, 448 bytes, Stack size 24 bytes, mytimer.o(i.MyTimer_PWM))
<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = MyTimer_PWM &rArr; MyGPIO_Init
</UL>
<BR>[Calls]<UL><LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Init
</UL>
<BR>[Called By]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Plateau
</UL>
<P><STRONG><a name="[43]"></a>Set_Direction</STRONG> (Thumb, 34 bytes, Stack size 8 bytes, plateau.o(i.Set_Direction))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = Set_Direction
</UL>
<BR>[Calls]<UL><LI><a href="#[45]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Set
<LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Reset
</UL>
<BR>[Called By]<UL><LI><a href="#[46]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_Moteur_Plateau
</UL>
<P><STRONG><a name="[46]"></a>Set_Moteur_Plateau</STRONG> (Thumb, 24 bytes, Stack size 16 bytes, plateau.o(i.Set_Moteur_Plateau))
<BR><BR>[Stack]<UL><LI>Max Depth = 60<LI>Call Chain = Set_Moteur_Plateau &rArr; Init_Plateau &rArr; MyTimer_PWM &rArr; MyGPIO_Init
</UL>
<BR>[Calls]<UL><LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_Vitesse
<LI><a href="#[43]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_Direction
<LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Plateau
<BR>[Calls]<UL><LI><a href="#[43]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Send_Char
</UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[48]"></a>Set_PWM_PRCT</STRONG> (Thumb, 56 bytes, Stack size 12 bytes, mytimer.o(i.Set_PWM_PRCT))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = Set_PWM_PRCT
</UL>
<BR>[Called By]<UL><LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_Vitesse
</UL>
<P><STRONG><a name="[47]"></a>Set_Vitesse</STRONG> (Thumb, 22 bytes, Stack size 8 bytes, plateau.o(i.Set_Vitesse))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = Set_Vitesse &rArr; Set_PWM_PRCT
</UL>
<BR>[Calls]<UL><LI><a href="#[48]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_PWM_PRCT
</UL>
<BR>[Called By]<UL><LI><a href="#[46]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_Moteur_Plateau
</UL>
<P><STRONG><a name="[36]"></a>SystemInit</STRONG> (Thumb, 78 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SystemInit))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = SystemInit &rArr; SetSysClock &rArr; SetSysClockTo72
</UL>
<BR>[Calls]<UL><LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
<BR>[Calls]<UL><LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(.text)
</UL>
@ -408,34 +376,59 @@ Global Symbols
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[51]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[52]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[53]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 12 bytes, Stack size 0 bytes, main.o(i.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 60<LI>Call Chain = main &rArr; Set_Moteur_Plateau &rArr; Init_Plateau &rArr; MyTimer_PWM &rArr; MyGPIO_Init
<P><STRONG><a name="[2f]"></a>USART1_IRQHandler</STRONG> (Thumb, 18 bytes, Stack size 8 bytes, telecommande.o(i.USART1_IRQHandler))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = USART1_IRQHandler
</UL>
<BR>[Calls]<UL><LI><a href="#[46]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Set_Moteur_Plateau
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[4e]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[4f]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[50]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[3f]"></a>initADC</STRONG> (Thumb, 50 bytes, Stack size 0 bytes, myadc.o(i.initADC))
<BR><BR>[Called By]<UL><LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Batterie
</UL>
<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 92 bytes, Stack size 0 bytes, main.o(i.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = main &rArr; Init_USART &rArr; MyGPIO_Init
</UL>
<BR>[Calls]<UL><LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Send_Message
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_USART
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Batterie
<LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Get_Batterie
</UL>
<BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B)
</UL><P>
</UL>
<P><STRONG><a name="[3c]"></a>read</STRONG> (Thumb, 34 bytes, Stack size 4 bytes, myadc.o(i.read))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = read
</UL>
<BR>[Calls]<UL><LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;startADC
</UL>
<BR>[Called By]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Get_Batterie
</UL>
<P><STRONG><a name="[40]"></a>startADC</STRONG> (Thumb, 14 bytes, Stack size 0 bytes, myadc.o(i.startADC))
<BR><BR>[Called By]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;read
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Batterie
</UL>
<P>
<H3>
Local Symbols
</H3>
<P><STRONG><a name="[41]"></a>SetSysClock</STRONG> (Thumb, 8 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SetSysClock))
<P><STRONG><a name="[44]"></a>SetSysClock</STRONG> (Thumb, 8 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SetSysClock))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = SetSysClock &rArr; SetSysClockTo72
</UL>
<BR>[Calls]<UL><LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClockTo72
<BR>[Calls]<UL><LI><a href="#[45]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClockTo72
</UL>
<BR>[Called By]<UL><LI><a href="#[36]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SystemInit
</UL>
<P><STRONG><a name="[42]"></a>SetSysClockTo72</STRONG> (Thumb, 214 bytes, Stack size 12 bytes, system_stm32f10x.o(i.SetSysClockTo72))
<P><STRONG><a name="[45]"></a>SetSysClockTo72</STRONG> (Thumb, 214 bytes, Stack size 12 bytes, system_stm32f10x.o(i.SetSysClockTo72))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = SetSysClockTo72
</UL>
<BR>[Called By]<UL><LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
<BR>[Called By]<UL><LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
</UL>
<P>
<H3>

View file

@ -5,8 +5,10 @@
".\objects\myadc.o"
".\objects\plateau.o"
".\objects\telecommande.o"
".\objects\batterie.o"
".\objects\startup_stm32f10x_md.o"
".\objects\system_stm32f10x.o"
--library_type=microlib --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
--library_type=microlib --strict --scatter ".\Objects\Projet1_Simulation.sct"
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers
--list ".\Listings\Projet1_Simulation.map" -o .\Objects\Projet1_Simulation.axf

BIN
Objects/batterie.crf Normal file

Binary file not shown.

13
Objects/batterie.d Normal file
View file

@ -0,0 +1,13 @@
.\objects\batterie.o: FileInclude\Batterie.c
.\objects\batterie.o: FileInclude\Batterie.h
.\objects\batterie.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\batterie.o: .\RTE\_R_el\RTE_Components.h
.\objects\batterie.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\batterie.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\batterie.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
.\objects\batterie.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
.\objects\batterie.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
.\objects\batterie.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h
.\objects\batterie.o: FileInclude\MyADC.h
.\objects\batterie.o: FileInclude\MyTimer.h
.\objects\batterie.o: FileInclude\Driver_GPIO.h

BIN
Objects/batterie.o Normal file

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
.\objects\driver_gpio.o: U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c
.\objects\driver_gpio.o: U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.h
.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\driver_gpio.o: .\RTE\_SImulation\RTE_Components.h
.\objects\driver_gpio.o: .\RTE\_R_el\RTE_Components.h
.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\driver_gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

View file

@ -1,6 +1,6 @@
.\objects\main.o: Sources\main.c
.\objects\main.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\main.o: .\RTE\_SImulation\RTE_Components.h
.\objects\main.o: .\RTE\_R_el\RTE_Components.h
.\objects\main.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\main.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
@ -11,3 +11,5 @@
.\objects\main.o: .\FileInclude\MyTimer.h
.\objects\main.o: .\FileInclude\MyADC.h
.\objects\main.o: .\FileInclude\Plateau.h
.\objects\main.o: .\FileInclude\Telecommande.h
.\objects\main.o: .\FileInclude\Batterie.h

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
.\objects\myadc.o: FileInclude\MyADC.c
.\objects\myadc.o: FileInclude\MyADC.h
.\objects\myadc.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\myadc.o: .\RTE\_SImulation\RTE_Components.h
.\objects\myadc.o: .\RTE\_R_el\RTE_Components.h
.\objects\myadc.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\myadc.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\myadc.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
.\objects\mytimer.o: FileInclude\MyTimer.c
.\objects\mytimer.o: FileInclude\MyTimer.h
.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\mytimer.o: .\RTE\_SImulation\RTE_Components.h
.\objects\mytimer.o: .\RTE\_R_el\RTE_Components.h
.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\mytimer.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
.\objects\plateau.o: FileInclude\Plateau.c
.\objects\plateau.o: FileInclude\MyTimer.h
.\objects\plateau.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\plateau.o: .\RTE\_SImulation\RTE_Components.h
.\objects\plateau.o: .\RTE\_R_el\RTE_Components.h
.\objects\plateau.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\plateau.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\plateau.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,6 +1,6 @@
.\objects\system_stm32f10x.o: RTE\Device\STM32F103RB\system_stm32f10x.c
.\objects\system_stm32f10x.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\system_stm32f10x.o: .\RTE\_SImulation\RTE_Components.h
.\objects\system_stm32f10x.o: .\RTE\_R_el\RTE_Components.h
.\objects\system_stm32f10x.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\system_stm32f10x.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\system_stm32f10x.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

View file

@ -1 +1,13 @@
.\objects\telecommande.o: FileInclude\Telecommande.c
.\objects\telecommande.o: FileInclude\MyTimer.h
.\objects\telecommande.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\telecommande.o: .\RTE\_R_el\RTE_Components.h
.\objects\telecommande.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\telecommande.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\telecommande.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
.\objects\telecommande.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
.\objects\telecommande.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
.\objects\telecommande.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h
.\objects\telecommande.o: FileInclude\Driver_GPIO.h
.\objects\telecommande.o: FileInclude\Plateau.h
.\objects\telecommande.o: FileInclude\Telecommande.h

Binary file not shown.

File diff suppressed because one or more lines are too long

View file

@ -75,7 +75,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>1</IsCurrentTarget>
<IsCurrentTarget>0</IsCurrentTarget>
</OPTFL>
<CpuCode>18</CpuCode>
<DebugOpt>
@ -125,7 +125,7 @@
<SetRegEntry>
<Number>0</Number>
<Key>DLGDARM</Key>
<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=61,96,281,556,0)(111=60,88,280,548,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=1116,169,1537,596,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,244,1728,995,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=1246,187,1849,938,0)(151=-1,-1,-1,-1,0)</Name>
<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=47,253,693,926,0)(110=61,96,281,556,0)(111=1226,87,1446,547,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=1283,103,1704,530,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,216,1728,967,0)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=1413,241,1861,655,0)(161=-1,-1,-1,-1,0)(162=165,202,613,616,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=308,356,824,709,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=1246,187,1849,938,0)(151=-1,-1,-1,-1,0)</Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
@ -139,6 +139,18 @@
</SetRegEntry>
</TargetDriverDllRegistry>
<Breakpoint/>
<WatchWindow1>
<Ww>
<count>0</count>
<WinNumber>1</WinNumber>
<ItemText>USART1_DR</ItemText>
</Ww>
<Ww>
<count>1</count>
<WinNumber>1</WinNumber>
<ItemText>b</ItemText>
</Ww>
</WatchWindow1>
<Tracepoint>
<THDelay>0</THDelay>
</Tracepoint>
@ -184,18 +196,13 @@
<LogicAnalyzers>
<Wi>
<IntNumber>0</IntNumber>
<FirstString>((PORTC &amp; 0x00000400) &gt;&gt; 10 &amp; 0x400) &gt;&gt; 10</FirstString>
<SecondString>FF000000000000000000000000000000E0FFEF400100000000000000000000000000000028504F5254432026203078303030303034303029203E3E2031300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000565555555555D53F0B0000000000000000000000000000000000000030040008</SecondString>
<FirstString>((PORTA &amp; 0x00000200) &gt;&gt; 9 &amp; 0x200) &gt;&gt; 9</FirstString>
<SecondString>00008000000000000000000000000000E0FFEF400000000000000000000000000000000028504F5254412026203078303030303032303029203E3E2039000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000000000000000E03F150000000000000000000000000000000000000096020008</SecondString>
</Wi>
<Wi>
<IntNumber>1</IntNumber>
<FirstString>((PORTA &amp; 0x00000008) &gt;&gt; 3 &amp; 0x40) &gt;&gt; 5</FirstString>
<SecondString>00800000000000000000000000000000E0FFEF400100000000000000000000000000000028504F5254412026203078303030303030303829203E3E2033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000002000000565555555555D53F0B000000000000000000000000000000000000007E050008</SecondString>
</Wi>
<Wi>
<IntNumber>2</IntNumber>
<FirstString>((PORTA &amp; 0x00000040) &gt;&gt; 5 &amp; 0x40) &gt;&gt; 5</FirstString>
<SecondString>00008000000000000000000000000000E0FFEF400000000000000000000000000000000028504F5254412026203078303030303030343029203E3E2035000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000003000000555555555555D53F0B000000000000000000000000000000000000006A070008</SecondString>
<FirstString>((PORTA &amp; 0x00000400) &gt;&gt; 10 &amp; 0x400) &gt;&gt; 10</FirstString>
<SecondString>00000000000000000000000000000000E0FFEF400000000000000000000000000000000028504F5254412026203078303030303034303029203E3E2031300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000002000000000000000000E03F150000000000000000000000000000000000000096020008</SecondString>
</Wi>
</LogicAnalyzers>
<DebugDescription>
@ -262,7 +269,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>0</IsCurrentTarget>
<IsCurrentTarget>1</IsCurrentTarget>
</OPTFL>
<CpuCode>18</CpuCode>
<DebugOpt>
@ -307,7 +314,7 @@
<SetRegEntry>
<Number>0</Number>
<Key>DLGTARM</Key>
<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>
<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=1364,310,1785,715,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=549,184,1143,878,0)(133=-1,-1,-1,-1,0)(160=457,182,905,596,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>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
@ -341,6 +348,38 @@
</SetRegEntry>
</TargetDriverDllRegistry>
<Breakpoint/>
<WatchWindow1>
<Ww>
<count>0</count>
<WinNumber>1</WinNumber>
<ItemText>test</ItemText>
</Ww>
<Ww>
<count>1</count>
<WinNumber>1</WinNumber>
<ItemText>b,0x0A</ItemText>
</Ww>
<Ww>
<count>2</count>
<WinNumber>1</WinNumber>
<ItemText>ismoins100</ItemText>
</Ww>
<Ww>
<count>3</count>
<WinNumber>1</WinNumber>
<ItemText>is100</ItemText>
</Ww>
<Ww>
<count>4</count>
<WinNumber>1</WinNumber>
<ItemText>c</ItemText>
</Ww>
<Ww>
<count>5</count>
<WinNumber>1</WinNumber>
<ItemText>bat,0x0A</ItemText>
</Ww>
</WatchWindow1>
<Tracepoint>
<THDelay>0</THDelay>
</Tracepoint>
@ -527,6 +566,30 @@
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>11</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\FileInclude\Batterie.c</PathWithFileName>
<FilenameWithoutPath>Batterie.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>12</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\FileInclude\Batterie.h</PathWithFileName>
<FilenameWithoutPath>Batterie.h</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group>

View file

@ -438,6 +438,16 @@
<FileType>5</FileType>
<FilePath>.\FileInclude\Telecommande.h</FilePath>
</File>
<File>
<FileName>Batterie.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\Batterie.c</FilePath>
</File>
<File>
<FileName>Batterie.h</FileName>
<FileType>5</FileType>
<FilePath>.\FileInclude\Batterie.h</FilePath>
</File>
</Files>
</Group>
<Group>
@ -880,6 +890,16 @@
<FileType>5</FileType>
<FilePath>.\FileInclude\Telecommande.h</FilePath>
</File>
<File>
<FileName>Batterie.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\Batterie.c</FilePath>
</File>
<File>
<FileName>Batterie.h</FileName>
<FileType>5</FileType>
<FilePath>.\FileInclude\Batterie.h</FilePath>
</File>
</Files>
</Group>
<Group>

View file

@ -3,13 +3,58 @@
#include <MyTimer.h>
#include <MyADC.h>
#include <Plateau.h>
#include <Telecommande.h>
#include <Batterie.h>
int droite;
int b;
int testBatterie ;
int bat;
void f (char a) {
if (a>> 7 & 1) {
droite = 1;
b = 256 - a;
Set_Moteur_Plateau(HORRAIRE, b);
}
else {
droite = 0;
b = a;
Set_Moteur_Plateau(ANTI_HORRAIRE, b);
}
}
int main (void)
{
Set_Moteur_Plateau(ANTI_HORRAIRE,10);
do {
char* visuBatterie = "[-----]";
/* Pour la telecommande */
Init_USART(USART1);
/*Init_Message_Reception(&f);
Init_Plateau();*/
/* Batterie */
Init_Batterie();
while (1) {
bat = Get_Batterie();
if (bat < 20) {
visuBatterie = "[-----]";
} else if (bat < 40) {
visuBatterie = "[##---]";
} else if (bat < 60) {
visuBatterie = "[###--]";
} else if (bat < 80) {
visuBatterie = "[####-]";
} else {
visuBatterie = "[#####]";
}
while (1);
Send_Message("Batterie : ");
Send_Message(visuBatterie);
Send_Message("\r");
}
}