../Src/usart.c
- 52
- 531
- 569
+ 7
+ 498
+ 535
1
0
diff --git a/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.build_log.htm b/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.build_log.htm
index fa044ad..0826720 100644
--- a/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.build_log.htm
+++ b/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.build_log.htm
@@ -28,25 +28,25 @@ Project File Date: 04/11/2022
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'LED_M100C_WS2812'
assembling startup_stm32f103xb.s...
-compiling stm32f1xx_ll_rcc.c...
compiling stm32f1xx_ll_pwr.c...
+compiling stm32f1xx_ll_rcc.c...
compiling stm32f1xx_ll_exti.c...
-compiling stm32f1xx_ll_dma.c...
-compiling stm32f1xx_ll_gpio.c...
compiling stm32f1xx_ll_utils.c...
-compiling stm32f1xx_ll_tim.c...
+compiling stm32f1xx_ll_gpio.c...
+compiling stm32f1xx_ll_dma.c...
compiling stm32f1xx_ll_usart.c...
-compiling gpio.c...
-compiling iwdg.c...
-compiling dma.c...
+compiling stm32f1xx_ll_tim.c...
compiling sys.c...
-compiling main.c...
-compiling tim.c...
-compiling stm32f1xx_it.c...
compiling system_stm32f1xx.c...
+compiling iwdg.c...
+compiling stm32f1xx_it.c...
+compiling main.c...
+compiling gpio.c...
+compiling dma.c...
compiling usart.c...
+compiling tim.c...
linking...
-Program Size: Code=11084 RO-data=428 RW-data=224 ZI-data=1344
+Program Size: Code=11100 RO-data=428 RW-data=224 ZI-data=1344
FromELF: creating hex file...
"LED_M100C_WS2812\LED_M100C_WS2812.axf" - 0 Error(s), 0 Warning(s).
diff --git a/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.htm b/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.htm
index 86d1c0d..341bc4b 100644
--- a/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.htm
+++ b/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.htm
@@ -3,7 +3,7 @@
Static Call Graph - [LED_M100C_WS2812\LED_M100C_WS2812.axf]
Static Call Graph for image LED_M100C_WS2812\LED_M100C_WS2812.axf
-
#<CALLGRAPH># ARM Linker, 5060960: Last Updated: Wed Sep 21 16:55:40 2022
+
#<CALLGRAPH># ARM Linker, 5060960: Last Updated: Wed Sep 21 19:08:14 2022
Maximum Stack Usage = 632 bytes + Unknown(Cycles, Untraceable Function Pointers)
Call chain for Maximum Stack Depth:
@@ -656,7 +656,7 @@ Global Symbols
[Called By]- >> Radar_Filtering_clutter
-Radar_Filtering_clutter (Thumb, 294 bytes, Stack size 24 bytes, usart.o(i.Radar_Filtering_clutter))
+
Radar_Filtering_clutter (Thumb, 310 bytes, Stack size 24 bytes, usart.o(i.Radar_Filtering_clutter))
[Stack]
- Max Depth = 96
- Call Chain = Radar_Filtering_clutter ⇒ Node_Send_Data ⇒ __2printf
[Calls]- >> LL_GPIO_IsInputPinSet
diff --git a/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.map b/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.map
index 2530e04..eed594a 100644
--- a/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.map
+++ b/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.map
@@ -933,84 +933,84 @@ Image Symbol Table
i.RCC_PLL_GetFreqDomain_SYS 0x080018d0 Section 0 stm32f1xx_ll_rcc.o(i.RCC_PLL_GetFreqDomain_SYS)
i.Radar_Data_Analysis 0x08001928 Section 0 usart.o(i.Radar_Data_Analysis)
i.Radar_Filtering_clutter 0x080019e4 Section 0 usart.o(i.Radar_Filtering_clutter)
- i.Reed_Working 0x08001b2c Section 0 main.o(i.Reed_Working)
- i.SVC_Handler 0x08001bac Section 0 stm32f1xx_it.o(i.SVC_Handler)
- i.Set_PCR_Parameter 0x08001bb0 Section 0 usart.o(i.Set_PCR_Parameter)
- i.SysTick_Handler 0x08001e10 Section 0 stm32f1xx_it.o(i.SysTick_Handler)
- i.SystemClock_Config 0x08001e14 Section 0 main.o(i.SystemClock_Config)
- i.SystemInit 0x08001f5c Section 0 system_stm32f1xx.o(i.SystemInit)
- i.TIM2_DMA_Config 0x08001fb4 Section 0 tim.o(i.TIM2_DMA_Config)
- i.TIM2_IRQHandler 0x08002054 Section 0 stm32f1xx_it.o(i.TIM2_IRQHandler)
- i.TIM3_IRQHandler 0x08002058 Section 0 stm32f1xx_it.o(i.TIM3_IRQHandler)
- i.USART1_IRQHandler 0x080020a4 Section 0 stm32f1xx_it.o(i.USART1_IRQHandler)
- i.USART3_IRQHandler 0x0800213c Section 0 stm32f1xx_it.o(i.USART3_IRQHandler)
- i.UsageFault_Handler 0x0800215c Section 0 stm32f1xx_it.o(i.UsageFault_Handler)
- i.Usart_SendByte 0x08002160 Section 0 usart.o(i.Usart_SendByte)
- i.Usart_SendString 0x0800217c Section 0 usart.o(i.Usart_SendString)
- i.WS2812_Data_Transfer 0x080021a4 Section 0 tim.o(i.WS2812_Data_Transfer)
- i.WS2812_Light_All 0x08002208 Section 0 tim.o(i.WS2812_Light_All)
- i.WS2812_Light_Custom 0x080022a8 Section 0 tim.o(i.WS2812_Light_Custom)
- i.WS2812_Light_One_By_One 0x080022f8 Section 0 tim.o(i.WS2812_Light_One_By_One)
- i.__0printf$8 0x08002338 Section 0 printf8.o(i.__0printf$8)
- i.__0sprintf$8 0x08002358 Section 0 printf8.o(i.__0sprintf$8)
- i.__NVIC_EnableIRQ 0x08002380 Section 0 dma.o(i.__NVIC_EnableIRQ)
- __NVIC_EnableIRQ 0x08002381 Thumb Code 26 dma.o(i.__NVIC_EnableIRQ)
- i.__NVIC_EnableIRQ 0x0800239a Section 0 tim.o(i.__NVIC_EnableIRQ)
- __NVIC_EnableIRQ 0x0800239b Thumb Code 26 tim.o(i.__NVIC_EnableIRQ)
- i.__NVIC_EnableIRQ 0x080023b4 Section 0 usart.o(i.__NVIC_EnableIRQ)
- __NVIC_EnableIRQ 0x080023b5 Thumb Code 26 usart.o(i.__NVIC_EnableIRQ)
- i.__NVIC_GetPriorityGrouping 0x080023d0 Section 0 dma.o(i.__NVIC_GetPriorityGrouping)
- __NVIC_GetPriorityGrouping 0x080023d1 Thumb Code 10 dma.o(i.__NVIC_GetPriorityGrouping)
- i.__NVIC_GetPriorityGrouping 0x080023e0 Section 0 tim.o(i.__NVIC_GetPriorityGrouping)
- __NVIC_GetPriorityGrouping 0x080023e1 Thumb Code 10 tim.o(i.__NVIC_GetPriorityGrouping)
- i.__NVIC_GetPriorityGrouping 0x080023f0 Section 0 usart.o(i.__NVIC_GetPriorityGrouping)
- __NVIC_GetPriorityGrouping 0x080023f1 Thumb Code 10 usart.o(i.__NVIC_GetPriorityGrouping)
- i.__NVIC_SetPriority 0x08002400 Section 0 dma.o(i.__NVIC_SetPriority)
- __NVIC_SetPriority 0x08002401 Thumb Code 32 dma.o(i.__NVIC_SetPriority)
- i.__NVIC_SetPriority 0x08002428 Section 0 tim.o(i.__NVIC_SetPriority)
- __NVIC_SetPriority 0x08002429 Thumb Code 32 tim.o(i.__NVIC_SetPriority)
- i.__NVIC_SetPriority 0x08002450 Section 0 usart.o(i.__NVIC_SetPriority)
- __NVIC_SetPriority 0x08002451 Thumb Code 32 usart.o(i.__NVIC_SetPriority)
- i.__scatterload_copy 0x08002478 Section 14 handlers.o(i.__scatterload_copy)
- i.__scatterload_null 0x08002486 Section 2 handlers.o(i.__scatterload_null)
- i.__scatterload_zeroinit 0x08002488 Section 14 handlers.o(i.__scatterload_zeroinit)
- i._printf_core 0x08002498 Section 0 printf8.o(i._printf_core)
- _printf_core 0x08002499 Thumb Code 984 printf8.o(i._printf_core)
- i._printf_post_padding 0x0800289c Section 0 printf8.o(i._printf_post_padding)
- _printf_post_padding 0x0800289d Thumb Code 36 printf8.o(i._printf_post_padding)
- i._printf_pre_padding 0x080028c0 Section 0 printf8.o(i._printf_pre_padding)
- _printf_pre_padding 0x080028c1 Thumb Code 46 printf8.o(i._printf_pre_padding)
- i._sputc 0x080028ee Section 0 printf8.o(i._sputc)
- _sputc 0x080028ef Thumb Code 10 printf8.o(i._sputc)
- i.fputc 0x080028f8 Section 0 usart.o(i.fputc)
- i.hex2int 0x0800291c Section 0 usart.o(i.hex2int)
- hex2int 0x0800291d Thumb Code 48 usart.o(i.hex2int)
- i.hex2str 0x0800294c Section 0 usart.o(i.hex2str)
- i.main 0x0800299c Section 0 main.o(i.main)
- .constdata 0x08002c38 Section 42 tim.o(.constdata)
- CHANNEL_OFFSET_TAB 0x08002c38 Data 7 tim.o(.constdata)
- OFFSET_TAB_CCMRx 0x08002c3f Data 7 tim.o(.constdata)
- SHIFT_TAB_OCxx 0x08002c46 Data 7 tim.o(.constdata)
- SHIFT_TAB_ICxx 0x08002c4d Data 7 tim.o(.constdata)
- SHIFT_TAB_CCxP 0x08002c54 Data 7 tim.o(.constdata)
- SHIFT_TAB_OISx 0x08002c5b Data 7 tim.o(.constdata)
- .constdata 0x08002c62 Section 42 usart.o(.constdata)
- CHANNEL_OFFSET_TAB 0x08002c62 Data 7 usart.o(.constdata)
- OFFSET_TAB_CCMRx 0x08002c69 Data 7 usart.o(.constdata)
- SHIFT_TAB_OCxx 0x08002c70 Data 7 usart.o(.constdata)
- SHIFT_TAB_ICxx 0x08002c77 Data 7 usart.o(.constdata)
- SHIFT_TAB_CCxP 0x08002c7e Data 7 usart.o(.constdata)
- SHIFT_TAB_OISx 0x08002c85 Data 7 usart.o(.constdata)
- .constdata 0x08002c8c Section 42 stm32f1xx_it.o(.constdata)
- CHANNEL_OFFSET_TAB 0x08002c8c Data 7 stm32f1xx_it.o(.constdata)
- OFFSET_TAB_CCMRx 0x08002c93 Data 7 stm32f1xx_it.o(.constdata)
- SHIFT_TAB_OCxx 0x08002c9a Data 7 stm32f1xx_it.o(.constdata)
- SHIFT_TAB_ICxx 0x08002ca1 Data 7 stm32f1xx_it.o(.constdata)
- SHIFT_TAB_CCxP 0x08002ca8 Data 7 stm32f1xx_it.o(.constdata)
- SHIFT_TAB_OISx 0x08002caf Data 7 stm32f1xx_it.o(.constdata)
- .constdata 0x08002cb6 Section 7 stm32f1xx_ll_dma.o(.constdata)
- CHANNEL_OFFSET_TAB 0x08002cb6 Data 7 stm32f1xx_ll_dma.o(.constdata)
- .constdata 0x08002cbd Section 24 system_stm32f1xx.o(.constdata)
+ i.Reed_Working 0x08001b3c Section 0 main.o(i.Reed_Working)
+ i.SVC_Handler 0x08001bbc Section 0 stm32f1xx_it.o(i.SVC_Handler)
+ i.Set_PCR_Parameter 0x08001bc0 Section 0 usart.o(i.Set_PCR_Parameter)
+ i.SysTick_Handler 0x08001e20 Section 0 stm32f1xx_it.o(i.SysTick_Handler)
+ i.SystemClock_Config 0x08001e24 Section 0 main.o(i.SystemClock_Config)
+ i.SystemInit 0x08001f6c Section 0 system_stm32f1xx.o(i.SystemInit)
+ i.TIM2_DMA_Config 0x08001fc4 Section 0 tim.o(i.TIM2_DMA_Config)
+ i.TIM2_IRQHandler 0x08002064 Section 0 stm32f1xx_it.o(i.TIM2_IRQHandler)
+ i.TIM3_IRQHandler 0x08002068 Section 0 stm32f1xx_it.o(i.TIM3_IRQHandler)
+ i.USART1_IRQHandler 0x080020b4 Section 0 stm32f1xx_it.o(i.USART1_IRQHandler)
+ i.USART3_IRQHandler 0x0800214c Section 0 stm32f1xx_it.o(i.USART3_IRQHandler)
+ i.UsageFault_Handler 0x0800216c Section 0 stm32f1xx_it.o(i.UsageFault_Handler)
+ i.Usart_SendByte 0x08002170 Section 0 usart.o(i.Usart_SendByte)
+ i.Usart_SendString 0x0800218c Section 0 usart.o(i.Usart_SendString)
+ i.WS2812_Data_Transfer 0x080021b4 Section 0 tim.o(i.WS2812_Data_Transfer)
+ i.WS2812_Light_All 0x08002218 Section 0 tim.o(i.WS2812_Light_All)
+ i.WS2812_Light_Custom 0x080022b8 Section 0 tim.o(i.WS2812_Light_Custom)
+ i.WS2812_Light_One_By_One 0x08002308 Section 0 tim.o(i.WS2812_Light_One_By_One)
+ i.__0printf$8 0x08002348 Section 0 printf8.o(i.__0printf$8)
+ i.__0sprintf$8 0x08002368 Section 0 printf8.o(i.__0sprintf$8)
+ i.__NVIC_EnableIRQ 0x08002390 Section 0 dma.o(i.__NVIC_EnableIRQ)
+ __NVIC_EnableIRQ 0x08002391 Thumb Code 26 dma.o(i.__NVIC_EnableIRQ)
+ i.__NVIC_EnableIRQ 0x080023aa Section 0 tim.o(i.__NVIC_EnableIRQ)
+ __NVIC_EnableIRQ 0x080023ab Thumb Code 26 tim.o(i.__NVIC_EnableIRQ)
+ i.__NVIC_EnableIRQ 0x080023c4 Section 0 usart.o(i.__NVIC_EnableIRQ)
+ __NVIC_EnableIRQ 0x080023c5 Thumb Code 26 usart.o(i.__NVIC_EnableIRQ)
+ i.__NVIC_GetPriorityGrouping 0x080023e0 Section 0 dma.o(i.__NVIC_GetPriorityGrouping)
+ __NVIC_GetPriorityGrouping 0x080023e1 Thumb Code 10 dma.o(i.__NVIC_GetPriorityGrouping)
+ i.__NVIC_GetPriorityGrouping 0x080023f0 Section 0 tim.o(i.__NVIC_GetPriorityGrouping)
+ __NVIC_GetPriorityGrouping 0x080023f1 Thumb Code 10 tim.o(i.__NVIC_GetPriorityGrouping)
+ i.__NVIC_GetPriorityGrouping 0x08002400 Section 0 usart.o(i.__NVIC_GetPriorityGrouping)
+ __NVIC_GetPriorityGrouping 0x08002401 Thumb Code 10 usart.o(i.__NVIC_GetPriorityGrouping)
+ i.__NVIC_SetPriority 0x08002410 Section 0 dma.o(i.__NVIC_SetPriority)
+ __NVIC_SetPriority 0x08002411 Thumb Code 32 dma.o(i.__NVIC_SetPriority)
+ i.__NVIC_SetPriority 0x08002438 Section 0 tim.o(i.__NVIC_SetPriority)
+ __NVIC_SetPriority 0x08002439 Thumb Code 32 tim.o(i.__NVIC_SetPriority)
+ i.__NVIC_SetPriority 0x08002460 Section 0 usart.o(i.__NVIC_SetPriority)
+ __NVIC_SetPriority 0x08002461 Thumb Code 32 usart.o(i.__NVIC_SetPriority)
+ i.__scatterload_copy 0x08002488 Section 14 handlers.o(i.__scatterload_copy)
+ i.__scatterload_null 0x08002496 Section 2 handlers.o(i.__scatterload_null)
+ i.__scatterload_zeroinit 0x08002498 Section 14 handlers.o(i.__scatterload_zeroinit)
+ i._printf_core 0x080024a8 Section 0 printf8.o(i._printf_core)
+ _printf_core 0x080024a9 Thumb Code 984 printf8.o(i._printf_core)
+ i._printf_post_padding 0x080028ac Section 0 printf8.o(i._printf_post_padding)
+ _printf_post_padding 0x080028ad Thumb Code 36 printf8.o(i._printf_post_padding)
+ i._printf_pre_padding 0x080028d0 Section 0 printf8.o(i._printf_pre_padding)
+ _printf_pre_padding 0x080028d1 Thumb Code 46 printf8.o(i._printf_pre_padding)
+ i._sputc 0x080028fe Section 0 printf8.o(i._sputc)
+ _sputc 0x080028ff Thumb Code 10 printf8.o(i._sputc)
+ i.fputc 0x08002908 Section 0 usart.o(i.fputc)
+ i.hex2int 0x0800292c Section 0 usart.o(i.hex2int)
+ hex2int 0x0800292d Thumb Code 48 usart.o(i.hex2int)
+ i.hex2str 0x0800295c Section 0 usart.o(i.hex2str)
+ i.main 0x080029ac Section 0 main.o(i.main)
+ .constdata 0x08002c48 Section 42 tim.o(.constdata)
+ CHANNEL_OFFSET_TAB 0x08002c48 Data 7 tim.o(.constdata)
+ OFFSET_TAB_CCMRx 0x08002c4f Data 7 tim.o(.constdata)
+ SHIFT_TAB_OCxx 0x08002c56 Data 7 tim.o(.constdata)
+ SHIFT_TAB_ICxx 0x08002c5d Data 7 tim.o(.constdata)
+ SHIFT_TAB_CCxP 0x08002c64 Data 7 tim.o(.constdata)
+ SHIFT_TAB_OISx 0x08002c6b Data 7 tim.o(.constdata)
+ .constdata 0x08002c72 Section 42 usart.o(.constdata)
+ CHANNEL_OFFSET_TAB 0x08002c72 Data 7 usart.o(.constdata)
+ OFFSET_TAB_CCMRx 0x08002c79 Data 7 usart.o(.constdata)
+ SHIFT_TAB_OCxx 0x08002c80 Data 7 usart.o(.constdata)
+ SHIFT_TAB_ICxx 0x08002c87 Data 7 usart.o(.constdata)
+ SHIFT_TAB_CCxP 0x08002c8e Data 7 usart.o(.constdata)
+ SHIFT_TAB_OISx 0x08002c95 Data 7 usart.o(.constdata)
+ .constdata 0x08002c9c Section 42 stm32f1xx_it.o(.constdata)
+ CHANNEL_OFFSET_TAB 0x08002c9c Data 7 stm32f1xx_it.o(.constdata)
+ OFFSET_TAB_CCMRx 0x08002ca3 Data 7 stm32f1xx_it.o(.constdata)
+ SHIFT_TAB_OCxx 0x08002caa Data 7 stm32f1xx_it.o(.constdata)
+ SHIFT_TAB_ICxx 0x08002cb1 Data 7 stm32f1xx_it.o(.constdata)
+ SHIFT_TAB_CCxP 0x08002cb8 Data 7 stm32f1xx_it.o(.constdata)
+ SHIFT_TAB_OISx 0x08002cbf Data 7 stm32f1xx_it.o(.constdata)
+ .constdata 0x08002cc6 Section 7 stm32f1xx_ll_dma.o(.constdata)
+ CHANNEL_OFFSET_TAB 0x08002cc6 Data 7 stm32f1xx_ll_dma.o(.constdata)
+ .constdata 0x08002ccd Section 24 system_stm32f1xx.o(.constdata)
.data 0x20000000 Section 11 main.o(.data)
.data 0x2000000b Section 193 tim.o(.data)
.data 0x200000cc Section 10 usart.o(.data)
@@ -1185,41 +1185,41 @@ Image Symbol Table
RCC_GetSystemClockFreq 0x08001895 Thumb Code 52 stm32f1xx_ll_rcc.o(i.RCC_GetSystemClockFreq)
RCC_PLL_GetFreqDomain_SYS 0x080018d1 Thumb Code 76 stm32f1xx_ll_rcc.o(i.RCC_PLL_GetFreqDomain_SYS)
Radar_Data_Analysis 0x08001929 Thumb Code 142 usart.o(i.Radar_Data_Analysis)
- Radar_Filtering_clutter 0x080019e5 Thumb Code 294 usart.o(i.Radar_Filtering_clutter)
- Reed_Working 0x08001b2d Thumb Code 116 main.o(i.Reed_Working)
- SVC_Handler 0x08001bad Thumb Code 2 stm32f1xx_it.o(i.SVC_Handler)
- Set_PCR_Parameter 0x08001bb1 Thumb Code 458 usart.o(i.Set_PCR_Parameter)
- SysTick_Handler 0x08001e11 Thumb Code 2 stm32f1xx_it.o(i.SysTick_Handler)
- SystemClock_Config 0x08001e15 Thumb Code 314 main.o(i.SystemClock_Config)
- SystemInit 0x08001f5d Thumb Code 70 system_stm32f1xx.o(i.SystemInit)
- TIM2_DMA_Config 0x08001fb5 Thumb Code 142 tim.o(i.TIM2_DMA_Config)
- TIM2_IRQHandler 0x08002055 Thumb Code 2 stm32f1xx_it.o(i.TIM2_IRQHandler)
- TIM3_IRQHandler 0x08002059 Thumb Code 60 stm32f1xx_it.o(i.TIM3_IRQHandler)
- USART1_IRQHandler 0x080020a5 Thumb Code 132 stm32f1xx_it.o(i.USART1_IRQHandler)
- USART3_IRQHandler 0x0800213d Thumb Code 24 stm32f1xx_it.o(i.USART3_IRQHandler)
- UsageFault_Handler 0x0800215d Thumb Code 4 stm32f1xx_it.o(i.UsageFault_Handler)
- Usart_SendByte 0x08002161 Thumb Code 28 usart.o(i.Usart_SendByte)
- Usart_SendString 0x0800217d Thumb Code 40 usart.o(i.Usart_SendString)
- WS2812_Data_Transfer 0x080021a5 Thumb Code 94 tim.o(i.WS2812_Data_Transfer)
- WS2812_Light_All 0x08002209 Thumb Code 160 tim.o(i.WS2812_Light_All)
- WS2812_Light_Custom 0x080022a9 Thumb Code 74 tim.o(i.WS2812_Light_Custom)
- WS2812_Light_One_By_One 0x080022f9 Thumb Code 58 tim.o(i.WS2812_Light_One_By_One)
- __0printf$8 0x08002339 Thumb Code 22 printf8.o(i.__0printf$8)
- __1printf$8 0x08002339 Thumb Code 0 printf8.o(i.__0printf$8)
- __2printf 0x08002339 Thumb Code 0 printf8.o(i.__0printf$8)
- __0sprintf$8 0x08002359 Thumb Code 34 printf8.o(i.__0sprintf$8)
- __1sprintf$8 0x08002359 Thumb Code 0 printf8.o(i.__0sprintf$8)
- __2sprintf 0x08002359 Thumb Code 0 printf8.o(i.__0sprintf$8)
- __scatterload_copy 0x08002479 Thumb Code 14 handlers.o(i.__scatterload_copy)
- __scatterload_null 0x08002487 Thumb Code 2 handlers.o(i.__scatterload_null)
- __scatterload_zeroinit 0x08002489 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
- fputc 0x080028f9 Thumb Code 30 usart.o(i.fputc)
- hex2str 0x0800294d Thumb Code 78 usart.o(i.hex2str)
- main 0x0800299d Thumb Code 608 main.o(i.main)
- AHBPrescTable 0x08002cbd Data 16 system_stm32f1xx.o(.constdata)
- APBPrescTable 0x08002ccd Data 8 system_stm32f1xx.o(.constdata)
- Region$$Table$$Base 0x08002cd8 Number 0 anon$$obj.o(Region$$Table)
- Region$$Table$$Limit 0x08002cf8 Number 0 anon$$obj.o(Region$$Table)
+ Radar_Filtering_clutter 0x080019e5 Thumb Code 310 usart.o(i.Radar_Filtering_clutter)
+ Reed_Working 0x08001b3d Thumb Code 116 main.o(i.Reed_Working)
+ SVC_Handler 0x08001bbd Thumb Code 2 stm32f1xx_it.o(i.SVC_Handler)
+ Set_PCR_Parameter 0x08001bc1 Thumb Code 458 usart.o(i.Set_PCR_Parameter)
+ SysTick_Handler 0x08001e21 Thumb Code 2 stm32f1xx_it.o(i.SysTick_Handler)
+ SystemClock_Config 0x08001e25 Thumb Code 314 main.o(i.SystemClock_Config)
+ SystemInit 0x08001f6d Thumb Code 70 system_stm32f1xx.o(i.SystemInit)
+ TIM2_DMA_Config 0x08001fc5 Thumb Code 142 tim.o(i.TIM2_DMA_Config)
+ TIM2_IRQHandler 0x08002065 Thumb Code 2 stm32f1xx_it.o(i.TIM2_IRQHandler)
+ TIM3_IRQHandler 0x08002069 Thumb Code 60 stm32f1xx_it.o(i.TIM3_IRQHandler)
+ USART1_IRQHandler 0x080020b5 Thumb Code 132 stm32f1xx_it.o(i.USART1_IRQHandler)
+ USART3_IRQHandler 0x0800214d Thumb Code 24 stm32f1xx_it.o(i.USART3_IRQHandler)
+ UsageFault_Handler 0x0800216d Thumb Code 4 stm32f1xx_it.o(i.UsageFault_Handler)
+ Usart_SendByte 0x08002171 Thumb Code 28 usart.o(i.Usart_SendByte)
+ Usart_SendString 0x0800218d Thumb Code 40 usart.o(i.Usart_SendString)
+ WS2812_Data_Transfer 0x080021b5 Thumb Code 94 tim.o(i.WS2812_Data_Transfer)
+ WS2812_Light_All 0x08002219 Thumb Code 160 tim.o(i.WS2812_Light_All)
+ WS2812_Light_Custom 0x080022b9 Thumb Code 74 tim.o(i.WS2812_Light_Custom)
+ WS2812_Light_One_By_One 0x08002309 Thumb Code 58 tim.o(i.WS2812_Light_One_By_One)
+ __0printf$8 0x08002349 Thumb Code 22 printf8.o(i.__0printf$8)
+ __1printf$8 0x08002349 Thumb Code 0 printf8.o(i.__0printf$8)
+ __2printf 0x08002349 Thumb Code 0 printf8.o(i.__0printf$8)
+ __0sprintf$8 0x08002369 Thumb Code 34 printf8.o(i.__0sprintf$8)
+ __1sprintf$8 0x08002369 Thumb Code 0 printf8.o(i.__0sprintf$8)
+ __2sprintf 0x08002369 Thumb Code 0 printf8.o(i.__0sprintf$8)
+ __scatterload_copy 0x08002489 Thumb Code 14 handlers.o(i.__scatterload_copy)
+ __scatterload_null 0x08002497 Thumb Code 2 handlers.o(i.__scatterload_null)
+ __scatterload_zeroinit 0x08002499 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
+ fputc 0x08002909 Thumb Code 30 usart.o(i.fputc)
+ hex2str 0x0800295d Thumb Code 78 usart.o(i.hex2str)
+ main 0x080029ad Thumb Code 608 main.o(i.main)
+ AHBPrescTable 0x08002ccd Data 16 system_stm32f1xx.o(.constdata)
+ APBPrescTable 0x08002cdd Data 8 system_stm32f1xx.o(.constdata)
+ Region$$Table$$Base 0x08002ce8 Number 0 anon$$obj.o(Region$$Table)
+ Region$$Table$$Limit 0x08002d08 Number 0 anon$$obj.o(Region$$Table)
Work_Mode 0x20000000 Data 1 main.o(.data)
Joined_Mode 0x20000001 Data 1 main.o(.data)
puColor 0x20000002 Data 1 main.o(.data)
@@ -1249,9 +1249,9 @@ Memory Map of the image
Image Entry point : 0x080000ed
- Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00002dd8, Max: 0x00010000, ABSOLUTE)
+ Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00002de8, Max: 0x00010000, ABSOLUTE)
- Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00002cf8, Max: 0x00010000, ABSOLUTE)
+ Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00002d08, Max: 0x00010000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
@@ -1371,75 +1371,75 @@ Memory Map of the image
0x08001894 0x08001894 0x0000003c Code RO 1002 i.RCC_GetSystemClockFreq stm32f1xx_ll_rcc.o
0x080018d0 0x080018d0 0x00000058 Code RO 1003 i.RCC_PLL_GetFreqDomain_SYS stm32f1xx_ll_rcc.o
0x08001928 0x08001928 0x000000bc Code RO 467 i.Radar_Data_Analysis usart.o
- 0x080019e4 0x080019e4 0x00000148 Code RO 468 i.Radar_Filtering_clutter usart.o
- 0x08001b2c 0x08001b2c 0x00000080 Code RO 17 i.Reed_Working main.o
- 0x08001bac 0x08001bac 0x00000002 Code RO 732 i.SVC_Handler stm32f1xx_it.o
- 0x08001bae 0x08001bae 0x00000002 PAD
- 0x08001bb0 0x08001bb0 0x00000260 Code RO 469 i.Set_PCR_Parameter usart.o
- 0x08001e10 0x08001e10 0x00000002 Code RO 733 i.SysTick_Handler stm32f1xx_it.o
- 0x08001e12 0x08001e12 0x00000002 PAD
- 0x08001e14 0x08001e14 0x00000148 Code RO 18 i.SystemClock_Config main.o
- 0x08001f5c 0x08001f5c 0x00000058 Code RO 1495 i.SystemInit system_stm32f1xx.o
- 0x08001fb4 0x08001fb4 0x000000a0 Code RO 322 i.TIM2_DMA_Config tim.o
- 0x08002054 0x08002054 0x00000002 Code RO 734 i.TIM2_IRQHandler stm32f1xx_it.o
- 0x08002056 0x08002056 0x00000002 PAD
- 0x08002058 0x08002058 0x0000004c Code RO 735 i.TIM3_IRQHandler stm32f1xx_it.o
- 0x080020a4 0x080020a4 0x00000098 Code RO 736 i.USART1_IRQHandler stm32f1xx_it.o
- 0x0800213c 0x0800213c 0x00000020 Code RO 737 i.USART3_IRQHandler stm32f1xx_it.o
- 0x0800215c 0x0800215c 0x00000004 Code RO 738 i.UsageFault_Handler stm32f1xx_it.o
- 0x08002160 0x08002160 0x0000001c Code RO 471 i.Usart_SendByte usart.o
- 0x0800217c 0x0800217c 0x00000028 Code RO 472 i.Usart_SendString usart.o
- 0x080021a4 0x080021a4 0x00000064 Code RO 323 i.WS2812_Data_Transfer tim.o
- 0x08002208 0x08002208 0x000000a0 Code RO 324 i.WS2812_Light_All tim.o
- 0x080022a8 0x080022a8 0x00000050 Code RO 325 i.WS2812_Light_Custom tim.o
- 0x080022f8 0x080022f8 0x00000040 Code RO 326 i.WS2812_Light_One_By_One tim.o
- 0x08002338 0x08002338 0x00000020 Code RO 1746 i.__0printf$8 mc_w.l(printf8.o)
- 0x08002358 0x08002358 0x00000028 Code RO 1748 i.__0sprintf$8 mc_w.l(printf8.o)
- 0x08002380 0x08002380 0x0000001a Code RO 223 i.__NVIC_EnableIRQ dma.o
- 0x0800239a 0x0800239a 0x0000001a Code RO 327 i.__NVIC_EnableIRQ tim.o
- 0x080023b4 0x080023b4 0x0000001a Code RO 473 i.__NVIC_EnableIRQ usart.o
- 0x080023ce 0x080023ce 0x00000002 PAD
- 0x080023d0 0x080023d0 0x00000010 Code RO 224 i.__NVIC_GetPriorityGrouping dma.o
- 0x080023e0 0x080023e0 0x00000010 Code RO 328 i.__NVIC_GetPriorityGrouping tim.o
- 0x080023f0 0x080023f0 0x00000010 Code RO 474 i.__NVIC_GetPriorityGrouping usart.o
- 0x08002400 0x08002400 0x00000028 Code RO 225 i.__NVIC_SetPriority dma.o
- 0x08002428 0x08002428 0x00000028 Code RO 329 i.__NVIC_SetPriority tim.o
- 0x08002450 0x08002450 0x00000028 Code RO 475 i.__NVIC_SetPriority usart.o
- 0x08002478 0x08002478 0x0000000e Code RO 1844 i.__scatterload_copy mc_w.l(handlers.o)
- 0x08002486 0x08002486 0x00000002 Code RO 1845 i.__scatterload_null mc_w.l(handlers.o)
- 0x08002488 0x08002488 0x0000000e Code RO 1846 i.__scatterload_zeroinit mc_w.l(handlers.o)
- 0x08002496 0x08002496 0x00000002 PAD
- 0x08002498 0x08002498 0x00000404 Code RO 1753 i._printf_core mc_w.l(printf8.o)
- 0x0800289c 0x0800289c 0x00000024 Code RO 1754 i._printf_post_padding mc_w.l(printf8.o)
- 0x080028c0 0x080028c0 0x0000002e Code RO 1755 i._printf_pre_padding mc_w.l(printf8.o)
- 0x080028ee 0x080028ee 0x0000000a Code RO 1757 i._sputc mc_w.l(printf8.o)
- 0x080028f8 0x080028f8 0x00000024 Code RO 476 i.fputc usart.o
- 0x0800291c 0x0800291c 0x00000030 Code RO 477 i.hex2int usart.o
- 0x0800294c 0x0800294c 0x0000004e Code RO 478 i.hex2str usart.o
- 0x0800299a 0x0800299a 0x00000002 PAD
- 0x0800299c 0x0800299c 0x0000029c Code RO 19 i.main main.o
- 0x08002c38 0x08002c38 0x0000002a Data RO 331 .constdata tim.o
- 0x08002c62 0x08002c62 0x0000002a Data RO 480 .constdata usart.o
- 0x08002c8c 0x08002c8c 0x0000002a Data RO 739 .constdata stm32f1xx_it.o
- 0x08002cb6 0x08002cb6 0x00000007 Data RO 956 .constdata stm32f1xx_ll_dma.o
- 0x08002cbd 0x08002cbd 0x00000018 Data RO 1496 .constdata system_stm32f1xx.o
- 0x08002cd5 0x08002cd5 0x00000003 PAD
- 0x08002cd8 0x08002cd8 0x00000020 Data RO 1842 Region$$Table anon$$obj.o
+ 0x080019e4 0x080019e4 0x00000158 Code RO 468 i.Radar_Filtering_clutter usart.o
+ 0x08001b3c 0x08001b3c 0x00000080 Code RO 17 i.Reed_Working main.o
+ 0x08001bbc 0x08001bbc 0x00000002 Code RO 732 i.SVC_Handler stm32f1xx_it.o
+ 0x08001bbe 0x08001bbe 0x00000002 PAD
+ 0x08001bc0 0x08001bc0 0x00000260 Code RO 469 i.Set_PCR_Parameter usart.o
+ 0x08001e20 0x08001e20 0x00000002 Code RO 733 i.SysTick_Handler stm32f1xx_it.o
+ 0x08001e22 0x08001e22 0x00000002 PAD
+ 0x08001e24 0x08001e24 0x00000148 Code RO 18 i.SystemClock_Config main.o
+ 0x08001f6c 0x08001f6c 0x00000058 Code RO 1495 i.SystemInit system_stm32f1xx.o
+ 0x08001fc4 0x08001fc4 0x000000a0 Code RO 322 i.TIM2_DMA_Config tim.o
+ 0x08002064 0x08002064 0x00000002 Code RO 734 i.TIM2_IRQHandler stm32f1xx_it.o
+ 0x08002066 0x08002066 0x00000002 PAD
+ 0x08002068 0x08002068 0x0000004c Code RO 735 i.TIM3_IRQHandler stm32f1xx_it.o
+ 0x080020b4 0x080020b4 0x00000098 Code RO 736 i.USART1_IRQHandler stm32f1xx_it.o
+ 0x0800214c 0x0800214c 0x00000020 Code RO 737 i.USART3_IRQHandler stm32f1xx_it.o
+ 0x0800216c 0x0800216c 0x00000004 Code RO 738 i.UsageFault_Handler stm32f1xx_it.o
+ 0x08002170 0x08002170 0x0000001c Code RO 471 i.Usart_SendByte usart.o
+ 0x0800218c 0x0800218c 0x00000028 Code RO 472 i.Usart_SendString usart.o
+ 0x080021b4 0x080021b4 0x00000064 Code RO 323 i.WS2812_Data_Transfer tim.o
+ 0x08002218 0x08002218 0x000000a0 Code RO 324 i.WS2812_Light_All tim.o
+ 0x080022b8 0x080022b8 0x00000050 Code RO 325 i.WS2812_Light_Custom tim.o
+ 0x08002308 0x08002308 0x00000040 Code RO 326 i.WS2812_Light_One_By_One tim.o
+ 0x08002348 0x08002348 0x00000020 Code RO 1746 i.__0printf$8 mc_w.l(printf8.o)
+ 0x08002368 0x08002368 0x00000028 Code RO 1748 i.__0sprintf$8 mc_w.l(printf8.o)
+ 0x08002390 0x08002390 0x0000001a Code RO 223 i.__NVIC_EnableIRQ dma.o
+ 0x080023aa 0x080023aa 0x0000001a Code RO 327 i.__NVIC_EnableIRQ tim.o
+ 0x080023c4 0x080023c4 0x0000001a Code RO 473 i.__NVIC_EnableIRQ usart.o
+ 0x080023de 0x080023de 0x00000002 PAD
+ 0x080023e0 0x080023e0 0x00000010 Code RO 224 i.__NVIC_GetPriorityGrouping dma.o
+ 0x080023f0 0x080023f0 0x00000010 Code RO 328 i.__NVIC_GetPriorityGrouping tim.o
+ 0x08002400 0x08002400 0x00000010 Code RO 474 i.__NVIC_GetPriorityGrouping usart.o
+ 0x08002410 0x08002410 0x00000028 Code RO 225 i.__NVIC_SetPriority dma.o
+ 0x08002438 0x08002438 0x00000028 Code RO 329 i.__NVIC_SetPriority tim.o
+ 0x08002460 0x08002460 0x00000028 Code RO 475 i.__NVIC_SetPriority usart.o
+ 0x08002488 0x08002488 0x0000000e Code RO 1844 i.__scatterload_copy mc_w.l(handlers.o)
+ 0x08002496 0x08002496 0x00000002 Code RO 1845 i.__scatterload_null mc_w.l(handlers.o)
+ 0x08002498 0x08002498 0x0000000e Code RO 1846 i.__scatterload_zeroinit mc_w.l(handlers.o)
+ 0x080024a6 0x080024a6 0x00000002 PAD
+ 0x080024a8 0x080024a8 0x00000404 Code RO 1753 i._printf_core mc_w.l(printf8.o)
+ 0x080028ac 0x080028ac 0x00000024 Code RO 1754 i._printf_post_padding mc_w.l(printf8.o)
+ 0x080028d0 0x080028d0 0x0000002e Code RO 1755 i._printf_pre_padding mc_w.l(printf8.o)
+ 0x080028fe 0x080028fe 0x0000000a Code RO 1757 i._sputc mc_w.l(printf8.o)
+ 0x08002908 0x08002908 0x00000024 Code RO 476 i.fputc usart.o
+ 0x0800292c 0x0800292c 0x00000030 Code RO 477 i.hex2int usart.o
+ 0x0800295c 0x0800295c 0x0000004e Code RO 478 i.hex2str usart.o
+ 0x080029aa 0x080029aa 0x00000002 PAD
+ 0x080029ac 0x080029ac 0x0000029c Code RO 19 i.main main.o
+ 0x08002c48 0x08002c48 0x0000002a Data RO 331 .constdata tim.o
+ 0x08002c72 0x08002c72 0x0000002a Data RO 480 .constdata usart.o
+ 0x08002c9c 0x08002c9c 0x0000002a Data RO 739 .constdata stm32f1xx_it.o
+ 0x08002cc6 0x08002cc6 0x00000007 Data RO 956 .constdata stm32f1xx_ll_dma.o
+ 0x08002ccd 0x08002ccd 0x00000018 Data RO 1496 .constdata system_stm32f1xx.o
+ 0x08002ce5 0x08002ce5 0x00000003 PAD
+ 0x08002ce8 0x08002ce8 0x00000020 Data RO 1842 Region$$Table anon$$obj.o
- Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08002cf8, Size: 0x00000620, Max: 0x00005000, ABSOLUTE)
+ Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08002d08, Size: 0x00000620, Max: 0x00005000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
- 0x20000000 0x08002cf8 0x0000000b Data RW 21 .data main.o
- 0x2000000b 0x08002d03 0x000000c1 Data RW 332 .data tim.o
- 0x200000cc 0x08002dc4 0x0000000a Data RW 481 .data usart.o
- 0x200000d6 0x08002dce 0x00000002 Data RW 740 .data stm32f1xx_it.o
- 0x200000d8 0x08002dd0 0x00000004 Data RW 1497 .data system_stm32f1xx.o
- 0x200000dc 0x08002dd4 0x00000004 Data RW 1816 .data mc_w.l(stdout.o)
+ 0x20000000 0x08002d08 0x0000000b Data RW 21 .data main.o
+ 0x2000000b 0x08002d13 0x000000c1 Data RW 332 .data tim.o
+ 0x200000cc 0x08002dd4 0x0000000a Data RW 481 .data usart.o
+ 0x200000d6 0x08002dde 0x00000002 Data RW 740 .data stm32f1xx_it.o
+ 0x200000d8 0x08002de0 0x00000004 Data RW 1497 .data system_stm32f1xx.o
+ 0x200000dc 0x08002de4 0x00000004 Data RW 1816 .data mc_w.l(stdout.o)
0x200000e0 - 0x00000018 Zero RW 330 .bss tim.o
0x200000f8 - 0x00000123 Zero RW 479 .bss usart.o
- 0x2000021b 0x08002dd8 0x00000005 PAD
+ 0x2000021b 0x08002de8 0x00000005 PAD
0x20000220 - 0x00000400 Zero RW 1 STACK startup_stm32f103xb.o
@@ -1465,10 +1465,10 @@ Image component sizes
80 6 0 0 0 5297 stm32f1xx_ll_utils.o
88 18 24 4 0 1091 system_stm32f1xx.o
1494 106 42 193 24 46299 tim.o
- 3466 520 42 10 291 79204 usart.o
+ 3482 520 42 10 291 79212 usart.o
----------------------------------------------------------------------
- 9534 992 428 220 1344 808848 Object Totals
+ 9550 992 428 220 1344 808856 Object Totals
0 0 32 0 0 0 (incl. Generated)
22 0 3 0 5 0 (incl. Padding)
@@ -1517,15 +1517,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
- 11084 1068 428 224 1344 803528 Grand Totals
- 11084 1068 428 224 1344 803528 ELF Image Totals
- 11084 1068 428 224 0 0 ROM Totals
+ 11100 1068 428 224 1344 803536 Grand Totals
+ 11100 1068 428 224 1344 803536 ELF Image Totals
+ 11100 1068 428 224 0 0 ROM Totals
==============================================================================
- Total RO Size (Code + RO Data) 11512 ( 11.24kB)
+ Total RO Size (Code + RO Data) 11528 ( 11.26kB)
Total RW Size (RW Data + ZI Data) 1568 ( 1.53kB)
- Total ROM Size (Code + RO Data + RW Data) 11736 ( 11.46kB)
+ Total ROM Size (Code + RO Data + RW Data) 11752 ( 11.48kB)
==============================================================================
diff --git a/MDK-ARM/LED_M100C_WS2812/usart.crf b/MDK-ARM/LED_M100C_WS2812/usart.crf
index 9628097..ca9d922 100644
Binary files a/MDK-ARM/LED_M100C_WS2812/usart.crf and b/MDK-ARM/LED_M100C_WS2812/usart.crf differ
diff --git a/Src/usart.c b/Src/usart.c
index 9f89acc..e0872e5 100644
--- a/Src/usart.c
+++ b/Src/usart.c
@@ -502,15 +502,18 @@ void Radar_Filtering_clutter(volatile uint8_t *color)
// else if (Work_Mode == Reed_Radar_Dual_Mode)
// Node_Send_Data(senddataport,UnConfirmed, Red, Work_Mode, Door_Status, Occupancy);
- if (Work_Mode != Network_Mode) {
- Node_Send_Data(senddataport,UnConfirmed, Red, Work_Mode, Door_Status, Occupancy_Status);
- } else
- {
- Node_Send_Data(senddataport,UnConfirmed, netColor, Work_Mode, Door_Status, Occupancy_Status);
- }
+ if (Work_Mode != Network_Mode)
+ {
+ Node_Send_Data(senddataport,UnConfirmed, Red, Work_Mode, Door_Status, Occupancy_Status);
+ *color = Red;
+ } else
+ {
+ Node_Send_Data(senddataport,UnConfirmed, netColor, Work_Mode, Door_Status, Occupancy_Status);
+ *color = netColor;
+ }
- *color = Red;
+
}
else
{
@@ -521,12 +524,13 @@ void Radar_Filtering_clutter(volatile uint8_t *color)
// Node_Send_Data(senddataport,UnConfirmed, Green, Work_Mode, Door_Status, No_Occupancy);
if (Work_Mode != Network_Mode) {
Node_Send_Data(senddataport,UnConfirmed, Green, Work_Mode, Door_Status, Occupancy_Status);
+ *color = Green;
} else
{
Node_Send_Data(senddataport,UnConfirmed, netColor, Work_Mode, Door_Status, Occupancy_Status);
+ *color = netColor;
}
- *color = Green;
}
}