diff --git a/Inc/servo.h b/Inc/servo.h index a9722c7..bffc656 100644 --- a/Inc/servo.h +++ b/Inc/servo.h @@ -1,4 +1,6 @@ #include "main.h" +//Tanslate angle into Capture Compare Register value +#define ANGLETOCCR(angle) 2000 * (angle) / 180 + 500 extern uint8_t Servo_Speed,Servo_goal,Servo_position; diff --git a/Inc/stm32l4xx_it.h b/Inc/stm32l4xx_it.h index 885509c..5abb34e 100644 --- a/Inc/stm32l4xx_it.h +++ b/Inc/stm32l4xx_it.h @@ -57,6 +57,7 @@ void PendSV_Handler(void); void SysTick_Handler(void); void EXTI9_5_IRQHandler(void); void USART1_IRQHandler(void); +void TIM7_IRQHandler(void); /* USER CODE BEGIN EFP */ /* USER CODE END EFP */ diff --git a/Inc/tim.h b/Inc/tim.h index 80b0f50..ed7c4ad 100644 --- a/Inc/tim.h +++ b/Inc/tim.h @@ -34,6 +34,8 @@ extern "C" { extern TIM_HandleTypeDef htim1; +extern TIM_HandleTypeDef htim7; + extern TIM_HandleTypeDef htim15; /* USER CODE BEGIN Private defines */ @@ -41,6 +43,7 @@ extern TIM_HandleTypeDef htim15; /* USER CODE END Private defines */ void MX_TIM1_Init(void); +void MX_TIM7_Init(void); void MX_TIM15_Init(void); void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim); diff --git a/MDK-ARM/Project/Project.axf b/MDK-ARM/Project/Project.axf index 564b9d5..6cd7171 100644 Binary files a/MDK-ARM/Project/Project.axf and b/MDK-ARM/Project/Project.axf differ diff --git a/MDK-ARM/Project/Project.build_log.htm b/MDK-ARM/Project/Project.build_log.htm index 84ee059..befd417 100644 --- a/MDK-ARM/Project/Project.build_log.htm +++ b/MDK-ARM/Project/Project.build_log.htm @@ -27,10 +27,14 @@ Project File Date: 11/07/2024
#<CALLGRAPH># ARM Linker, 5060528: Last Updated: Thu Nov 07 00:47:45 2024
+
#<CALLGRAPH># ARM Linker, 5060528: Last Updated: Thu Nov 07 13:47:54 2024
@@ -101,7 +101,7 @@ Function Pointers
__main (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
[Address Reference Count : 1]
_main_stk (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001)) +
_main_stk (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
_main_scatterload (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
[Calls]
_main_clock (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008)) +
_main_clock (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008)) -
_main_cpp_init (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A)) +
_main_cpp_init (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A)) -
_main_init (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B)) +
_main_init (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B)) -
__rt_final_cpp (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D)) +
__rt_final_cpp (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D)) -
__rt_final_exit (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F)) +
__rt_final_exit (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F))
Reset_Handler (Thumb, 8 bytes, Stack size 0 bytes, startup_stm32l475xx.o(.text))
[Address Reference Count : 1]
TIM6_DAC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32l475xx.o(.text))
[Address Reference Count : 1]
TIM7_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32l475xx.o(.text))
-
[Address Reference Count : 1]
TIM8_BRK_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32l475xx.o(.text))
[Address Reference Count : 1]
__aeabi_memset (Thumb, 14 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) @@ -403,49 +400,49 @@ Global Symbols
__aeabi_memset4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) +
__aeabi_memset4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) -
__aeabi_memset8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) +
__aeabi_memset8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
__aeabi_memclr (Thumb, 4 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
[Calls]
__aeabi_memclr4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text))
-
[Called By]
__aeabi_memclr8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) +
__aeabi_memclr8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
_memset$wrapper (Thumb, 18 bytes, Stack size 8 bytes, memseta.o(.text), UNUSED)
[Calls]
strcmp (Thumb, 28 bytes, Stack size 8 bytes, strcmp.o(.text)) +
strcmp (Thumb, 28 bytes, Stack size 8 bytes, strcmp.o(.text))
[Stack]
__aeabi_llsl (Thumb, 30 bytes, Stack size 0 bytes, llshl.o(.text))
[Called By]
_ll_shift_l (Thumb, 0 bytes, Stack size 0 bytes, llshl.o(.text), UNUSED) +
_ll_shift_l (Thumb, 0 bytes, Stack size 0 bytes, llshl.o(.text), UNUSED)
__aeabi_llsr (Thumb, 32 bytes, Stack size 0 bytes, llushr.o(.text))
[Called By]
_ll_ushift_r (Thumb, 0 bytes, Stack size 0 bytes, llushr.o(.text), UNUSED) +
_ll_ushift_r (Thumb, 0 bytes, Stack size 0 bytes, llushr.o(.text), UNUSED)
__scatterload (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
[Calls]
__scatterload_rt2 (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED) +
__scatterload_rt2 (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
ADC_Disable (Thumb, 106 bytes, Stack size 16 bytes, stm32l4xx_hal_adc.o(i.ADC_Disable))
[Stack]
Error_Handler (Thumb, 4 bytes, Stack size 0 bytes, main.o(i.Error_Handler))
[Called By]
HAL_ADCEx_Calibration_Start (Thumb, 140 bytes, Stack size 24 bytes, stm32l4xx_hal_adc_ex.o(i.HAL_ADCEx_Calibration_Start)) @@ -511,7 +509,7 @@ Global Symbols
HAL_ADC_ConfigChannel (Thumb, 966 bytes, Stack size 40 bytes, stm32l4xx_hal_adc.o(i.HAL_ADC_ConfigChannel)) @@ -523,7 +521,7 @@ Global Symbols
HAL_ADC_Init (Thumb, 410 bytes, Stack size 24 bytes, stm32l4xx_hal_adc.o(i.HAL_ADC_Init)) @@ -533,7 +531,7 @@ Global Symbols
HAL_ADC_MspInit (Thumb, 138 bytes, Stack size 168 bytes, adc.o(i.HAL_ADC_MspInit))
@@ -556,16 +554,16 @@ Global Symbols
[Called By]
HAL_DMA_Abort (Thumb, 74 bytes, Stack size 8 bytes, stm32l4xx_hal_dma.o(i.HAL_DMA_Abort)) +
HAL_DMA_Abort (Thumb, 74 bytes, Stack size 8 bytes, stm32l4xx_hal_dma.o(i.HAL_DMA_Abort))
[Stack]
HAL_DMA_Abort_IT (Thumb, 78 bytes, Stack size 8 bytes, stm32l4xx_hal_dma.o(i.HAL_DMA_Abort_IT)) +
HAL_DMA_Abort_IT (Thumb, 78 bytes, Stack size 8 bytes, stm32l4xx_hal_dma.o(i.HAL_DMA_Abort_IT))
[Stack]
HAL_Delay (Thumb, 32 bytes, Stack size 16 bytes, stm32l4xx_hal.o(i.HAL_Delay))
@@ -574,8 +572,8 @@ Global Symbols
[Calls]
HAL_GPIO_EXTI_Callback (Thumb, 56 bytes, Stack size 8 bytes, stm32l4xx_it.o(i.HAL_GPIO_EXTI_Callback)) @@ -598,52 +596,52 @@ Global Symbols
HAL_GPIO_Init (Thumb, 500 bytes, Stack size 56 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_Init))
[Stack]
HAL_GPIO_ReadPin (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_ReadPin))
[Called By]
HAL_GPIO_TogglePin (Thumb, 16 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_TogglePin)) +
HAL_GPIO_TogglePin (Thumb, 16 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_TogglePin))
[Called By]
HAL_GPIO_WritePin (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_WritePin))
-
[Called By]
HAL_GPIO_WritePin (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_WritePin))
+
[Called By]
HAL_GetTick (Thumb, 6 bytes, Stack size 0 bytes, stm32l4xx_hal.o(i.HAL_GetTick))
[Called By]
HAL_IncTick (Thumb, 12 bytes, Stack size 0 bytes, stm32l4xx_hal.o(i.HAL_IncTick)) +
HAL_IncTick (Thumb, 12 bytes, Stack size 0 bytes, stm32l4xx_hal.o(i.HAL_IncTick))
[Called By]
HAL_NVIC_EnableIRQ (Thumb, 26 bytes, Stack size 0 bytes, stm32l4xx_hal_cortex.o(i.HAL_NVIC_EnableIRQ))
-
[Called By]
HAL_NVIC_EnableIRQ (Thumb, 26 bytes, Stack size 0 bytes, stm32l4xx_hal_cortex.o(i.HAL_NVIC_EnableIRQ))
+
[Called By]
HAL_NVIC_SetPriority (Thumb, 60 bytes, Stack size 16 bytes, stm32l4xx_hal_cortex.o(i.HAL_NVIC_SetPriority)) @@ -684,8 +683,9 @@ Global Symbols
HAL_PWREx_ControlVoltageScaling (Thumb, 90 bytes, Stack size 0 bytes, stm32l4xx_hal_pwr_ex.o(i.HAL_PWREx_ControlVoltageScaling))
-
[Called By]
HAL_PWREx_ControlVoltageScaling (Thumb, 90 bytes, Stack size 0 bytes, stm32l4xx_hal_pwr_ex.o(i.HAL_PWREx_ControlVoltageScaling))
+
[Called By]
HAL_PWREx_GetVoltageRange (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_pwr_ex.o(i.HAL_PWREx_GetVoltageRange)) +
HAL_PWREx_GetVoltageRange (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_pwr_ex.o(i.HAL_PWREx_GetVoltageRange))
[Called By]
HAL_RCC_ClockConfig (Thumb, 304 bytes, Stack size 32 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_ClockConfig)) @@ -719,15 +719,15 @@ Global Symbols
HAL_RCC_GetPCLK1Freq (Thumb, 24 bytes, Stack size 0 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetPCLK1Freq))
-
[Called By]
HAL_RCC_GetPCLK1Freq (Thumb, 24 bytes, Stack size 0 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetPCLK1Freq))
+
[Called By]
HAL_RCC_GetPCLK2Freq (Thumb, 24 bytes, Stack size 0 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetPCLK2Freq))
-
[Called By]
HAL_RCC_GetPCLK2Freq (Thumb, 24 bytes, Stack size 0 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetPCLK2Freq))
+
[Called By]
HAL_RCC_GetSysClockFreq (Thumb, 150 bytes, Stack size 16 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetSysClockFreq)) @@ -735,7 +735,7 @@ Global Symbols
HAL_RCC_OscConfig (Thumb, 1294 bytes, Stack size 32 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_OscConfig)) @@ -746,7 +746,7 @@ Global Symbols
HAL_SPI_Init (Thumb, 224 bytes, Stack size 16 bytes, stm32l4xx_hal_spi.o(i.HAL_SPI_Init)) @@ -754,8 +754,8 @@ Global Symbols
HAL_SPI_MspInit (Thumb, 112 bytes, Stack size 40 bytes, spi.o(i.HAL_SPI_MspInit))
@@ -773,7 +773,7 @@ Global Symbols
[Calls]
HAL_SYSTICK_Config (Thumb, 40 bytes, Stack size 8 bytes, stm32l4xx_hal_cortex.o(i.HAL_SYSTICK_Config))
@@ -784,18 +784,31 @@ Global Symbols
[Called By]
HAL_TIMEx_ConfigBreakDeadTime (Thumb, 132 bytes, Stack size 12 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_ConfigBreakDeadTime))
-
[Stack]
HAL_TIMEx_Break2Callback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_Break2Callback))
+
[Called By]
HAL_TIMEx_MasterConfigSynchronization (Thumb, 130 bytes, Stack size 20 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_MasterConfigSynchronization)) +
HAL_TIMEx_BreakCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_BreakCallback))
+
[Called By]
HAL_TIMEx_CommutCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_CommutCallback))
+
[Called By]
HAL_TIMEx_ConfigBreakDeadTime (Thumb, 132 bytes, Stack size 12 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_ConfigBreakDeadTime))
+
[Stack]
HAL_TIMEx_MasterConfigSynchronization (Thumb, 130 bytes, Stack size 20 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_MasterConfigSynchronization))
[Stack]
HAL_TIM_Base_Init (Thumb, 98 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_Base_Init))
@@ -804,159 +817,204 @@ Global Symbols
[Calls]
HAL_TIM_Base_MspInit (Thumb, 30 bytes, Stack size 8 bytes, tim.o(i.HAL_TIM_Base_MspInit))
-
[Stack]
HAL_TIM_Base_MspInit (Thumb, 72 bytes, Stack size 8 bytes, tim.o(i.HAL_TIM_Base_MspInit))
+
[Stack]
HAL_TIM_ConfigClockSource (Thumb, 220 bytes, Stack size 16 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_ConfigClockSource))
-
[Stack]
HAL_TIM_Base_Start_IT (Thumb, 100 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_Base_Start_IT))
+
[Called By]
HAL_TIM_MspPostInit (Thumb, 114 bytes, Stack size 32 bytes, tim.o(i.HAL_TIM_MspPostInit)) +
HAL_TIM_ConfigClockSource (Thumb, 220 bytes, Stack size 16 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_ConfigClockSource))
+
[Stack]
HAL_TIM_IC_CaptureCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_IC_CaptureCallback))
+
[Called By]
HAL_TIM_IRQHandler (Thumb, 330 bytes, Stack size 24 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_IRQHandler))
+
[Stack]
HAL_TIM_MspPostInit (Thumb, 114 bytes, Stack size 32 bytes, tim.o(i.HAL_TIM_MspPostInit))
[Stack]
HAL_TIM_PWM_ConfigChannel (Thumb, 292 bytes, Stack size 16 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_ConfigChannel)) +
HAL_TIM_OC_DelayElapsedCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_OC_DelayElapsedCallback))
+
[Called By]
HAL_TIM_PWM_ConfigChannel (Thumb, 292 bytes, Stack size 16 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_ConfigChannel))
[Stack]
HAL_TIM_PWM_Init (Thumb, 98 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_Init)) +
HAL_TIM_PWM_Init (Thumb, 98 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_Init))
[Stack]
HAL_TIM_PWM_MspInit (Thumb, 30 bytes, Stack size 8 bytes, tim.o(i.HAL_TIM_PWM_MspInit)) +
HAL_TIM_PWM_MspInit (Thumb, 30 bytes, Stack size 8 bytes, tim.o(i.HAL_TIM_PWM_MspInit))
[Stack]
HAL_TIM_PWM_Start (Thumb, 224 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_Start)) +
HAL_TIM_PWM_PulseFinishedCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_PulseFinishedCallback))
+
[Called By]
HAL_TIM_PWM_Start (Thumb, 224 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_Start))
[Stack]
HAL_UARTEx_ReceiveToIdle_IT (Thumb, 78 bytes, Stack size 16 bytes, stm32l4xx_hal_uart_ex.o(i.HAL_UARTEx_ReceiveToIdle_IT)) +
HAL_TIM_PeriodElapsedCallback (Thumb, 74 bytes, Stack size 0 bytes, servo.o(i.HAL_TIM_PeriodElapsedCallback))
+
[Calls]
HAL_TIM_TriggerCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_TriggerCallback))
+
[Called By]
HAL_UARTEx_ReceiveToIdle_IT (Thumb, 78 bytes, Stack size 16 bytes, stm32l4xx_hal_uart_ex.o(i.HAL_UARTEx_ReceiveToIdle_IT))
[Stack]
HAL_UARTEx_RxEventCallback (Thumb, 178 bytes, Stack size 24 bytes, main.o(i.HAL_UARTEx_RxEventCallback)) +
HAL_UARTEx_RxEventCallback (Thumb, 178 bytes, Stack size 24 bytes, main.o(i.HAL_UARTEx_RxEventCallback))
[Stack]
HAL_UARTEx_WakeupCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart_ex.o(i.HAL_UARTEx_WakeupCallback))
-
[Called By]
HAL_UARTEx_WakeupCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart_ex.o(i.HAL_UARTEx_WakeupCallback))
+
[Called By]
HAL_UART_ErrorCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_ErrorCallback)) +
HAL_UART_ErrorCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_ErrorCallback))
[Called By]
HAL_UART_IRQHandler (Thumb, 704 bytes, Stack size 24 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_IRQHandler)) +
HAL_UART_IRQHandler (Thumb, 704 bytes, Stack size 24 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_IRQHandler))
[Stack]
HAL_UART_Init (Thumb, 102 bytes, Stack size 8 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_Init)) +
HAL_UART_Init (Thumb, 102 bytes, Stack size 8 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_Init))
[Stack]
HAL_UART_MspInit (Thumb, 134 bytes, Stack size 168 bytes, usart.o(i.HAL_UART_MspInit)) +
HAL_UART_MspInit (Thumb, 134 bytes, Stack size 168 bytes, usart.o(i.HAL_UART_MspInit))
[Stack]
HAL_UART_RxCpltCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_RxCpltCallback)) +
HAL_UART_RxCpltCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_RxCpltCallback))
[Called By]
HAL_UART_Transmit (Thumb, 164 bytes, Stack size 32 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_Transmit)) +
HAL_UART_Transmit (Thumb, 164 bytes, Stack size 32 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_Transmit))
[Stack]
HAL_UART_TxCpltCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_TxCpltCallback))
-
[Called By]
HAL_UART_TxCpltCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_TxCpltCallback))
+
[Called By]
HardFault_Handler (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.HardFault_Handler)) @@ -966,69 +1024,69 @@ Global Symbols
LCD_Address_Set (Thumb, 82 bytes, Stack size 24 bytes, lcd.o(i.LCD_Address_Set)) +
LCD_Address_Set (Thumb, 82 bytes, Stack size 24 bytes, lcd.o(i.LCD_Address_Set))
[Stack]
LCD_Clear (Thumb, 80 bytes, Stack size 16 bytes, lcd.o(i.LCD_Clear)) +
LCD_Clear (Thumb, 80 bytes, Stack size 16 bytes, lcd.o(i.LCD_Clear))
[Stack]
LCD_Init (Thumb, 412 bytes, Stack size 8 bytes, lcd.o(i.LCD_Init)) +
LCD_Init (Thumb, 412 bytes, Stack size 8 bytes, lcd.o(i.LCD_Init))
[Stack]
LCD_ShowChar (Thumb, 300 bytes, Stack size 40 bytes, lcd.o(i.LCD_ShowChar)) +
LCD_ShowChar (Thumb, 300 bytes, Stack size 40 bytes, lcd.o(i.LCD_ShowChar))
[Stack]
LCD_ShowxNum (Thumb, 114 bytes, Stack size 56 bytes, lcd.o(i.LCD_ShowxNum)) +
LCD_ShowxNum (Thumb, 114 bytes, Stack size 56 bytes, lcd.o(i.LCD_ShowxNum))
[Stack]
LCD_Write_HalfWord (Thumb, 36 bytes, Stack size 8 bytes, lcd.o(i.LCD_Write_HalfWord)) +
LCD_Write_HalfWord (Thumb, 36 bytes, Stack size 8 bytes, lcd.o(i.LCD_Write_HalfWord))
[Stack]
MX_ADC1_Init (Thumb, 132 bytes, Stack size 48 bytes, adc.o(i.MX_ADC1_Init)) +
MX_ADC1_Init (Thumb, 132 bytes, Stack size 48 bytes, adc.o(i.MX_ADC1_Init))
[Stack]
MX_GPIO_Init (Thumb, 206 bytes, Stack size 48 bytes, gpio.o(i.MX_GPIO_Init)) +
MX_GPIO_Init (Thumb, 206 bytes, Stack size 48 bytes, gpio.o(i.MX_GPIO_Init))
[Stack]
MX_SPI3_Init (Thumb, 70 bytes, Stack size 8 bytes, spi.o(i.MX_SPI3_Init)) +
MX_SPI3_Init (Thumb, 70 bytes, Stack size 8 bytes, spi.o(i.MX_SPI3_Init))
[Stack]
MX_TIM15_Init (Thumb, 198 bytes, Stack size 112 bytes, tim.o(i.MX_TIM15_Init)) +
MX_TIM15_Init (Thumb, 198 bytes, Stack size 112 bytes, tim.o(i.MX_TIM15_Init))
[Stack]
MX_TIM1_Init (Thumb, 168 bytes, Stack size 96 bytes, tim.o(i.MX_TIM1_Init)) +
MX_TIM1_Init (Thumb, 168 bytes, Stack size 96 bytes, tim.o(i.MX_TIM1_Init))
[Stack]
MX_USART1_UART_Init (Thumb, 52 bytes, Stack size 8 bytes, usart.o(i.MX_USART1_UART_Init)) +
MX_TIM7_Init (Thumb, 60 bytes, Stack size 24 bytes, tim.o(i.MX_TIM7_Init))
+
[Stack]
MX_USART1_UART_Init (Thumb, 52 bytes, Stack size 8 bytes, usart.o(i.MX_USART1_UART_Init))
[Stack]
NewCCRValue (Thumb, 30 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.NewCCRValue)) +
NewCCRValue (Thumb, 30 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.NewCCRValue))
[Called By]
SET3CCR (Thumb, 30 bytes, Stack size 4 bytes, stm32l4xx_it.o(i.SET3CCR))
[Stack]
SPI3_Init (Thumb, 66 bytes, Stack size 8 bytes, spi3.o(i.SPI3_Init)) +
SPI3_Init (Thumb, 66 bytes, Stack size 8 bytes, spi3.o(i.SPI3_Init))
[Stack]
SPI3_WriteByte (Thumb, 14 bytes, Stack size 0 bytes, spi3.o(i.SPI3_WriteByte)) +
SPI3_WriteByte (Thumb, 14 bytes, Stack size 0 bytes, spi3.o(i.SPI3_WriteByte))
[Stack]
SVC_Handler (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.SVC_Handler))
[Address Reference Count : 1]
Servo_SetAngle (Thumb, 28 bytes, Stack size 0 bytes, servo.o(i.Servo_SetAngle))
-
[Called By]
Servo_SetAngle (Thumb, 28 bytes, Stack size 0 bytes, servo.o(i.Servo_SetAngle))
+
[Called By]
SysTick_Handler (Thumb, 4 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.SysTick_Handler))
-
[Calls]
SystemClock_Config (Thumb, 110 bytes, Stack size 96 bytes, main.o(i.SystemClock_Config)) +
SystemClock_Config (Thumb, 110 bytes, Stack size 96 bytes, main.o(i.SystemClock_Config))
[Stack]
SystemInit (Thumb, 12 bytes, Stack size 0 bytes, system_stm32l4xx.o(i.SystemInit))
[Address Reference Count : 1]
TIM7_IRQHandler (Thumb, 6 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.TIM7_IRQHandler))
+
[Stack]
TIM_Base_SetConfig (Thumb, 174 bytes, Stack size 32 bytes, stm32l4xx_hal_tim.o(i.TIM_Base_SetConfig))
[Stack]
TIM_CCxChannelCmd (Thumb, 26 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_CCxChannelCmd)) +
TIM_CCxChannelCmd (Thumb, 26 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_CCxChannelCmd))
[Stack]
TIM_ETR_SetConfig (Thumb, 20 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_ETR_SetConfig)) +
TIM_ETR_SetConfig (Thumb, 20 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_ETR_SetConfig))
[Stack]
TIM_OC2_SetConfig (Thumb, 120 bytes, Stack size 20 bytes, stm32l4xx_hal_tim.o(i.TIM_OC2_SetConfig)) +
TIM_OC2_SetConfig (Thumb, 120 bytes, Stack size 20 bytes, stm32l4xx_hal_tim.o(i.TIM_OC2_SetConfig))
[Stack]
UART_AdvFeatureConfig (Thumb, 200 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.UART_AdvFeatureConfig))
-
[Called By]
UART_AdvFeatureConfig (Thumb, 200 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.UART_AdvFeatureConfig))
+
[Called By]
UART_CheckIdleState (Thumb, 168 bytes, Stack size 32 bytes, stm32l4xx_hal_uart.o(i.UART_CheckIdleState)) +
UART_CheckIdleState (Thumb, 168 bytes, Stack size 32 bytes, stm32l4xx_hal_uart.o(i.UART_CheckIdleState))
[Stack]
UART_SetConfig (Thumb, 542 bytes, Stack size 24 bytes, stm32l4xx_hal_uart.o(i.UART_SetConfig)) +
UART_SetConfig (Thumb, 542 bytes, Stack size 24 bytes, stm32l4xx_hal_uart.o(i.UART_SetConfig))
[Stack]
UART_Start_Receive_IT (Thumb, 174 bytes, Stack size 12 bytes, stm32l4xx_hal_uart.o(i.UART_Start_Receive_IT)) +
UART_Start_Receive_IT (Thumb, 174 bytes, Stack size 12 bytes, stm32l4xx_hal_uart.o(i.UART_Start_Receive_IT))
[Stack]
UART_WaitOnFlagUntilTimeout (Thumb, 148 bytes, Stack size 32 bytes, stm32l4xx_hal_uart.o(i.UART_WaitOnFlagUntilTimeout)) +
UART_WaitOnFlagUntilTimeout (Thumb, 148 bytes, Stack size 32 bytes, stm32l4xx_hal_uart.o(i.UART_WaitOnFlagUntilTimeout))
[Stack]
USART1_IRQHandler (Thumb, 6 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.USART1_IRQHandler))
[Stack]
__0printf$bare (Thumb, 8 bytes, Stack size 0 bytes, printfb.o(i.__0printf$bare), UNUSED)
-
[Calls]
__0printf$bare (Thumb, 8 bytes, Stack size 0 bytes, printfb.o(i.__0printf$bare), UNUSED)
+
[Calls]
__1printf$bare (Thumb, 0 bytes, Stack size 0 bytes, printfb.o(i.__0printf$bare), UNUSED) +
__1printf$bare (Thumb, 0 bytes, Stack size 0 bytes, printfb.o(i.__0printf$bare), UNUSED) -
__2printf (Thumb, 0 bytes, Stack size 0 bytes, printfb.o(i.__0printf$bare)) +
__2printf (Thumb, 0 bytes, Stack size 0 bytes, printfb.o(i.__0printf$bare))
[Called By]
__scatterload_copy (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED) +
__scatterload_copy (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED) -
__scatterload_null (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED) +
__scatterload_null (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED) -
__scatterload_zeroinit (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED) +
__scatterload_zeroinit (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
fputc (Thumb, 20 bytes, Stack size 16 bytes, main.o(i.fputc))
[Stack]
main (Thumb, 260 bytes, Stack size 16 bytes, main.o(i.main)) +
main (Thumb, 264 bytes, Stack size 16 bytes, main.o(i.main))
[Stack]
LCD_Gpio_Init (Thumb, 150 bytes, Stack size 40 bytes, lcd.o(i.LCD_Gpio_Init)) +
LCD_Gpio_Init (Thumb, 150 bytes, Stack size 40 bytes, lcd.o(i.LCD_Gpio_Init))
[Stack]
LCD_Pow (Thumb, 16 bytes, Stack size 0 bytes, lcd.o(i.LCD_Pow))
-
[Called By]
LCD_Pow (Thumb, 16 bytes, Stack size 0 bytes, lcd.o(i.LCD_Pow))
+
[Called By]
LCD_SPI_Send (Thumb, 64 bytes, Stack size 24 bytes, lcd.o(i.LCD_SPI_Send)) +
LCD_SPI_Send (Thumb, 64 bytes, Stack size 24 bytes, lcd.o(i.LCD_SPI_Send))
[Stack]
LCD_Write_Cmd (Thumb, 22 bytes, Stack size 8 bytes, lcd.o(i.LCD_Write_Cmd)) +
LCD_Write_Cmd (Thumb, 22 bytes, Stack size 8 bytes, lcd.o(i.LCD_Write_Cmd))
[Stack]
LCD_Write_Data (Thumb, 22 bytes, Stack size 8 bytes, lcd.o(i.LCD_Write_Data)) +
LCD_Write_Data (Thumb, 22 bytes, Stack size 8 bytes, lcd.o(i.LCD_Write_Data))
[Stack]
LL_ADC_GetOffsetChannel (Thumb, 12 bytes, Stack size 0 bytes, stm32l4xx_hal_adc.o(i.LL_ADC_GetOffsetChannel)) @@ -1380,7 +1456,7 @@ Local Symbols
RCC_SetFlashLatencyFromMSIRange (Thumb, 116 bytes, Stack size 24 bytes, stm32l4xx_hal_rcc.o(i.RCC_SetFlashLatencyFromMSIRange))
[Stack]
SPI_EndRxTxTransaction (Thumb, 72 bytes, Stack size 24 bytes, stm32l4xx_hal_spi.o(i.SPI_EndRxTxTransaction))
[Stack]
SPI_WaitFifoStateUntilTimeout (Thumb, 218 bytes, Stack size 48 bytes, stm32l4xx_hal_spi.o(i.SPI_WaitFifoStateUntilTimeout)) +
SPI_WaitFifoStateUntilTimeout (Thumb, 218 bytes, Stack size 48 bytes, stm32l4xx_hal_spi.o(i.SPI_WaitFifoStateUntilTimeout))
[Stack]
SPI_WaitFlagStateUntilTimeout (Thumb, 180 bytes, Stack size 32 bytes, stm32l4xx_hal_spi.o(i.SPI_WaitFlagStateUntilTimeout)) +
SPI_WaitFlagStateUntilTimeout (Thumb, 180 bytes, Stack size 32 bytes, stm32l4xx_hal_spi.o(i.SPI_WaitFlagStateUntilTimeout))
[Stack]
TIM_ITRx_SetConfig (Thumb, 16 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.TIM_ITRx_SetConfig))
-
[Called By]
TIM_ITRx_SetConfig (Thumb, 16 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.TIM_ITRx_SetConfig))
+
[Called By]
TIM_OC1_SetConfig (Thumb, 132 bytes, Stack size 28 bytes, stm32l4xx_hal_tim.o(i.TIM_OC1_SetConfig)) +
TIM_OC1_SetConfig (Thumb, 132 bytes, Stack size 28 bytes, stm32l4xx_hal_tim.o(i.TIM_OC1_SetConfig))
[Stack]
TIM_OC3_SetConfig (Thumb, 118 bytes, Stack size 20 bytes, stm32l4xx_hal_tim.o(i.TIM_OC3_SetConfig)) +
TIM_OC3_SetConfig (Thumb, 118 bytes, Stack size 20 bytes, stm32l4xx_hal_tim.o(i.TIM_OC3_SetConfig))
[Stack]
TIM_OC4_SetConfig (Thumb, 92 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.TIM_OC4_SetConfig)) +
TIM_OC4_SetConfig (Thumb, 92 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.TIM_OC4_SetConfig))
[Stack]
TIM_OC5_SetConfig (Thumb, 86 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.TIM_OC5_SetConfig)) +
TIM_OC5_SetConfig (Thumb, 86 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.TIM_OC5_SetConfig))
[Stack]
TIM_OC6_SetConfig (Thumb, 88 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.TIM_OC6_SetConfig)) +
TIM_OC6_SetConfig (Thumb, 88 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.TIM_OC6_SetConfig))
[Stack]
TIM_TI1_ConfigInputStage (Thumb, 34 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_TI1_ConfigInputStage)) +
TIM_TI1_ConfigInputStage (Thumb, 34 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_TI1_ConfigInputStage))
[Stack]
TIM_TI2_ConfigInputStage (Thumb, 36 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_TI2_ConfigInputStage)) +
TIM_TI2_ConfigInputStage (Thumb, 36 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_TI2_ConfigInputStage))
[Stack]
UART_DMAAbortOnError (Thumb, 20 bytes, Stack size 8 bytes, stm32l4xx_hal_uart.o(i.UART_DMAAbortOnError))
[Stack]
UART_EndRxTransfer (Thumb, 76 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.UART_EndRxTransfer))
-
[Calls]
UART_EndRxTransfer (Thumb, 76 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.UART_EndRxTransfer))
+
[Calls]
UART_RxISR_16BIT (Thumb, 196 bytes, Stack size 8 bytes, stm32l4xx_hal_uart.o(i.UART_RxISR_16BIT))
[Stack]
UART_RxISR_8BIT (Thumb, 196 bytes, Stack size 8 bytes, stm32l4xx_hal_uart.o(i.UART_RxISR_8BIT))
[Stack]
_printf_core (Thumb, 34 bytes, Stack size 24 bytes, printfb.o(i._printf_core), UNUSED)
-
[Called By]
_printf_core (Thumb, 34 bytes, Stack size 24 bytes, printfb.o(i._printf_core), UNUSED)
+
[Called By]