correction plateau.c, ajout dans principal des fonctions pour pilotage plateau
This commit is contained in:
parent
cb112ab21f
commit
b2d06d9efc
18 changed files with 502 additions and 93 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include "Girouette.h"
|
||||
#include "Servo.h"
|
||||
#include "MyUart.h"
|
||||
#include "Plateau.h"
|
||||
#include "I2C.h"
|
||||
#include "RTC.h"
|
||||
|
||||
|
|
@ -16,6 +17,9 @@ uint32_t sum;
|
|||
//uint16_t i;
|
||||
volatile uint32_t moy; // Volatile pour pouvoir le regarder dans Keil µVision
|
||||
|
||||
void pilotage(int commande) {
|
||||
Update_Motor_PWM(commande,TIM3,3);
|
||||
};
|
||||
|
||||
int main(void) {
|
||||
// ---- Setup ------
|
||||
|
|
@ -23,10 +27,20 @@ int main(void) {
|
|||
initServo(TIM4, 3);
|
||||
// Giroutte.c
|
||||
configEncoder(TIM2);
|
||||
// init plateau
|
||||
initPlato(TIM3, 3);
|
||||
|
||||
//init Uart
|
||||
My_USART_Config(USART1, 7500); //call with baudrate which is one over this value times clock frequency
|
||||
USART_IT_Receive_Enable(USART1);
|
||||
Init_IT_Receive(pilotage);
|
||||
USART_Send_String(USART1,"bonjour bateau\r\n");
|
||||
|
||||
|
||||
// Initialisation des modules
|
||||
initAccelo();
|
||||
initLacheur();
|
||||
|
||||
|
||||
//RTC
|
||||
initRTC();
|
||||
|
|
|
|||
329
Listings/ProjetVide.map
Normal file
329
Listings/ProjetVide.map
Normal file
|
|
@ -0,0 +1,329 @@
|
|||
Component: Arm Compiler for Embedded 6.23 Tool: armlink [5f102400]
|
||||
|
||||
==============================================================================
|
||||
|
||||
Section Cross References
|
||||
|
||||
principal.o(.text.pilotage) refers to plateau.o(.text.Update_Motor_PWM) for Update_Motor_PWM
|
||||
principal.o(.ARM.exidx.text.pilotage) refers to principal.o(.text.pilotage) for [Anonymous Symbol]
|
||||
principal.o(.text.main) refers to servo.o(.text.initServo) for initServo
|
||||
principal.o(.text.main) refers to girouette.o(.text.configEncoder) for configEncoder
|
||||
principal.o(.text.main) refers to plateau.o(.text.initPlato) for initPlato
|
||||
principal.o(.text.main) refers to myuart.o(.text.My_USART_Config) for My_USART_Config
|
||||
principal.o(.text.main) refers to myuart.o(.text.USART_IT_Receive_Enable) for USART_IT_Receive_Enable
|
||||
principal.o(.text.main) refers to principal.o(.text.pilotage) for pilotage
|
||||
principal.o(.text.main) refers to myuart.o(.text.Init_IT_Receive) for Init_IT_Receive
|
||||
principal.o(.text.main) refers to principal.o(.rodata.str1.1) for .L.str
|
||||
principal.o(.text.main) refers to myuart.o(.text.USART_Send_String) for USART_Send_String
|
||||
principal.o(.text.main) refers to accelerometre.o(.text.initAccelo) for initAccelo
|
||||
principal.o(.text.main) refers to accelerometre.o(.text.initLacheur) for initLacheur
|
||||
principal.o(.text.main) refers to principal.o(.bss.moyenne) for moyenne
|
||||
principal.o(.text.main) refers to girouette.o(.text.LocaliserZero) for LocaliserZero
|
||||
principal.o(.text.main) refers to girouette.o(.text.angleVent) for angleVent
|
||||
principal.o(.text.main) refers to principal.o(.bss.angleVentVar) for angleVentVar
|
||||
principal.o(.text.main) refers to girouette.o(.text.vent2voile) for vent2voile
|
||||
principal.o(.text.main) refers to principal.o(.bss.angleVoileVar) for angleVoileVar
|
||||
principal.o(.text.main) refers to servo.o(.text.Servo_Moteur) for Servo_Moteur
|
||||
principal.o(.text.main) refers to accelerometre.o(.text.RecupAccelo) for RecupAccelo
|
||||
principal.o(.text.main) refers to principal.o(.bss.sum) for sum
|
||||
principal.o(.text.main) refers to principal.o(.bss.moy) for moy
|
||||
principal.o(.text.main) refers to accelerometre.o(.text.LacheVoile) for LacheVoile
|
||||
principal.o(.ARM.exidx.text.main) refers to principal.o(.text.main) for [Anonymous Symbol]
|
||||
accelerometre.o(.ARM.exidx.text.initAccelo) refers to accelerometre.o(.text.initAccelo) for [Anonymous Symbol]
|
||||
accelerometre.o(.text.RecupAccelo) refers to accelerometre.o(.bss.RecupAccelo.Messie) for RecupAccelo.Messie
|
||||
accelerometre.o(.ARM.exidx.text.RecupAccelo) refers to accelerometre.o(.text.RecupAccelo) for [Anonymous Symbol]
|
||||
accelerometre.o(.text.initLacheur) refers to horloge.o(.text.Timer_Init) for Timer_Init
|
||||
accelerometre.o(.ARM.exidx.text.initLacheur) refers to accelerometre.o(.text.initLacheur) for [Anonymous Symbol]
|
||||
accelerometre.o(.text.LacheVoile) refers to servo.o(.text.Servo_Moteur) for Servo_Moteur
|
||||
accelerometre.o(.ARM.exidx.text.LacheVoile) refers to accelerometre.o(.text.LacheVoile) for [Anonymous Symbol]
|
||||
girouette.o(.text.configEncoder) refers to horloge.o(.text.Timer_Init) for Timer_Init
|
||||
girouette.o(.text.configEncoder) refers to drivergpio.o(.text.MyGPIO_Init) for MyGPIO_Init
|
||||
girouette.o(.ARM.exidx.text.configEncoder) refers to girouette.o(.text.configEncoder) for [Anonymous Symbol]
|
||||
girouette.o(.ARM.exidx.text.angleVent) refers to girouette.o(.text.angleVent) for [Anonymous Symbol]
|
||||
girouette.o(.ARM.exidx.text.vent2voile) refers to girouette.o(.text.vent2voile) for [Anonymous Symbol]
|
||||
girouette.o(.text.LocaliserZero) refers to drivergpio.o(.text.MyGPIO_Read) for MyGPIO_Read
|
||||
girouette.o(.ARM.exidx.text.LocaliserZero) refers to girouette.o(.text.LocaliserZero) for [Anonymous Symbol]
|
||||
myuart.o(.text.My_USART_Config) refers to drivergpio.o(.text.MyGPIO_Init) for MyGPIO_Init
|
||||
myuart.o(.text.My_USART_Config) refers to myuart.o(.text.__NVIC_EnableIRQ) for __NVIC_EnableIRQ
|
||||
myuart.o(.text.My_USART_Config) refers to myuart.o(.text.__NVIC_SetPriority) for __NVIC_SetPriority
|
||||
myuart.o(.ARM.exidx.text.My_USART_Config) refers to myuart.o(.text.My_USART_Config) for [Anonymous Symbol]
|
||||
myuart.o(.ARM.exidx.text.__NVIC_EnableIRQ) refers to myuart.o(.text.__NVIC_EnableIRQ) for [Anonymous Symbol]
|
||||
myuart.o(.ARM.exidx.text.__NVIC_SetPriority) refers to myuart.o(.text.__NVIC_SetPriority) for [Anonymous Symbol]
|
||||
myuart.o(.ARM.exidx.text.USART_Send_Char) refers to myuart.o(.text.USART_Send_Char) for [Anonymous Symbol]
|
||||
myuart.o(.text.USART_Send_String) refers to myuart.o(.text.USART_Send_Char) for USART_Send_Char
|
||||
myuart.o(.ARM.exidx.text.USART_Send_String) refers to myuart.o(.text.USART_Send_String) for [Anonymous Symbol]
|
||||
myuart.o(.ARM.exidx.text.USART_IT_Receive_Enable) refers to myuart.o(.text.USART_IT_Receive_Enable) for [Anonymous Symbol]
|
||||
myuart.o(.text.Init_IT_Receive) refers to myuart.o(.bss.pFnc_Receive) for pFnc_Receive
|
||||
myuart.o(.ARM.exidx.text.Init_IT_Receive) refers to myuart.o(.text.Init_IT_Receive) for [Anonymous Symbol]
|
||||
myuart.o(.text.USART1_IRQHandler) refers to myuart.o(.bss.pFnc_Receive) for pFnc_Receive
|
||||
myuart.o(.ARM.exidx.text.USART1_IRQHandler) refers to myuart.o(.text.USART1_IRQHandler) for [Anonymous Symbol]
|
||||
servo.o(.text.Servo_Moteur) refers to pwm.o(.text.Set_DutyCycle_PWM) for Set_DutyCycle_PWM
|
||||
servo.o(.ARM.exidx.text.Servo_Moteur) refers to servo.o(.text.Servo_Moteur) for [Anonymous Symbol]
|
||||
servo.o(.text.initServo) refers to horloge.o(.text.Timer_Init) for Timer_Init
|
||||
servo.o(.text.initServo) refers to drivergpio.o(.text.MyGPIO_Init) for MyGPIO_Init
|
||||
servo.o(.text.initServo) refers to pwm.o(.text.MyTimer_PWM) for MyTimer_PWM
|
||||
servo.o(.ARM.exidx.text.initServo) refers to servo.o(.text.initServo) for [Anonymous Symbol]
|
||||
plateau.o(.text.initPlato) refers to drivergpio.o(.text.MyGPIO_Init) for MyGPIO_Init
|
||||
plateau.o(.text.initPlato) refers to horloge.o(.text.Timer_Init) for Timer_Init
|
||||
plateau.o(.text.initPlato) refers to pwm.o(.text.MyTimer_PWM) for MyTimer_PWM
|
||||
plateau.o(.ARM.exidx.text.initPlato) refers to plateau.o(.text.initPlato) for [Anonymous Symbol]
|
||||
plateau.o(.text.Update_Motor_PWM) refers to drivergpio.o(.text.MYGPIO_PinOn) for MYGPIO_PinOn
|
||||
plateau.o(.text.Update_Motor_PWM) refers to drivergpio.o(.text.MYGPIO_PinOff) for MYGPIO_PinOff
|
||||
plateau.o(.text.Update_Motor_PWM) refers to pwm.o(.text.Set_DutyCycle_PWM) for Set_DutyCycle_PWM
|
||||
plateau.o(.ARM.exidx.text.Update_Motor_PWM) refers to plateau.o(.text.Update_Motor_PWM) for [Anonymous Symbol]
|
||||
drivergpio.o(.ARM.exidx.text.MyGPIO_Init) refers to drivergpio.o(.text.MyGPIO_Init) for [Anonymous Symbol]
|
||||
drivergpio.o(.ARM.exidx.text.MyGPIO_Read) refers to drivergpio.o(.text.MyGPIO_Read) for [Anonymous Symbol]
|
||||
drivergpio.o(.ARM.exidx.text.MyGPIO_Set) refers to drivergpio.o(.text.MyGPIO_Set) for [Anonymous Symbol]
|
||||
drivergpio.o(.ARM.exidx.text.MyGPIO_Reset) refers to drivergpio.o(.text.MyGPIO_Reset) for [Anonymous Symbol]
|
||||
drivergpio.o(.ARM.exidx.text.MYGPIO_PinOn) refers to drivergpio.o(.text.MYGPIO_PinOn) for [Anonymous Symbol]
|
||||
drivergpio.o(.ARM.exidx.text.MYGPIO_PinOff) refers to drivergpio.o(.text.MYGPIO_PinOff) for [Anonymous Symbol]
|
||||
drivergpio.o(.ARM.exidx.text.MyGPIO_Toggle) refers to drivergpio.o(.text.MyGPIO_Toggle) for [Anonymous Symbol]
|
||||
horloge.o(.ARM.exidx.text.Timer_Init) refers to horloge.o(.text.Timer_Init) for [Anonymous Symbol]
|
||||
horloge.o(.text.MyTimer_ActiveIT) refers to horloge.o(.bss.TIM2_Appel) for TIM2_Appel
|
||||
horloge.o(.text.MyTimer_ActiveIT) refers to horloge.o(.text.__NVIC_EnableIRQ) for __NVIC_EnableIRQ
|
||||
horloge.o(.text.MyTimer_ActiveIT) refers to horloge.o(.text.__NVIC_SetPriority) for __NVIC_SetPriority
|
||||
horloge.o(.text.MyTimer_ActiveIT) refers to horloge.o(.bss.TIM3_Appel) for TIM3_Appel
|
||||
horloge.o(.text.MyTimer_ActiveIT) refers to horloge.o(.bss.TIM4_Appel) for TIM4_Appel
|
||||
horloge.o(.ARM.exidx.text.MyTimer_ActiveIT) refers to horloge.o(.text.MyTimer_ActiveIT) for [Anonymous Symbol]
|
||||
horloge.o(.ARM.exidx.text.__NVIC_EnableIRQ) refers to horloge.o(.text.__NVIC_EnableIRQ) for [Anonymous Symbol]
|
||||
horloge.o(.ARM.exidx.text.__NVIC_SetPriority) refers to horloge.o(.text.__NVIC_SetPriority) for [Anonymous Symbol]
|
||||
horloge.o(.text.TIM2_IRQHandler) refers to horloge.o(.bss.TIM2_Appel) for TIM2_Appel
|
||||
horloge.o(.ARM.exidx.text.TIM2_IRQHandler) refers to horloge.o(.text.TIM2_IRQHandler) for [Anonymous Symbol]
|
||||
horloge.o(.text.TIM3_IRQHandler) refers to horloge.o(.bss.TIM3_Appel) for TIM3_Appel
|
||||
horloge.o(.ARM.exidx.text.TIM3_IRQHandler) refers to horloge.o(.text.TIM3_IRQHandler) for [Anonymous Symbol]
|
||||
horloge.o(.text.TIM4_IRQHandler) refers to horloge.o(.bss.TIM4_Appel) for TIM4_Appel
|
||||
horloge.o(.ARM.exidx.text.TIM4_IRQHandler) refers to horloge.o(.text.TIM4_IRQHandler) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.initGPIO_Interne) refers to mygpio.o(.text.initGPIO_Interne) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.boutonAppuye_Interne) refers to mygpio.o(.text.boutonAppuye_Interne) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.allumerDEL_Interne) refers to mygpio.o(.text.allumerDEL_Interne) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.eteindreDEL_Interne) refers to mygpio.o(.text.eteindreDEL_Interne) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.commuterDEL_Interne) refers to mygpio.o(.text.commuterDEL_Interne) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.initGPIO_Externe) refers to mygpio.o(.text.initGPIO_Externe) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.boutonAppuye_Externe) refers to mygpio.o(.text.boutonAppuye_Externe) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.allumerDEL_Externe) refers to mygpio.o(.text.allumerDEL_Externe) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.eteindreDEL_Externe) refers to mygpio.o(.text.eteindreDEL_Externe) for [Anonymous Symbol]
|
||||
mygpio.o(.ARM.exidx.text.commuterDEL_Externe) refers to mygpio.o(.text.commuterDEL_Externe) for [Anonymous Symbol]
|
||||
pwm.o(.ARM.exidx.text.MyTimer_PWM) refers to pwm.o(.text.MyTimer_PWM) for [Anonymous Symbol]
|
||||
pwm.o(.ARM.exidx.text.Set_DutyCycle_PWM) refers to pwm.o(.text.Set_DutyCycle_PWM) for [Anonymous Symbol]
|
||||
i2c.o(.ARM.exidx.text.initI2C) refers to i2c.o(.text.initI2C) for [Anonymous Symbol]
|
||||
startup_stm32f10x_md.o(STACK) refers (Special) to heapauxi.o(.text) for __use_two_region_memory
|
||||
startup_stm32f10x_md.o(HEAP) refers (Special) to heapauxi.o(.text) for __use_two_region_memory
|
||||
startup_stm32f10x_md.o(RESET) refers (Special) to heapauxi.o(.text) for __use_two_region_memory
|
||||
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 horloge.o(.text.TIM2_IRQHandler) for TIM2_IRQHandler
|
||||
startup_stm32f10x_md.o(RESET) refers to horloge.o(.text.TIM3_IRQHandler) for TIM3_IRQHandler
|
||||
startup_stm32f10x_md.o(RESET) refers to horloge.o(.text.TIM4_IRQHandler) for TIM4_IRQHandler
|
||||
startup_stm32f10x_md.o(RESET) refers to myuart.o(.text.USART1_IRQHandler) for USART1_IRQHandler
|
||||
startup_stm32f10x_md.o(.text) refers (Special) to heapauxi.o(.text) for __use_two_region_memory
|
||||
startup_stm32f10x_md.o(.text) refers to system_stm32f10x.o(.text.SystemInit) for SystemInit
|
||||
startup_stm32f10x_md.o(.text) refers to __main.o(!!!main) for __main
|
||||
startup_stm32f10x_md.o(.text) refers to startup_stm32f10x_md.o(HEAP) for Heap_Mem
|
||||
startup_stm32f10x_md.o(.text) refers to startup_stm32f10x_md.o(STACK) for Stack_Mem
|
||||
system_stm32f10x.o(.text.SystemInit) refers to system_stm32f10x.o(.text.SetSysClock) for SetSysClock
|
||||
system_stm32f10x.o(.ARM.exidx.text.SystemInit) refers to system_stm32f10x.o(.text.SystemInit) for [Anonymous Symbol]
|
||||
system_stm32f10x.o(.text.SetSysClock) refers to system_stm32f10x.o(.text.SetSysClockTo72) for SetSysClockTo72
|
||||
system_stm32f10x.o(.ARM.exidx.text.SetSysClock) refers to system_stm32f10x.o(.text.SetSysClock) for [Anonymous Symbol]
|
||||
system_stm32f10x.o(.text.SystemCoreClockUpdate) refers to system_stm32f10x.o(.data.SystemCoreClock) for SystemCoreClock
|
||||
system_stm32f10x.o(.text.SystemCoreClockUpdate) refers to system_stm32f10x.o(.rodata.AHBPrescTable) for AHBPrescTable
|
||||
system_stm32f10x.o(.ARM.exidx.text.SystemCoreClockUpdate) refers to system_stm32f10x.o(.text.SystemCoreClockUpdate) for [Anonymous Symbol]
|
||||
system_stm32f10x.o(.ARM.exidx.text.SetSysClockTo72) refers to system_stm32f10x.o(.text.SetSysClockTo72) for [Anonymous Symbol]
|
||||
__main.o(!!!main) refers to __rtentry.o(.ARM.Collect$$rtentry$$00000000) for __rt_entry
|
||||
__rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000A) for __rt_entry_li
|
||||
__rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000D) for __rt_entry_main
|
||||
__rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000C) for __rt_entry_postli_1
|
||||
__rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$00000009) for __rt_entry_postsh_1
|
||||
__rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$00000002) for __rt_entry_presh_1
|
||||
__rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry4.o(.ARM.Collect$$rtentry$$00000004) for __rt_entry_sh
|
||||
__rtentry2.o(.ARM.Collect$$rtentry$$00000008) refers to boardinit2.o(.text) for _platform_post_stackheap_init
|
||||
__rtentry2.o(.ARM.Collect$$rtentry$$0000000A) refers to libinit.o(.ARM.Collect$$libinit$$00000000) for __rt_lib_init
|
||||
__rtentry2.o(.ARM.Collect$$rtentry$$0000000B) refers to boardinit3.o(.text) for _platform_post_lib_init
|
||||
__rtentry2.o(.ARM.Collect$$rtentry$$0000000D) refers to principal.o(.text.main) for main
|
||||
__rtentry2.o(.ARM.Collect$$rtentry$$0000000D) refers to exit.o(.text) for exit
|
||||
__rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$00000001) for .ARM.Collect$$rtentry$$00000001
|
||||
__rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$00000008) for .ARM.Collect$$rtentry$$00000008
|
||||
__rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$0000000A) for .ARM.Collect$$rtentry$$0000000A
|
||||
__rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$0000000B) for .ARM.Collect$$rtentry$$0000000B
|
||||
__rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$0000000D) for .ARM.Collect$$rtentry$$0000000D
|
||||
__rtentry4.o(.ARM.Collect$$rtentry$$00000004) refers to sys_stackheap_outer.o(.text) for __user_setup_stackheap
|
||||
__rtentry4.o(.ARM.exidx) refers to __rtentry4.o(.ARM.Collect$$rtentry$$00000004) for .ARM.Collect$$rtentry$$00000004
|
||||
sys_stackheap_outer.o(.text) refers to libspace.o(.text) for __user_perproc_libspace
|
||||
sys_stackheap_outer.o(.text) refers to startup_stm32f10x_md.o(.text) for __user_initial_stackheap
|
||||
exit.o(.text) refers to rtexit.o(.ARM.Collect$$rtexit$$00000000) for __rt_exit
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000030) for __rt_lib_init_alloca_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000002E) for __rt_lib_init_argv_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000001D) for __rt_lib_init_atexit_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000023) for __rt_lib_init_clock_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000034) for __rt_lib_init_cpp_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000032) for __rt_lib_init_exceptions_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000002) for __rt_lib_init_fp_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000021) for __rt_lib_init_fp_trap_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000025) for __rt_lib_init_getenv_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000000C) for __rt_lib_init_heap_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000013) for __rt_lib_init_lc_collate_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000015) for __rt_lib_init_lc_ctype_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000017) for __rt_lib_init_lc_monetary_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000019) for __rt_lib_init_lc_numeric_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000001B) for __rt_lib_init_lc_time_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000006) for __rt_lib_init_preinit_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000010) for __rt_lib_init_rand_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000004) for __rt_lib_init_relocate_pie_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000035) for __rt_lib_init_return
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000001F) for __rt_lib_init_signal_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$00000027) for __rt_lib_init_stdio_1
|
||||
libinit.o(.ARM.Collect$$libinit$$00000000) refers (Special) to libinit2.o(.ARM.Collect$$libinit$$0000000E) for __rt_lib_init_user_alloc_1
|
||||
libspace.o(.text) refers to libspace.o(.bss) for __libspace_start
|
||||
rtexit.o(.ARM.Collect$$rtexit$$00000000) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000004) for __rt_exit_exit
|
||||
rtexit.o(.ARM.Collect$$rtexit$$00000000) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000003) for __rt_exit_ls
|
||||
rtexit.o(.ARM.Collect$$rtexit$$00000000) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000002) for __rt_exit_prels_1
|
||||
rtexit.o(.ARM.exidx) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000004) for __rt_exit_exit
|
||||
rtexit.o(.ARM.exidx) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000003) for __rt_exit_ls
|
||||
rtexit.o(.ARM.exidx) refers (Special) to rtexit2.o(.ARM.Collect$$rtexit$$00000002) for __rt_exit_prels_1
|
||||
rtexit.o(.ARM.exidx) refers to rtexit.o(.ARM.Collect$$rtexit$$00000000) for .ARM.Collect$$rtexit$$00000000
|
||||
libinit2.o(.ARM.Collect$$libinit$$00000012) refers to libinit2.o(.ARM.Collect$$libinit$$00000011) for .ARM.Collect$$libinit$$00000011
|
||||
libinit2.o(.ARM.Collect$$libinit$$00000014) refers to libinit2.o(.ARM.Collect$$libinit$$00000011) for .ARM.Collect$$libinit$$00000011
|
||||
libinit2.o(.ARM.Collect$$libinit$$00000016) refers to libinit2.o(.ARM.Collect$$libinit$$00000011) for .ARM.Collect$$libinit$$00000011
|
||||
libinit2.o(.ARM.Collect$$libinit$$00000018) refers to libinit2.o(.ARM.Collect$$libinit$$00000011) for .ARM.Collect$$libinit$$00000011
|
||||
libinit2.o(.ARM.Collect$$libinit$$0000001A) refers to libinit2.o(.ARM.Collect$$libinit$$00000011) for .ARM.Collect$$libinit$$00000011
|
||||
libinit2.o(.ARM.Collect$$libinit$$00000028) refers to argv_veneer.o(.emb_text) for __ARM_argv_veneer
|
||||
libinit2.o(.ARM.Collect$$libinit$$00000029) refers to argv_veneer.o(.emb_text) for __ARM_argv_veneer
|
||||
rtexit2.o(.ARM.Collect$$rtexit$$00000003) refers to libshutdown.o(.ARM.Collect$$libshutdown$$00000000) for __rt_lib_shutdown
|
||||
rtexit2.o(.ARM.Collect$$rtexit$$00000004) refers to sys_exit.o(.text) for _sys_exit
|
||||
rtexit2.o(.ARM.exidx) refers to rtexit2.o(.ARM.Collect$$rtexit$$00000001) for .ARM.Collect$$rtexit$$00000001
|
||||
rtexit2.o(.ARM.exidx) refers to rtexit2.o(.ARM.Collect$$rtexit$$00000003) for .ARM.Collect$$rtexit$$00000003
|
||||
rtexit2.o(.ARM.exidx) refers to rtexit2.o(.ARM.Collect$$rtexit$$00000004) for .ARM.Collect$$rtexit$$00000004
|
||||
argv_veneer.o(.emb_text) refers to no_argv.o(.text) for __ARM_get_argv
|
||||
sys_exit.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
|
||||
sys_exit.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
|
||||
sys_exit_hlt.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
|
||||
sys_exit_hlt.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
|
||||
_get_argv_nomalloc.o(.text) refers (Special) to hrguard.o(.text) for __heap_region$guard
|
||||
_get_argv_nomalloc.o(.text) refers to defsig_rtmem_outer.o(.text) for __rt_SIGRTMEM
|
||||
_get_argv_nomalloc.o(.text) refers to sys_command.o(.text) for _sys_command_string
|
||||
libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000002) for __rt_lib_shutdown_cpp_1
|
||||
libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000007) for __rt_lib_shutdown_fp_trap_1
|
||||
libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F) for __rt_lib_shutdown_heap_1
|
||||
libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000010) for __rt_lib_shutdown_return
|
||||
libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000A) for __rt_lib_shutdown_signal_1
|
||||
libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000004) for __rt_lib_shutdown_stdio_1
|
||||
libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000C) for __rt_lib_shutdown_user_alloc_1
|
||||
sys_command.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
|
||||
sys_command.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
|
||||
sys_command_hlt.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
|
||||
sys_command_hlt.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
|
||||
defsig_rtmem_outer.o(.text) refers to defsig_rtmem_inner.o(.text) for __rt_SIGRTMEM_inner
|
||||
defsig_rtmem_outer.o(.text) refers to defsig_exit.o(.text) for __sig_exit
|
||||
defsig_rtmem_formal.o(.text) refers to rt_raise.o(.text) for __rt_raise
|
||||
rt_raise.o(.text) refers to __raise.o(.text) for __raise
|
||||
rt_raise.o(.text) refers to sys_exit.o(.text) for _sys_exit
|
||||
defsig_exit.o(.text) refers to sys_exit.o(.text) for _sys_exit
|
||||
defsig_rtmem_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
|
||||
__raise.o(.text) refers to defsig.o(CL$$defsig) for __default_signal_handler
|
||||
defsig_general.o(.text) refers to sys_wrch.o(.text) for _ttywrch
|
||||
sys_wrch.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
|
||||
sys_wrch.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
|
||||
sys_wrch_hlt.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
|
||||
sys_wrch_hlt.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
|
||||
defsig.o(CL$$defsig) refers to defsig_rtmem_inner.o(.text) for __rt_SIGRTMEM_inner
|
||||
defsig_abrt_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
|
||||
defsig_fpe_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
|
||||
defsig_rtred_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
|
||||
defsig_stak_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
|
||||
defsig_pvfn_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
|
||||
defsig_cppl_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
|
||||
defsig_segv_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
|
||||
defsig_other.o(.text) refers to defsig_general.o(.text) for __default_signal_display
|
||||
|
||||
|
||||
==============================================================================
|
||||
|
||||
Removing Unused input sections from the image.
|
||||
|
||||
Removing principal.o(.text), (0 bytes).
|
||||
Removing principal.o(.ARM.exidx.text.pilotage), (8 bytes).
|
||||
Removing principal.o(.ARM.exidx.text.main), (8 bytes).
|
||||
Removing principal.o(.ARM.use_no_argv), (4 bytes).
|
||||
Removing accelerometre.o(.text), (0 bytes).
|
||||
Removing accelerometre.o(.ARM.exidx.text.initAccelo), (8 bytes).
|
||||
Removing accelerometre.o(.ARM.exidx.text.RecupAccelo), (8 bytes).
|
||||
Removing accelerometre.o(.ARM.exidx.text.initLacheur), (8 bytes).
|
||||
Removing accelerometre.o(.ARM.exidx.text.LacheVoile), (8 bytes).
|
||||
Removing girouette.o(.text), (0 bytes).
|
||||
Removing girouette.o(.ARM.exidx.text.configEncoder), (8 bytes).
|
||||
Removing girouette.o(.ARM.exidx.text.angleVent), (8 bytes).
|
||||
Removing girouette.o(.ARM.exidx.text.vent2voile), (8 bytes).
|
||||
Removing girouette.o(.ARM.exidx.text.LocaliserZero), (8 bytes).
|
||||
Removing myuart.o(.text), (0 bytes).
|
||||
Removing myuart.o(.ARM.exidx.text.My_USART_Config), (8 bytes).
|
||||
Removing myuart.o(.ARM.exidx.text.__NVIC_EnableIRQ), (8 bytes).
|
||||
Removing myuart.o(.ARM.exidx.text.__NVIC_SetPriority), (8 bytes).
|
||||
Removing myuart.o(.ARM.exidx.text.USART_Send_Char), (8 bytes).
|
||||
Removing myuart.o(.ARM.exidx.text.USART_Send_String), (8 bytes).
|
||||
Removing myuart.o(.ARM.exidx.text.USART_IT_Receive_Enable), (8 bytes).
|
||||
Removing myuart.o(.ARM.exidx.text.Init_IT_Receive), (8 bytes).
|
||||
Removing myuart.o(.ARM.exidx.text.USART1_IRQHandler), (8 bytes).
|
||||
Removing servo.o(.text), (0 bytes).
|
||||
Removing servo.o(.ARM.exidx.text.Servo_Moteur), (8 bytes).
|
||||
Removing servo.o(.ARM.exidx.text.initServo), (8 bytes).
|
||||
Removing plateau.o(.text), (0 bytes).
|
||||
Removing plateau.o(.ARM.exidx.text.initPlato), (8 bytes).
|
||||
Removing plateau.o(.ARM.exidx.text.Update_Motor_PWM), (8 bytes).
|
||||
Removing drivergpio.o(.text), (0 bytes).
|
||||
Removing drivergpio.o(.ARM.exidx.text.MyGPIO_Init), (8 bytes).
|
||||
Removing drivergpio.o(.ARM.exidx.text.MyGPIO_Read), (8 bytes).
|
||||
Removing drivergpio.o(.text.MyGPIO_Set), (24 bytes).
|
||||
Removing drivergpio.o(.ARM.exidx.text.MyGPIO_Set), (8 bytes).
|
||||
Removing drivergpio.o(.text.MyGPIO_Reset), (28 bytes).
|
||||
Removing drivergpio.o(.ARM.exidx.text.MyGPIO_Reset), (8 bytes).
|
||||
Removing drivergpio.o(.ARM.exidx.text.MYGPIO_PinOn), (8 bytes).
|
||||
Removing drivergpio.o(.ARM.exidx.text.MYGPIO_PinOff), (8 bytes).
|
||||
Removing drivergpio.o(.text.MyGPIO_Toggle), (30 bytes).
|
||||
Removing drivergpio.o(.ARM.exidx.text.MyGPIO_Toggle), (8 bytes).
|
||||
Removing horloge.o(.text), (0 bytes).
|
||||
Removing horloge.o(.ARM.exidx.text.Timer_Init), (8 bytes).
|
||||
Removing horloge.o(.text.MyTimer_ActiveIT), (268 bytes).
|
||||
Removing horloge.o(.ARM.exidx.text.MyTimer_ActiveIT), (8 bytes).
|
||||
Removing horloge.o(.text.__NVIC_EnableIRQ), (48 bytes).
|
||||
Removing horloge.o(.ARM.exidx.text.__NVIC_EnableIRQ), (8 bytes).
|
||||
Removing horloge.o(.text.__NVIC_SetPriority), (66 bytes).
|
||||
Removing horloge.o(.ARM.exidx.text.__NVIC_SetPriority), (8 bytes).
|
||||
Removing horloge.o(.ARM.exidx.text.TIM2_IRQHandler), (8 bytes).
|
||||
Removing horloge.o(.ARM.exidx.text.TIM3_IRQHandler), (8 bytes).
|
||||
Removing horloge.o(.ARM.exidx.text.TIM4_IRQHandler), (8 bytes).
|
||||
Removing mygpio.o(.text), (0 bytes).
|
||||
Removing mygpio.o(.text.initGPIO_Interne), (66 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.initGPIO_Interne), (8 bytes).
|
||||
Removing mygpio.o(.text.boutonAppuye_Interne), (16 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.boutonAppuye_Interne), (8 bytes).
|
||||
Removing mygpio.o(.text.allumerDEL_Interne), (18 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.allumerDEL_Interne), (8 bytes).
|
||||
Removing mygpio.o(.text.eteindreDEL_Interne), (18 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.eteindreDEL_Interne), (8 bytes).
|
||||
Removing mygpio.o(.text.commuterDEL_Interne), (18 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.commuterDEL_Interne), (8 bytes).
|
||||
Removing mygpio.o(.text.initGPIO_Externe), (58 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.initGPIO_Externe), (8 bytes).
|
||||
Removing mygpio.o(.text.boutonAppuye_Externe), (16 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.boutonAppuye_Externe), (8 bytes).
|
||||
Removing mygpio.o(.text.allumerDEL_Externe), (18 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.allumerDEL_Externe), (8 bytes).
|
||||
Removing mygpio.o(.text.eteindreDEL_Externe), (18 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.eteindreDEL_Externe), (8 bytes).
|
||||
Removing mygpio.o(.text.commuterDEL_Externe), (18 bytes).
|
||||
Removing mygpio.o(.ARM.exidx.text.commuterDEL_Externe), (8 bytes).
|
||||
Removing pwm.o(.text), (0 bytes).
|
||||
Removing pwm.o(.ARM.exidx.text.MyTimer_PWM), (8 bytes).
|
||||
Removing pwm.o(.ARM.exidx.text.Set_DutyCycle_PWM), (8 bytes).
|
||||
Removing i2c.o(.text), (0 bytes).
|
||||
Removing i2c.o(.text.initI2C), (42 bytes).
|
||||
Removing i2c.o(.ARM.exidx.text.initI2C), (8 bytes).
|
||||
Removing system_stm32f10x.o(.text), (0 bytes).
|
||||
Removing system_stm32f10x.o(.ARM.exidx.text.SystemInit), (8 bytes).
|
||||
Removing system_stm32f10x.o(.ARM.exidx.text.SetSysClock), (8 bytes).
|
||||
Removing system_stm32f10x.o(.text.SystemCoreClockUpdate), (290 bytes).
|
||||
Removing system_stm32f10x.o(.ARM.exidx.text.SystemCoreClockUpdate), (8 bytes).
|
||||
Removing system_stm32f10x.o(.ARM.exidx.text.SetSysClockTo72), (8 bytes).
|
||||
Removing system_stm32f10x.o(.data.SystemCoreClock), (4 bytes).
|
||||
Removing system_stm32f10x.o(.rodata.AHBPrescTable), (16 bytes).
|
||||
|
||||
86 unused section(s) (total 1508 bytes) removed from the image.
|
||||
|
|
@ -26,41 +26,20 @@ Project File Date: 12/16/2025
|
|||
|
||||
<h2>Output:</h2>
|
||||
*** Using Compiler 'V6.23', folder: 'C:\Keil\542a\ARM\ARMCLANG\Bin'
|
||||
Rebuild target 'Simulation'
|
||||
Pilotes/Source/Horloge.c(75): error: redefinition of 'TIM2_IRQHandler'
|
||||
75 | void TIM2_IRQHandler(void) { //On redefinit le IRQHandler qui est d<E9>j<E0> ecrit dans le code source
|
||||
| ^
|
||||
Pilotes/Source/Horloge.c(33): note: previous definition is here
|
||||
33 | void TIM2_IRQHandler(void) { //On redefinit le IRQHandler qui est d<E9>j<E0> ecrit dans le code source
|
||||
| ^
|
||||
1 error generated.
|
||||
compiling Horloge.c...
|
||||
compiling DriverGPIO.c...
|
||||
Services/Source/Girouette.c(13): error: call to undeclared function 'Timer_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
|
||||
13 | Timer_init(Timer, 0, 0);
|
||||
| ^
|
||||
Services/Source/Girouette.c(13): note: did you mean 'Timer_Init'?
|
||||
./Pilotes/Include\Horloge.h(10): note: 'Timer_Init' declared here
|
||||
10 | void Timer_Init(TIM_TypeDef *Timer, unsigned short Autoreload, unsigned short Prescaler);
|
||||
| ^
|
||||
1 error generated.
|
||||
compiling Girouette.c...
|
||||
compiling Servo.c...
|
||||
compiling MyUart.c...
|
||||
Application/principal.c(8): warning: In file included from...
|
||||
./Pilotes/Include\RTC.h(4): error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
|
||||
4 | initRTC();
|
||||
| ^
|
||||
| int
|
||||
1 error generated.
|
||||
Build target 'Simulation'
|
||||
compiling principal.c...
|
||||
compiling Accelerometre.c...
|
||||
compiling MYGPIO.c...
|
||||
compiling PWM.c...
|
||||
compiling I2C.c...
|
||||
compiling system_stm32f10x.c...
|
||||
assembling startup_stm32f10x_md.s...
|
||||
".\Objects\ProjetVide.axf" - 3 Error(s), 0 Warning(s).
|
||||
linking...
|
||||
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol initRTC (referred from principal.o).
|
||||
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol getTime (referred from principal.o).
|
||||
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Init (referred from accelerometre.o).
|
||||
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Clear_NSS (referred from accelerometre.o).
|
||||
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Send (referred from accelerometre.o).
|
||||
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Set_NSS (referred from accelerometre.o).
|
||||
.\Objects\ProjetVide.axf: Error: L6218E: Undefined symbol MySPI_Read (referred from accelerometre.o).
|
||||
Not enough information to list image symbols.
|
||||
Not enough information to list load addresses in the image map.
|
||||
Finished: 2 information, 0 warning and 7 error messages.
|
||||
".\Objects\ProjetVide.axf" - 7 Error(s), 0 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,11 @@
|
|||
".\objects\girouette.o"
|
||||
".\objects\myuart.o"
|
||||
".\objects\servo.o"
|
||||
".\objects\plateau.o"
|
||||
".\objects\drivergpio.o"
|
||||
".\objects\horloge.o"
|
||||
".\objects\mygpio.o"
|
||||
".\objects\mytimer.o"
|
||||
".\objects\pwm.o"
|
||||
".\objects\timer.o"
|
||||
".\objects\i2c.o"
|
||||
".\objects\startup_stm32f10x_md.o"
|
||||
".\objects\system_stm32f10x.o"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Dependencies for Project 'ProjetVoilier', Target 'Simulation': (DO NOT MODIFY !)
|
||||
CompilerVersion: 6230000::V6.23::ARMCLANG
|
||||
F (.\Application\principal.c)(0x6941A6B5)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects
-I./RTE/Device/STM32F103RB
-I./RTE/_Simulation
-IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
-D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_
-o ./objects/principal.o -MMD)
|
||||
F (.\Application\principal.c)(0x6941AAEF)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects
-I./RTE/Device/STM32F103RB
-I./RTE/_Simulation
-IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
-D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_
-o ./objects/principal.o -MMD)
|
||||
I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
|
||||
I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
|
||||
I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
|
||||
|
|
@ -9,8 +9,10 @@ I (Pilotes\Include\Horloge.h)(0x69419DE6)
|
|||
I (Services\Include\Accelerometre.h)(0x69419DE7)
|
||||
I (Services\Include\Girouette.h)(0x69419DE7)
|
||||
I (Services\Include\Servo.h)(0x69419DE7)
|
||||
I (Pilotes\Include\MyUart.h)(0x6941AA24)
|
||||
I (Pilotes\Include\Plateau.h)(0x6941A967)
|
||||
I (Pilotes\Include\I2C.h)(0x69419DE6)
|
||||
I (Pilotes\Include\RTC.h)(0x6941A458)
|
||||
I (Pilotes\Include\RTC.h)(0x6941ABAC)
|
||||
F (.\Services\Source\Accelerometre.c)(0x69419DE7)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects
-I./RTE/Device/STM32F103RB
-I./RTE/_Simulation
-IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
-D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_
-o ./objects/accelerometre.o -MMD)
|
||||
I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
|
||||
I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
|
||||
|
|
@ -20,7 +22,7 @@ I (Pilotes\Include\Horloge.h)(0x69419DE6)
|
|||
I (Pilotes\Include\MySPI.h)(0x69419DE6)
|
||||
I (Services\Include\Accelerometre.h)(0x69419DE7)
|
||||
I (Services\Include\Servo.h)(0x69419DE7)
|
||||
F (.\Services\Source\Girouette.c)(0x69419DE7)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects
-I./RTE/Device/STM32F103RB
-I./RTE/_Simulation
-IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
-D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_
-o ./objects/girouette.o -MMD)
|
||||
F (.\Services\Source\Girouette.c)(0x6941AB12)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects
-I./RTE/Device/STM32F103RB
-I./RTE/_Simulation
-IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
-D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_
-o ./objects/girouette.o -MMD)
|
||||
I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
|
||||
I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
|
||||
I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
|
||||
|
|
@ -44,13 +46,21 @@ I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm3
|
|||
I (Pilotes\Include\DriverGPIO.h)(0x6941A7A8)
|
||||
I (Pilotes\Include\PWM.h)(0x69419DE6)
|
||||
I (Pilotes\Include\Horloge.h)(0x69419DE6)
|
||||
F (\\netapp2\jdreschler\Documents\ProjetVoilier\BE_VOILIER\Pilotes\Source\Plateau.c)(0x6941AB75)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects
-I./RTE/Device/STM32F103RB
-I./RTE/_Simulation
-IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
-D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_
-o ./objects/plateau.o -MMD)
|
||||
I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
|
||||
I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
|
||||
I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
|
||||
I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
|
||||
I (Pilotes\Include\PWM.h)(0x69419DE6)
|
||||
I (Pilotes\Include\DriverGPIO.h)(0x6941A7A8)
|
||||
I (Pilotes\Include\Horloge.h)(0x69419DE6)
|
||||
F (.\Pilotes\Source\DriverGPIO.c)(0x6941A787)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects
-I./RTE/Device/STM32F103RB
-I./RTE/_Simulation
-IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
-D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_
-o ./objects/drivergpio.o -MMD)
|
||||
I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
|
||||
I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
|
||||
I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
|
||||
I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h)(0x6853B9CE)
|
||||
I (Pilotes\Include\DriverGPIO.h)(0x6941A7A8)
|
||||
F (.\Pilotes\Source\Horloge.c)(0x6941A458)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects
-I./RTE/Device/STM32F103RB
-I./RTE/_Simulation
-IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
-D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_
-o ./objects/horloge.o -MMD)
|
||||
F (.\Pilotes\Source\Horloge.c)(0x6941ABA0)(-xc --target=arm-arm-none-eabi -mcpu=cortex-m3 -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-D__EVAL -gdwarf-4 -O0 -ffunction-sections -Wall -Wextra -Wno-packed -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./Pilotes/Include -I ./Pilotes/Source -I ./Services/Source -I ./Services/Include -I . -I ./Objects
-I./RTE/Device/STM32F103RB
-I./RTE/_Simulation
-IC:/ProgramData/Keil/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-IC:/ProgramData/Keil/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
-D__UVISION_VERSION="542" -DSTM32F10X_MD -D_RTE_
-o ./objects/horloge.o -MMD)
|
||||
I (C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h)(0x6853B9CE)
|
||||
I (RTE\_Simulation\RTE_Components.h)(0x69419DE7)
|
||||
I (C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h)(0x6853B99E)
|
||||
|
|
|
|||
BIN
Objects/girouette.o
Normal file
BIN
Objects/girouette.o
Normal file
Binary file not shown.
BIN
Objects/horloge.o
Normal file
BIN
Objects/horloge.o
Normal file
Binary file not shown.
8
Objects/plateau.d
Normal file
8
Objects/plateau.d
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
./objects/plateau.o: \
|
||||
\\netapp2\jdreschler\Documents\ProjetVoilier\BE_VOILIER\Pilotes\Source\Plateau.c \
|
||||
C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h \
|
||||
RTE\_Simulation\RTE_Components.h \
|
||||
C:\ProgramData\Keil\Packs\ARM\CMSIS\6.2.0\CMSIS\Core\Include\core_cm3.h \
|
||||
C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
|
||||
Pilotes\Include\PWM.h Pilotes\Include\DriverGPIO.h \
|
||||
Pilotes\Include\Horloge.h
|
||||
BIN
Objects/plateau.o
Normal file
BIN
Objects/plateau.o
Normal file
Binary file not shown.
|
|
@ -5,4 +5,5 @@
|
|||
C:\ProgramData\Keil\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\system_stm32f10x.h \
|
||||
Pilotes\Include\Horloge.h Services\Include\Accelerometre.h \
|
||||
Services\Include\Girouette.h Services\Include\Servo.h \
|
||||
Pilotes\Include\MyUart.h Pilotes\Include\Plateau.h \
|
||||
Pilotes\Include\I2C.h Pilotes\Include\RTC.h
|
||||
|
|
|
|||
BIN
Objects/principal.o
Normal file
BIN
Objects/principal.o
Normal file
Binary file not shown.
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef RTC_H_
|
||||
#define RTC_H_
|
||||
#include <stm32f10x.h>
|
||||
initRTC();
|
||||
void initRTC();
|
||||
int getTime();
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -29,14 +29,6 @@ void Timer_Init(TIM_TypeDef *Timer, unsigned short Autoreload, unsigned short Pr
|
|||
}
|
||||
|
||||
|
||||
//La fonction TIM2_IRQHandler existe déjà dans le processeur, on l'a juste redifint, tel qu'à chaque overflow on met un bit 1 dans GPIOA_ODR
|
||||
void TIM2_IRQHandler(void) { //On redefinit le IRQHandler qui est déjà ecrit dans le code source
|
||||
if (TIM2->SR & TIM_SR_UIF) { //On met le bit de overflow à un dès qu'on a overflow
|
||||
TIM2->SR &= ~TIM_SR_UIF; //Remise à zero
|
||||
|
||||
if (TIM2_Appel){TIM2_Appel();}
|
||||
}
|
||||
}
|
||||
|
||||
void MyTimer_ActiveIT(TIM_TypeDef * Timer, char Prio, void(*Interrupt_fonc)(void)) { //On veut créer une fonction qui envoie un signal au cas où il y a debordement, avec une prioritaire, 0 plus importante 15 moins importante
|
||||
if (Timer == TIM2) {
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
#include "stm32f10x.h"
|
||||
#include "PWM.h"
|
||||
#include "DriverGPIO.h"
|
||||
#include "Horloge.h"
|
||||
|
||||
void initPlato(TIM_TypeDef * Timer, int Channel){ // Config du moteur servo
|
||||
|
||||
MyGPIO_Init(GPIOB, 5, AltOut_Ppull); //config pin de direction 0 ou 1
|
||||
if (Timer == TIM3) {
|
||||
EnableTimer(TIM3);
|
||||
MyTimer_Base_Init(TIM3, 159, 17); // Pour obtenir fréq de 20kHZ
|
||||
Timer_Init(TIM3, 159, 17); // Pour obtenir fréq de 20kHZ
|
||||
if (Channel == 3){
|
||||
MyGPIO_Init(GPIOB, 0, AltOut_Ppull); // Outut push pull alternate, config pin de consigne entre -100 et 100
|
||||
MyTimer_PWM(TIM3, 3); //TIM3 CH3
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -433,7 +433,7 @@
|
|||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>4</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>.\Pilotes\Source\MyUart.c</PathWithFileName>
|
||||
|
|
@ -453,6 +453,18 @@
|
|||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>6</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>\\netapp2\jdreschler\Documents\ProjetVoilier\BE_VOILIER\Pilotes\Source\Plateau.c</PathWithFileName>
|
||||
<FilenameWithoutPath>Plateau.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
|
|
@ -463,9 +475,9 @@
|
|||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>6</FileNumber>
|
||||
<FileNumber>7</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>.\Pilotes\Source\DriverGPIO.c</PathWithFileName>
|
||||
|
|
@ -475,7 +487,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>7</FileNumber>
|
||||
<FileNumber>8</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
|
@ -487,7 +499,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>8</FileNumber>
|
||||
<FileNumber>9</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
|
@ -499,7 +511,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>9</FileNumber>
|
||||
<FileNumber>10</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
|
@ -511,7 +523,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>10</FileNumber>
|
||||
<FileNumber>11</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
|
|
|||
|
|
@ -414,6 +414,11 @@
|
|||
<FileType>1</FileType>
|
||||
<FilePath>.\Services\Source\Servo.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>Plateau.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>\\netapp2\jdreschler\Documents\ProjetVoilier\BE_VOILIER\Pilotes\Source\Plateau.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
|
|
@ -862,6 +867,11 @@
|
|||
<FileType>1</FileType>
|
||||
<FilePath>.\Services\Source\Servo.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>Plateau.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>\\netapp2\jdreschler\Documents\ProjetVoilier\BE_VOILIER\Pilotes\Source\Plateau.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
void configEncoder(TIM_TypeDef * Timer) {
|
||||
// Timer
|
||||
Timer_init(Timer, 0, 0);
|
||||
Timer_Init(Timer, 0, 0);
|
||||
|
||||
// Settings
|
||||
Timer -> CCMR1 |= TIM_CCMR1_CC1S; // TI1FP1 mapped on TI1
|
||||
|
|
|
|||
Loading…
Reference in a new issue