Driver plateau done untested
This commit is contained in:
parent
f2db597d97
commit
207ee64a7f
57 changed files with 17469 additions and 17413 deletions
|
@ -3,45 +3,57 @@
|
|||
#include "Driver_GPIO.h"
|
||||
#include "Plateau.h"
|
||||
|
||||
|
||||
/* Permet de diriger le plateau du voilier */
|
||||
void Set_Moteur_Plateau(char sens, char vitesse){ // -1 gauche et 1 droite
|
||||
/* Declarations */
|
||||
char channel;
|
||||
|
||||
char channel = 1 ;
|
||||
MyTimer_Struct_TypeDef TIM;
|
||||
MyTimer_Struct_TypeDef * Data = &TIM;
|
||||
MyGPIO_Struct_TypeDef GPIOA5; // pin direction
|
||||
MyGPIO_Struct_TypeDef GPIOA6; // pin moteur
|
||||
channel =1;
|
||||
|
||||
void Init_Plateau (void) {
|
||||
|
||||
/* Configuration du Timer */
|
||||
MyTimer_Struct_TypeDef * Data = &TIM;
|
||||
Data->Timer = TIM3;
|
||||
Data->ARR = 300;
|
||||
Data->PSC = 11; // pas sur de la valeur car on veut 20kHz au max
|
||||
Data->PSC = 11;
|
||||
|
||||
Set_Duty_Cycle(Data->Timer, channel, Get_Max_Duty(Data->Timer)*vitesse);
|
||||
MyTimer_Base_Init(Data);
|
||||
|
||||
/* Configuration des GPIOs */
|
||||
GPIOA5.GPIO = GPIOA;
|
||||
GPIOA5.GPIO_Pin = 5;
|
||||
GPIOA5.GPIO_Conf = Out_Ppull;
|
||||
MyGPIO_Init(&GPIOA5);
|
||||
|
||||
GPIOA6.GPIO = GPIOA;
|
||||
GPIOA6.GPIO_Pin = 6;
|
||||
GPIOA6.GPIO_Conf = AltOut_Ppull;
|
||||
MyGPIO_Init(&GPIOA6);
|
||||
|
||||
MyTimer_Base_Start(TIM3);
|
||||
MyTimer_PWM(Data->Timer,channel);
|
||||
}
|
||||
|
||||
void Set_Direction (char sens) {
|
||||
/* Rotation */
|
||||
if (sens == 1){
|
||||
if (sens == HORRAIRE){
|
||||
MyGPIO_Reset(GPIOA5.GPIO, GPIOA5.GPIO_Pin); // on met à 0
|
||||
}
|
||||
else {
|
||||
else if (sens == ANTI_HORRAIRE) {
|
||||
MyGPIO_Set(GPIOA5.GPIO, GPIOA5.GPIO_Pin); // on met à 1
|
||||
}
|
||||
}
|
||||
|
||||
void Set_Vitesse (char vitesse) {
|
||||
|
||||
Set_PWM_PRCT(Data->Timer, channel, vitesse);
|
||||
|
||||
}
|
||||
/* Permet de diriger le plateau du voilier */
|
||||
void Set_Moteur_Plateau(char sens, char vitesse){ // -1 gauche et 1 droite
|
||||
Init_Plateau();
|
||||
Set_Direction(sens);
|
||||
Set_Vitesse(vitesse);
|
||||
|
||||
}
|
|
@ -1,7 +1,13 @@
|
|||
#ifndef MYPLATEAU_H
|
||||
#define MYPLATEAU_H
|
||||
#define HORRAIRE 0
|
||||
#define ANTI_HORRAIRE 1
|
||||
#include "stm32f10x.h"
|
||||
|
||||
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
|
||||
|
||||
#endif
|
|
@ -4,23 +4,27 @@ Component: ARM Compiler 5.06 update 7 (build 960) Tool: armlink [4d3601]
|
|||
|
||||
Section Cross References
|
||||
|
||||
main.o(i.Callback) refers to myadc.o(i.startADC) for startADC
|
||||
main.o(i.Callback) refers to myadc.o(i.read) for read
|
||||
main.o(i.Callback) refers to main.o(.data) for a
|
||||
main.o(i.main) refers to mytimer.o(i.MyTimer_Base_Init) for MyTimer_Base_Init
|
||||
main.o(i.main) refers to myadc.o(i.initADC) for initADC
|
||||
main.o(i.main) refers to mytimer.o(i.MyTimer_ActiveIT) for MyTimer_ActiveIT
|
||||
main.o(i.main) refers to mytimer.o(i.MyTimer_Base_Start) for MyTimer_Base_Start
|
||||
main.o(i.main) refers to main.o(i.Callback) for Callback
|
||||
main.o(i.main) refers to plateau.o(i.Set_Moteur_Plateau) for Set_Moteur_Plateau
|
||||
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
|
||||
plateau.o(i.Set_Moteur_Plateau) refers to mytimer.o(i.Get_Max_Duty) for Get_Max_Duty
|
||||
plateau.o(i.Set_Moteur_Plateau) refers to mytimer.o(i.Set_Duty_Cycle) for Set_Duty_Cycle
|
||||
plateau.o(i.Set_Moteur_Plateau) refers to mytimer.o(i.MyTimer_Base_Init) for MyTimer_Base_Init
|
||||
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
|
||||
plateau.o(i.Init_Plateau) refers to mytimer.o(i.MyTimer_PWM) for MyTimer_PWM
|
||||
plateau.o(i.Init_Plateau) refers to plateau.o(.data) for Data
|
||||
plateau.o(i.Init_Plateau) refers to plateau.o(.bss) for GPIOA5
|
||||
plateau.o(i.Set_Direction) refers to driver_gpio.o(i.MyGPIO_Reset) for MyGPIO_Reset
|
||||
plateau.o(i.Set_Direction) refers to driver_gpio.o(i.MyGPIO_Set) for MyGPIO_Set
|
||||
plateau.o(i.Set_Direction) refers to plateau.o(.bss) for GPIOA5
|
||||
plateau.o(i.Set_Moteur_Plateau) refers to plateau.o(i.Init_Plateau) for Init_Plateau
|
||||
plateau.o(i.Set_Moteur_Plateau) refers to plateau.o(i.Set_Direction) for Set_Direction
|
||||
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
|
||||
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
|
||||
|
@ -60,26 +64,24 @@ Removing Unused input sections from the image.
|
|||
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_Init), (180 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_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.Set_Moteur_Plateau), (60 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).
|
||||
|
@ -87,7 +89,7 @@ Removing Unused input sections from the image.
|
|||
Removing system_stm32f10x.o(i.SystemCoreClockUpdate), (164 bytes).
|
||||
Removing system_stm32f10x.o(.data), (20 bytes).
|
||||
|
||||
32 unused section(s) (total 1646 bytes) removed from the image.
|
||||
30 unused section(s) (total 1148 bytes) removed from the image.
|
||||
|
||||
==============================================================================
|
||||
|
||||
|
@ -97,21 +99,21 @@ Image Symbol Table
|
|||
|
||||
Symbol Name Value Ov Type Size Object(Section)
|
||||
|
||||
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7a.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 entry5.o ABSOLUTE
|
||||
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12b.o ABSOLUTE
|
||||
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11b.o ABSOLUTE
|
||||
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9b.o ABSOLUTE
|
||||
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12a.o ABSOLUTE
|
||||
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9a.o ABSOLUTE
|
||||
../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 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
|
||||
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
|
||||
|
@ -143,29 +145,34 @@ 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.Callback 0x0800014c Section 0 main.o(i.Callback)
|
||||
i.MyTimer_ActiveIT 0x08000160 Section 0 mytimer.o(i.MyTimer_ActiveIT)
|
||||
i.MyTimer_Base_Init 0x08000210 Section 0 mytimer.o(i.MyTimer_Base_Init)
|
||||
i.MyTimer_Base_Start 0x0800027c Section 0 mytimer.o(i.MyTimer_Base_Start)
|
||||
i.SetSysClock 0x08000286 Section 0 system_stm32f10x.o(i.SetSysClock)
|
||||
SetSysClock 0x08000287 Thumb Code 8 system_stm32f10x.o(i.SetSysClock)
|
||||
i.SetSysClockTo72 0x08000290 Section 0 system_stm32f10x.o(i.SetSysClockTo72)
|
||||
SetSysClockTo72 0x08000291 Thumb Code 214 system_stm32f10x.o(i.SetSysClockTo72)
|
||||
i.SystemInit 0x08000370 Section 0 system_stm32f10x.o(i.SystemInit)
|
||||
i.TIM1_UP_IRQHandler 0x080003d0 Section 0 mytimer.o(i.TIM1_UP_IRQHandler)
|
||||
i.TIM2_IRQHandler 0x080003f4 Section 0 mytimer.o(i.TIM2_IRQHandler)
|
||||
i.TIM3_IRQHandler 0x08000418 Section 0 mytimer.o(i.TIM3_IRQHandler)
|
||||
i.TIM4_IRQHandler 0x0800043c Section 0 mytimer.o(i.TIM4_IRQHandler)
|
||||
i.__scatterload_copy 0x08000460 Section 14 handlers.o(i.__scatterload_copy)
|
||||
i.__scatterload_null 0x0800046e Section 2 handlers.o(i.__scatterload_null)
|
||||
i.__scatterload_zeroinit 0x08000470 Section 14 handlers.o(i.__scatterload_zeroinit)
|
||||
i.initADC 0x08000480 Section 0 myadc.o(i.initADC)
|
||||
i.main 0x080004bc Section 0 main.o(i.main)
|
||||
i.read 0x080004f8 Section 0 myadc.o(i.read)
|
||||
i.startADC 0x08000518 Section 0 myadc.o(i.startADC)
|
||||
.data 0x20000000 Section 4 main.o(.data)
|
||||
.data 0x20000004 Section 16 mytimer.o(.data)
|
||||
STACK 0x20000018 Section 1024 startup_stm32f10x_md.o(STACK)
|
||||
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)
|
||||
|
||||
Global Symbols
|
||||
|
||||
|
@ -243,30 +250,38 @@ 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)
|
||||
Callback 0x0800014d Thumb Code 16 main.o(i.Callback)
|
||||
MyTimer_ActiveIT 0x08000161 Thumb Code 148 mytimer.o(i.MyTimer_ActiveIT)
|
||||
MyTimer_Base_Init 0x08000211 Thumb Code 98 mytimer.o(i.MyTimer_Base_Init)
|
||||
MyTimer_Base_Start 0x0800027d Thumb Code 10 mytimer.o(i.MyTimer_Base_Start)
|
||||
SystemInit 0x08000371 Thumb Code 78 system_stm32f10x.o(i.SystemInit)
|
||||
TIM1_UP_IRQHandler 0x080003d1 Thumb Code 28 mytimer.o(i.TIM1_UP_IRQHandler)
|
||||
TIM2_IRQHandler 0x080003f5 Thumb Code 32 mytimer.o(i.TIM2_IRQHandler)
|
||||
TIM3_IRQHandler 0x08000419 Thumb Code 28 mytimer.o(i.TIM3_IRQHandler)
|
||||
TIM4_IRQHandler 0x0800043d Thumb Code 28 mytimer.o(i.TIM4_IRQHandler)
|
||||
__scatterload_copy 0x08000461 Thumb Code 14 handlers.o(i.__scatterload_copy)
|
||||
__scatterload_null 0x0800046f Thumb Code 2 handlers.o(i.__scatterload_null)
|
||||
__scatterload_zeroinit 0x08000471 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
|
||||
initADC 0x08000481 Thumb Code 50 myadc.o(i.initADC)
|
||||
main 0x080004bd Thumb Code 56 main.o(i.main)
|
||||
read 0x080004f9 Thumb Code 26 myadc.o(i.read)
|
||||
startADC 0x08000519 Thumb Code 14 myadc.o(i.startADC)
|
||||
Region$$Table$$Base 0x0800052c Number 0 anon$$obj.o(Region$$Table)
|
||||
Region$$Table$$Limit 0x0800054c Number 0 anon$$obj.o(Region$$Table)
|
||||
a 0x20000000 Data 4 main.o(.data)
|
||||
ptr1 0x20000004 Data 4 mytimer.o(.data)
|
||||
ptr2 0x20000008 Data 4 mytimer.o(.data)
|
||||
ptr3 0x2000000c Data 4 mytimer.o(.data)
|
||||
ptr4 0x20000010 Data 4 mytimer.o(.data)
|
||||
__initial_sp 0x20000418 Data 0 startup_stm32f10x_md.o(STACK)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
|
@ -276,62 +291,67 @@ Memory Map of the image
|
|||
|
||||
Image Entry point : 0x08000105
|
||||
|
||||
Load Region LR_1 (Base: 0x08000000, Size: 0x00000560, Max: 0xffffffff, ABSOLUTE)
|
||||
Load Region LR_1 (Base: 0x08000000, Size: 0x000007bc, Max: 0xffffffff, ABSOLUTE)
|
||||
|
||||
Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x0000054c, Max: 0xffffffff, ABSOLUTE)
|
||||
Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x0000079c, Max: 0xffffffff, ABSOLUTE)
|
||||
|
||||
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
|
||||
|
||||
0x08000000 0x08000000 0x000000ec Data RO 293 RESET startup_stm32f10x_md.o
|
||||
0x080000ec 0x080000ec 0x00000000 Code RO 344 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
|
||||
0x080000ec 0x080000ec 0x00000004 Code RO 347 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
|
||||
0x080000f0 0x080000f0 0x00000004 Code RO 350 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
|
||||
0x080000f4 0x080000f4 0x00000000 Code RO 352 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
|
||||
0x080000f4 0x080000f4 0x00000000 Code RO 354 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
|
||||
0x080000f4 0x080000f4 0x00000008 Code RO 355 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
|
||||
0x080000fc 0x080000fc 0x00000004 Code RO 362 .ARM.Collect$$$$0000000E mc_w.l(entry12b.o)
|
||||
0x08000100 0x08000100 0x00000000 Code RO 357 .ARM.Collect$$$$0000000F mc_w.l(entry10a.o)
|
||||
0x08000100 0x08000100 0x00000000 Code RO 359 .ARM.Collect$$$$00000011 mc_w.l(entry11a.o)
|
||||
0x08000100 0x08000100 0x00000004 Code RO 348 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
|
||||
0x08000104 0x08000104 0x00000024 Code RO 294 * .text startup_stm32f10x_md.o
|
||||
0x08000128 0x08000128 0x00000024 Code RO 363 .text mc_w.l(init.o)
|
||||
0x0800014c 0x0800014c 0x00000014 Code RO 4 i.Callback main.o
|
||||
0x08000160 0x08000160 0x000000b0 Code RO 127 i.MyTimer_ActiveIT mytimer.o
|
||||
0x08000210 0x08000210 0x0000006c Code RO 128 i.MyTimer_Base_Init mytimer.o
|
||||
0x0800027c 0x0800027c 0x0000000a Code RO 129 i.MyTimer_Base_Start mytimer.o
|
||||
0x08000286 0x08000286 0x00000008 Code RO 301 i.SetSysClock system_stm32f10x.o
|
||||
0x0800028e 0x0800028e 0x00000002 PAD
|
||||
0x08000290 0x08000290 0x000000e0 Code RO 302 i.SetSysClockTo72 system_stm32f10x.o
|
||||
0x08000370 0x08000370 0x00000060 Code RO 304 i.SystemInit system_stm32f10x.o
|
||||
0x080003d0 0x080003d0 0x00000024 Code RO 134 i.TIM1_UP_IRQHandler mytimer.o
|
||||
0x080003f4 0x080003f4 0x00000024 Code RO 135 i.TIM2_IRQHandler mytimer.o
|
||||
0x08000418 0x08000418 0x00000024 Code RO 136 i.TIM3_IRQHandler mytimer.o
|
||||
0x0800043c 0x0800043c 0x00000024 Code RO 137 i.TIM4_IRQHandler mytimer.o
|
||||
0x08000460 0x08000460 0x0000000e Code RO 367 i.__scatterload_copy mc_w.l(handlers.o)
|
||||
0x0800046e 0x0800046e 0x00000002 Code RO 368 i.__scatterload_null mc_w.l(handlers.o)
|
||||
0x08000470 0x08000470 0x0000000e Code RO 369 i.__scatterload_zeroinit mc_w.l(handlers.o)
|
||||
0x0800047e 0x0800047e 0x00000002 PAD
|
||||
0x08000480 0x08000480 0x0000003c Code RO 225 i.initADC myadc.o
|
||||
0x080004bc 0x080004bc 0x0000003c Code RO 5 i.main main.o
|
||||
0x080004f8 0x080004f8 0x00000020 Code RO 226 i.read myadc.o
|
||||
0x08000518 0x08000518 0x00000014 Code RO 227 i.startADC myadc.o
|
||||
0x0800052c 0x0800052c 0x00000020 Data RO 365 Region$$Table anon$$obj.o
|
||||
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
|
||||
|
||||
|
||||
Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x0800054c, Size: 0x00000014, Max: 0xffffffff, ABSOLUTE)
|
||||
Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x0800079c, Size: 0x00000020, Max: 0xffffffff, ABSOLUTE)
|
||||
|
||||
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
|
||||
|
||||
0x20000000 0x0800054c 0x00000004 Data RW 6 .data main.o
|
||||
0x20000004 0x08000550 0x00000010 Data RW 138 .data mytimer.o
|
||||
0x20000000 0x0800079c 0x00000010 Data RW 132 .data mytimer.o
|
||||
0x20000010 0x080007ac 0x00000010 Data RW 263 .data plateau.o
|
||||
|
||||
|
||||
Execution Region ER_ZI (Exec base: 0x20000014, Load base: 0x08000560, Size: 0x00000404, Max: 0xffffffff, ABSOLUTE)
|
||||
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
|
||||
|
||||
0x20000014 0x08000560 0x00000004 PAD
|
||||
0x20000018 - 0x00000400 Zero RW 291 STACK startup_stm32f10x_md.o
|
||||
0x20000020 - 0x00000018 Zero RW 262 .bss plateau.o
|
||||
0x20000038 - 0x00000400 Zero RW 307 STACK startup_stm32f10x_md.o
|
||||
|
||||
|
||||
==============================================================================
|
||||
|
@ -341,16 +361,17 @@ Image component sizes
|
|||
|
||||
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
|
||||
|
||||
80 8 0 4 0 208294 main.o
|
||||
112 22 0 0 0 1280 myadc.o
|
||||
438 66 0 16 0 4557 mytimer.o
|
||||
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
|
||||
36 8 236 0 1024 808 startup_stm32f10x_md.o
|
||||
328 28 0 0 0 1973 system_stm32f10x.o
|
||||
|
||||
----------------------------------------------------------------------
|
||||
996 132 268 20 1028 216912 Object Totals
|
||||
1590 146 268 32 1048 221052 Object Totals
|
||||
0 0 32 0 0 0 (incl. Generated)
|
||||
2 0 0 0 4 0 (incl. Padding)
|
||||
6 0 0 0 0 0 (incl. Padding)
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
@ -369,8 +390,8 @@ Image component sizes
|
|||
36 8 0 0 0 68 init.o
|
||||
|
||||
----------------------------------------------------------------------
|
||||
92 16 0 0 0 68 Library Totals
|
||||
2 0 0 0 0 0 (incl. Padding)
|
||||
90 16 0 0 0 68 Library Totals
|
||||
0 0 0 0 0 0 (incl. Padding)
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
@ -379,7 +400,7 @@ Image component sizes
|
|||
90 16 0 0 0 68 mc_w.l
|
||||
|
||||
----------------------------------------------------------------------
|
||||
92 16 0 0 0 68 Library Totals
|
||||
90 16 0 0 0 68 Library Totals
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
@ -388,15 +409,15 @@ Image component sizes
|
|||
|
||||
Code (inc. data) RO Data RW Data ZI Data Debug
|
||||
|
||||
1088 148 268 20 1028 216508 Grand Totals
|
||||
1088 148 268 20 1028 216508 ELF Image Totals
|
||||
1088 148 268 20 0 0 ROM Totals
|
||||
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
|
||||
|
||||
==============================================================================
|
||||
|
||||
Total RO Size (Code + RO Data) 1356 ( 1.32kB)
|
||||
Total RW Size (RW Data + ZI Data) 1048 ( 1.02kB)
|
||||
Total ROM Size (Code + RO Data + RW Data) 1376 ( 1.34kB)
|
||||
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)
|
||||
|
||||
==============================================================================
|
||||
|
||||
|
|
|
@ -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)(0x6352ACB6)(-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)(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)
|
||||
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)
|
||||
|
@ -10,8 +10,9 @@ 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\MyTimer.h)(0x6352ACB6)
|
||||
I (.\FileInclude\MyTimer.h)(0x6352B8A4)
|
||||
I (.\FileInclude\MyADC.h)(0x6352AB58)
|
||||
I (.\FileInclude\Plateau.h)(0x635B8BB4)
|
||||
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)
|
||||
|
@ -22,8 +23,8 @@ 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)(0x6352ACB6)(-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)(0x6352ACB6)
|
||||
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)
|
||||
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)
|
||||
|
@ -33,7 +34,7 @@ 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)
|
||||
F (.\FileInclude\MyTimer.h)(0x6352ACB6)()
|
||||
F (.\FileInclude\MyTimer.h)(0x6352B8A4)()
|
||||
F (.\FileInclude\MyADC.c)(0x6352AB58)(-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\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)
|
||||
|
@ -44,11 +45,11 @@ 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)
|
||||
I (FileInclude\MyTimer.h)(0x6352ACB6)
|
||||
I (FileInclude\MyTimer.h)(0x6352B8A4)
|
||||
I (FileInclude\Driver_GPIO.h)(0x6352AB58)
|
||||
F (.\FileInclude\MyADC.h)(0x6352AB58)()
|
||||
F (.\FileInclude\Plateau.c)(0x6352B4DB)(-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)(0x6352ACB6)
|
||||
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)
|
||||
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)
|
||||
|
@ -58,10 +59,10 @@ 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)(0x6352B148)
|
||||
F (.\FileInclude\Telecommande.c)(0x6352ADB2)(-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)(0x6352B148)()
|
||||
F (.\FileInclude\Telecommande.h)(0x6352ADB2)()
|
||||
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)()
|
||||
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.
|
@ -29,24 +29,15 @@ Project File Date: 10/21/2022
|
|||
Rebuild target 'SImulation'
|
||||
assembling startup_stm32f10x_md.s...
|
||||
compiling Telecommande.c...
|
||||
compiling Driver_GPIO.c...
|
||||
compiling main.c...
|
||||
compiling MyADC.c...
|
||||
compiling Driver_GPIO.c...
|
||||
compiling MyTimer.c...
|
||||
compiling Plateau.c...
|
||||
FileInclude\Plateau.h(7): warning: #1-D: last line of file ends without a newline
|
||||
#endif
|
||||
FileInclude\Plateau.c(23): warning: #1-D: last line of file ends without a newline
|
||||
}
|
||||
FileInclude\Plateau.c(10): warning: #177-D: variable "GPI0A5" was declared but never referenced
|
||||
MyGPIO_Struct_TypeDef GPI0A5; // pin direction
|
||||
FileInclude\Plateau.c(11): warning: #177-D: variable "GPIOA6" was declared but never referenced
|
||||
MyGPIO_Struct_TypeDef GPIOA6; // pin moteur
|
||||
FileInclude\Plateau.c: 4 warnings, 0 errors
|
||||
compiling system_stm32f10x.c...
|
||||
compiling MyTimer.c...
|
||||
linking...
|
||||
Program Size: Code=1088 RO-data=268 RW-data=20 ZI-data=1028
|
||||
".\Objects\Projet1_Simulation.axf" - 0 Error(s), 4 Warning(s).
|
||||
Program Size: Code=1680 RO-data=268 RW-data=32 ZI-data=1048
|
||||
".\Objects\Projet1_Simulation.axf" - 0 Error(s), 0 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
|
||||
|
@ -73,11 +64,11 @@ Package Vendor: Keil
|
|||
* Component: ARM::CMSIS:CORE:5.4.0
|
||||
|
||||
* Component: Keil::Device:Startup:1.0.0
|
||||
Source file: Device\Source\system_stm32f10x.c
|
||||
Include file: RTE_Driver\Config\RTE_Device.h
|
||||
Source file: Device\Source\ARM\startup_stm32f10x_md.s
|
||||
Source file: Device\Source\system_stm32f10x.c
|
||||
Source file: Device\Source\ARM\STM32F1xx_OPT.s
|
||||
Build Time Elapsed: 00:00:02
|
||||
Include file: RTE_Driver\Config\RTE_Device.h
|
||||
Build Time Elapsed: 00:00:01
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -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>#<CALLGRAPH># ARM Linker, 5060960: Last Updated: Fri Oct 21 17:03:57 2022
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 5060960: Last Updated: Fri Oct 28 09:58:45 2022
|
||||
<BR><P>
|
||||
<H3>Maximum Stack Usage = 28 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
|
||||
<H3>Maximum Stack Usage = 60 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
|
||||
Call chain for Maximum Stack Depth:</H3>
|
||||
SystemInit ⇒ SetSysClock ⇒ SetSysClockTo72
|
||||
main ⇒ Set_Moteur_Plateau ⇒ Init_Plateau ⇒ MyTimer_PWM ⇒ MyGPIO_Init
|
||||
<P>
|
||||
<H3>
|
||||
Mutually Recursive functions
|
||||
|
@ -30,7 +30,6 @@ Function Pointers
|
|||
<LI><a href="#[4]">BusFault_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
|
||||
<LI><a href="#[1f]">CAN1_RX1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
|
||||
<LI><a href="#[20]">CAN1_SCE_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
|
||||
<LI><a href="#[38]">Callback</a> from main.o(i.Callback) referenced from main.o(i.main)
|
||||
<LI><a href="#[15]">DMA1_Channel1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
|
||||
<LI><a href="#[16]">DMA1_Channel2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
|
||||
<LI><a href="#[17]">DMA1_Channel3_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
|
||||
|
@ -59,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="#[39]">Reset_Handler</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="#[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)
|
||||
|
@ -91,29 +90,29 @@ 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="[45]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
|
||||
<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="[3a]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
|
||||
<BR><BR>[Calls]<UL><LI><a href="#[3b]">>></a> __scatterload
|
||||
<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]">>></a> __scatterload
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[3c]"></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="#[3b]">>></a> __scatterload
|
||||
<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]">>></a> __scatterload
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[46]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
|
||||
<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_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
|
||||
<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_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
|
||||
<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>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
|
||||
<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_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F))
|
||||
<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_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011))
|
||||
<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="[39]"></a>Reset_Handler</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
|
||||
<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="[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]">>></a> NMI_Handler
|
||||
|
@ -299,40 +298,93 @@ 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="[3b]"></a>__scatterload</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
|
||||
<BR><BR>[Calls]<UL><LI><a href="#[3c]">>></a> __main_after_scatterload
|
||||
<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]">>></a> __main_after_scatterload
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[3a]">>></a> _main_scatterload
|
||||
<BR>[Called By]<UL><LI><a href="#[39]">>></a> _main_scatterload
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[4c]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
|
||||
<P><STRONG><a name="[50]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
|
||||
|
||||
<P><STRONG><a name="[38]"></a>Callback</STRONG> (Thumb, 16 bytes, Stack size 8 bytes, main.o(i.Callback))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = Callback
|
||||
<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 ⇒ MyTimer_PWM ⇒ MyGPIO_Init
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[3d]">>></a> startADC
|
||||
<LI><a href="#[3e]">>></a> read
|
||||
<BR>[Calls]<UL><LI><a href="#[40]">>></a> MyTimer_PWM
|
||||
<LI><a href="#[3f]">>></a> MyTimer_Base_Start
|
||||
<LI><a href="#[3d]">>></a> MyTimer_Base_Init
|
||||
<LI><a href="#[3e]">>></a> MyGPIO_Init
|
||||
</UL>
|
||||
<BR>[Address Reference Count : 1]<UL><LI> main.o(i.main)
|
||||
<BR>[Called By]<UL><LI><a href="#[46]">>></a> Set_Moteur_Plateau
|
||||
</UL>
|
||||
<P><STRONG><a name="[43]"></a>MyTimer_ActiveIT</STRONG> (Thumb, 148 bytes, Stack size 8 bytes, mytimer.o(i.MyTimer_ActiveIT))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = MyTimer_ActiveIT
|
||||
|
||||
<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]">>></a> Init_Plateau
|
||||
<LI><a href="#[40]">>></a> MyTimer_PWM
|
||||
</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]">>></a> Set_Direction
|
||||
</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]">>></a> Set_Direction
|
||||
</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]">>></a> 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]">>></a> 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 ⇒ MyGPIO_Init
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[3e]">>></a> MyGPIO_Init
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[3c]">>></a> 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]">>></a> MyGPIO_Set
|
||||
<LI><a href="#[44]">>></a> MyGPIO_Reset
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[46]">>></a> 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 ⇒ Init_Plateau ⇒ MyTimer_PWM ⇒ MyGPIO_Init
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[47]">>></a> Set_Vitesse
|
||||
<LI><a href="#[43]">>></a> Set_Direction
|
||||
<LI><a href="#[3c]">>></a> Init_Plateau
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[35]">>></a> main
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[41]"></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="#[35]">>></a> main
|
||||
<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]">>></a> Set_Vitesse
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[44]"></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="#[35]">>></a> main
|
||||
<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 ⇒ Set_PWM_PRCT
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[48]">>></a> Set_PWM_PRCT
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[46]">>></a> 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 ⇒ SetSysClock ⇒ SetSysClockTo72
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[3f]">>></a> SetSysClock
|
||||
<BR>[Calls]<UL><LI><a href="#[41]">>></a> SetSysClock
|
||||
</UL>
|
||||
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(.text)
|
||||
</UL>
|
||||
|
@ -356,49 +408,34 @@ Global Symbols
|
|||
</UL>
|
||||
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
|
||||
</UL>
|
||||
<P><STRONG><a name="[4d]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
|
||||
<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="[4e]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), 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="[4f]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), 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="[42]"></a>initADC</STRONG> (Thumb, 50 bytes, Stack size 0 bytes, myadc.o(i.initADC))
|
||||
<BR><BR>[Called By]<UL><LI><a href="#[35]">>></a> main
|
||||
<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 ⇒ Set_Moteur_Plateau ⇒ Init_Plateau ⇒ MyTimer_PWM ⇒ MyGPIO_Init
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 56 bytes, Stack size 16 bytes, main.o(i.main))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = main ⇒ MyTimer_ActiveIT
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[42]">>></a> initADC
|
||||
<LI><a href="#[44]">>></a> MyTimer_Base_Start
|
||||
<LI><a href="#[41]">>></a> MyTimer_Base_Init
|
||||
<LI><a href="#[43]">>></a> MyTimer_ActiveIT
|
||||
<BR>[Calls]<UL><LI><a href="#[46]">>></a> Set_Moteur_Plateau
|
||||
</UL>
|
||||
<BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B)
|
||||
</UL>
|
||||
<P><STRONG><a name="[3e]"></a>read</STRONG> (Thumb, 26 bytes, Stack size 0 bytes, myadc.o(i.read))
|
||||
<BR><BR>[Called By]<UL><LI><a href="#[38]">>></a> Callback
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[3d]"></a>startADC</STRONG> (Thumb, 14 bytes, Stack size 0 bytes, myadc.o(i.startADC))
|
||||
<BR><BR>[Called By]<UL><LI><a href="#[38]">>></a> Callback
|
||||
</UL>
|
||||
<P>
|
||||
</UL><P>
|
||||
<H3>
|
||||
Local Symbols
|
||||
</H3>
|
||||
<P><STRONG><a name="[3f]"></a>SetSysClock</STRONG> (Thumb, 8 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SetSysClock))
|
||||
<P><STRONG><a name="[41]"></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 ⇒ SetSysClockTo72
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[40]">>></a> SetSysClockTo72
|
||||
<BR>[Calls]<UL><LI><a href="#[42]">>></a> SetSysClockTo72
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[36]">>></a> SystemInit
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[40]"></a>SetSysClockTo72</STRONG> (Thumb, 214 bytes, Stack size 12 bytes, system_stm32f10x.o(i.SetSysClockTo72))
|
||||
<P><STRONG><a name="[42]"></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="#[3f]">>></a> SetSysClock
|
||||
<BR>[Called By]<UL><LI><a href="#[41]">>></a> SetSysClock
|
||||
</UL>
|
||||
<P>
|
||||
<H3>
|
||||
|
|
Binary file not shown.
BIN
Objects/main.crf
BIN
Objects/main.crf
Binary file not shown.
|
@ -10,3 +10,4 @@
|
|||
.\objects\main.o: .\FileInclude\Driver_GPIO.h
|
||||
.\objects\main.o: .\FileInclude\MyTimer.h
|
||||
.\objects\main.o: .\FileInclude\MyADC.h
|
||||
.\objects\main.o: .\FileInclude\Plateau.h
|
||||
|
|
BIN
Objects/main.o
BIN
Objects/main.o
Binary file not shown.
Binary file not shown.
BIN
Objects/myadc.o
BIN
Objects/myadc.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -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=676,514,1097,941,0)(121=-1,-1,-1,-1,0)(122=704,251,1125,678,0)(123=-1,-1,-1,-1,0)(140=848,409,1536,749,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=885,128,1479,879,0)(131=1134,338,1728,1089,0)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(234=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=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=-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>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
|
@ -185,12 +185,17 @@
|
|||
<Wi>
|
||||
<IntNumber>0</IntNumber>
|
||||
<FirstString>((PORTC & 0x00000400) >> 10 & 0x400) >> 10</FirstString>
|
||||
<SecondString>FF000000000000000000000000000000E0FFEF400100000000000000000000000000000028504F5254432026203078303030303034303029203E3E2031300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000000000000000E03F170000000000000000000000000000000000000030040008</SecondString>
|
||||
<SecondString>FF000000000000000000000000000000E0FFEF400100000000000000000000000000000028504F5254432026203078303030303034303029203E3E2031300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000565555555555D53F0B0000000000000000000000000000000000000030040008</SecondString>
|
||||
</Wi>
|
||||
<Wi>
|
||||
<IntNumber>1</IntNumber>
|
||||
<FirstString>((PORTA & 0x00000008) >> 3 & 0x8) >> 3</FirstString>
|
||||
<SecondString>00800000000000000000000000000000E0FFEF400100000000000000000000000000000028504F5254412026203078303030303030303829203E3E2033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000002000000000000000000E03F17000000000000000000000000000000000000007E050008</SecondString>
|
||||
<FirstString>((PORTA & 0x00000008) >> 3 & 0x40) >> 5</FirstString>
|
||||
<SecondString>00800000000000000000000000000000E0FFEF400100000000000000000000000000000028504F5254412026203078303030303030303829203E3E2033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000002000000565555555555D53F0B000000000000000000000000000000000000007E050008</SecondString>
|
||||
</Wi>
|
||||
<Wi>
|
||||
<IntNumber>2</IntNumber>
|
||||
<FirstString>((PORTA & 0x00000040) >> 5 & 0x40) >> 5</FirstString>
|
||||
<SecondString>00008000000000000000000000000000E0FFEF400000000000000000000000000000000028504F5254412026203078303030303030343029203E3E2035000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000003000000555555555555D53F0B000000000000000000000000000000000000006A070008</SecondString>
|
||||
</Wi>
|
||||
</LogicAnalyzers>
|
||||
<DebugDescription>
|
||||
|
|
|
@ -2,48 +2,12 @@
|
|||
#include <Driver_GPIO.h>
|
||||
#include <MyTimer.h>
|
||||
#include <MyADC.h>
|
||||
|
||||
int a ;
|
||||
|
||||
void Callback(void){
|
||||
startADC();
|
||||
a=read();
|
||||
}
|
||||
#include <Plateau.h>
|
||||
|
||||
|
||||
int main (void)
|
||||
{
|
||||
//char channel = 1;
|
||||
|
||||
// Configuration du timer
|
||||
MyTimer_Struct_TypeDef TIM;
|
||||
MyTimer_Struct_TypeDef * Data = &TIM;
|
||||
Data->Timer = TIM2;
|
||||
Data->ARR = 65535;
|
||||
Data->PSC = 548;
|
||||
MyTimer_Base_Init(Data);
|
||||
|
||||
//MyTimer_PWM(Data->Timer, channel);
|
||||
|
||||
|
||||
|
||||
// Set_PWM_PRCT(Data->Timer, channel, 20);
|
||||
|
||||
|
||||
|
||||
initADC(1);
|
||||
|
||||
|
||||
|
||||
|
||||
MyTimer_ActiveIT ( TIM2 , 1, &Callback);
|
||||
|
||||
MyTimer_Base_Start(TIM2);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Set_Moteur_Plateau(ANTI_HORRAIRE,10);
|
||||
|
||||
do {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue