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 25b83f4..f10444a 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_exti.c...
-compiling stm32f1xx_ll_utils.c...
-compiling stm32f1xx_ll_pwr.c...
compiling stm32f1xx_ll_gpio.c...
compiling stm32f1xx_ll_dma.c...
-compiling stm32f1xx_ll_tim.c...
+compiling stm32f1xx_ll_pwr.c...
+compiling stm32f1xx_ll_utils.c...
compiling stm32f1xx_ll_usart.c...
-compiling gpio.c...
-compiling tim.c...
+compiling stm32f1xx_ll_rcc.c...
+compiling stm32f1xx_ll_tim.c...
+compiling system_stm32f1xx.c...
compiling dma.c...
compiling iwdg.c...
-compiling system_stm32f1xx.c...
-compiling sys.c...
compiling main.c...
-compiling stm32f1xx_it.c...
compiling usart.c...
+compiling gpio.c...
+compiling stm32f1xx_it.c...
+compiling sys.c...
+compiling tim.c...
linking...
-Program Size: Code=11136 RO-data=428 RW-data=224 ZI-data=1344
+Program Size: Code=11132 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 443c999..b52020b 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: Thu Sep 22 11:30:02 2022
+
#<CALLGRAPH># ARM Linker, 5060960: Last Updated: Thu Sep 22 14:19:57 2022
Maximum Stack Usage = 632 bytes + Unknown(Cycles, Untraceable Function Pointers)
Call chain for Maximum Stack Depth:
@@ -678,7 +678,7 @@ Global Symbols
[Called By]
-Reply_Version_Info (Thumb, 24 bytes, Stack size 16 bytes, usart.o(i.Reply_Version_Info))
+
Reply_Version_Info (Thumb, 22 bytes, Stack size 16 bytes, usart.o(i.Reply_Version_Info))
[Stack]
- Max Depth = 88
- Call Chain = Reply_Version_Info ⇒ Node_Send_Data ⇒ __2printf
[Calls]- >> Node_Send_Data
diff --git a/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.map b/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.map
index b4b4b6c..02c9d3f 100644
--- a/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.map
+++ b/MDK-ARM/LED_M100C_WS2812/LED_M100C_WS2812.map
@@ -937,83 +937,83 @@ Image Symbol Table
i.Radar_Filtering_clutter 0x080019f0 Section 0 usart.o(i.Radar_Filtering_clutter)
i.Reed_Working 0x08001b48 Section 0 main.o(i.Reed_Working)
i.Reply_Version_Info 0x08001bc8 Section 0 usart.o(i.Reply_Version_Info)
- i.SVC_Handler 0x08001be0 Section 0 stm32f1xx_it.o(i.SVC_Handler)
- i.Set_PCR_Parameter 0x08001be4 Section 0 usart.o(i.Set_PCR_Parameter)
- i.SysTick_Handler 0x08001e44 Section 0 stm32f1xx_it.o(i.SysTick_Handler)
- i.SystemClock_Config 0x08001e48 Section 0 main.o(i.SystemClock_Config)
- i.SystemInit 0x08001f90 Section 0 system_stm32f1xx.o(i.SystemInit)
- i.TIM2_DMA_Config 0x08001fe8 Section 0 tim.o(i.TIM2_DMA_Config)
- i.TIM2_IRQHandler 0x08002088 Section 0 stm32f1xx_it.o(i.TIM2_IRQHandler)
- i.TIM3_IRQHandler 0x0800208c Section 0 stm32f1xx_it.o(i.TIM3_IRQHandler)
- i.USART1_IRQHandler 0x080020d8 Section 0 stm32f1xx_it.o(i.USART1_IRQHandler)
- i.USART3_IRQHandler 0x08002170 Section 0 stm32f1xx_it.o(i.USART3_IRQHandler)
- i.UsageFault_Handler 0x08002190 Section 0 stm32f1xx_it.o(i.UsageFault_Handler)
- i.Usart_SendByte 0x08002194 Section 0 usart.o(i.Usart_SendByte)
- i.Usart_SendString 0x080021b0 Section 0 usart.o(i.Usart_SendString)
- i.WS2812_Data_Transfer 0x080021d8 Section 0 tim.o(i.WS2812_Data_Transfer)
- i.WS2812_Light_All 0x0800223c Section 0 tim.o(i.WS2812_Light_All)
- i.WS2812_Light_Custom 0x080022dc Section 0 tim.o(i.WS2812_Light_Custom)
- i.WS2812_Light_One_By_One 0x0800232c Section 0 tim.o(i.WS2812_Light_One_By_One)
- i.__0printf$8 0x0800236c Section 0 printf8.o(i.__0printf$8)
- i.__0sprintf$8 0x0800238c Section 0 printf8.o(i.__0sprintf$8)
- i.__NVIC_EnableIRQ 0x080023b4 Section 0 dma.o(i.__NVIC_EnableIRQ)
- __NVIC_EnableIRQ 0x080023b5 Thumb Code 26 dma.o(i.__NVIC_EnableIRQ)
- i.__NVIC_EnableIRQ 0x080023ce Section 0 tim.o(i.__NVIC_EnableIRQ)
- __NVIC_EnableIRQ 0x080023cf Thumb Code 26 tim.o(i.__NVIC_EnableIRQ)
- i.__NVIC_EnableIRQ 0x080023e8 Section 0 usart.o(i.__NVIC_EnableIRQ)
- __NVIC_EnableIRQ 0x080023e9 Thumb Code 26 usart.o(i.__NVIC_EnableIRQ)
- i.__NVIC_GetPriorityGrouping 0x08002404 Section 0 dma.o(i.__NVIC_GetPriorityGrouping)
- __NVIC_GetPriorityGrouping 0x08002405 Thumb Code 10 dma.o(i.__NVIC_GetPriorityGrouping)
- i.__NVIC_GetPriorityGrouping 0x08002414 Section 0 tim.o(i.__NVIC_GetPriorityGrouping)
- __NVIC_GetPriorityGrouping 0x08002415 Thumb Code 10 tim.o(i.__NVIC_GetPriorityGrouping)
- i.__NVIC_GetPriorityGrouping 0x08002424 Section 0 usart.o(i.__NVIC_GetPriorityGrouping)
- __NVIC_GetPriorityGrouping 0x08002425 Thumb Code 10 usart.o(i.__NVIC_GetPriorityGrouping)
- i.__NVIC_SetPriority 0x08002434 Section 0 dma.o(i.__NVIC_SetPriority)
- __NVIC_SetPriority 0x08002435 Thumb Code 32 dma.o(i.__NVIC_SetPriority)
- i.__NVIC_SetPriority 0x0800245c Section 0 tim.o(i.__NVIC_SetPriority)
- __NVIC_SetPriority 0x0800245d Thumb Code 32 tim.o(i.__NVIC_SetPriority)
- i.__NVIC_SetPriority 0x08002484 Section 0 usart.o(i.__NVIC_SetPriority)
- __NVIC_SetPriority 0x08002485 Thumb Code 32 usart.o(i.__NVIC_SetPriority)
- i.__scatterload_copy 0x080024ac Section 14 handlers.o(i.__scatterload_copy)
- i.__scatterload_null 0x080024ba Section 2 handlers.o(i.__scatterload_null)
- i.__scatterload_zeroinit 0x080024bc Section 14 handlers.o(i.__scatterload_zeroinit)
- i._printf_core 0x080024cc Section 0 printf8.o(i._printf_core)
- _printf_core 0x080024cd Thumb Code 984 printf8.o(i._printf_core)
- i._printf_post_padding 0x080028d0 Section 0 printf8.o(i._printf_post_padding)
- _printf_post_padding 0x080028d1 Thumb Code 36 printf8.o(i._printf_post_padding)
- i._printf_pre_padding 0x080028f4 Section 0 printf8.o(i._printf_pre_padding)
- _printf_pre_padding 0x080028f5 Thumb Code 46 printf8.o(i._printf_pre_padding)
- i._sputc 0x08002922 Section 0 printf8.o(i._sputc)
- _sputc 0x08002923 Thumb Code 10 printf8.o(i._sputc)
- i.fputc 0x0800292c Section 0 usart.o(i.fputc)
- i.hex2int 0x08002950 Section 0 usart.o(i.hex2int)
- hex2int 0x08002951 Thumb Code 48 usart.o(i.hex2int)
- i.hex2str 0x08002980 Section 0 usart.o(i.hex2str)
- i.main 0x080029d0 Section 0 main.o(i.main)
- .constdata 0x08002c6c Section 42 tim.o(.constdata)
- CHANNEL_OFFSET_TAB 0x08002c6c Data 7 tim.o(.constdata)
- OFFSET_TAB_CCMRx 0x08002c73 Data 7 tim.o(.constdata)
- SHIFT_TAB_OCxx 0x08002c7a Data 7 tim.o(.constdata)
- SHIFT_TAB_ICxx 0x08002c81 Data 7 tim.o(.constdata)
- SHIFT_TAB_CCxP 0x08002c88 Data 7 tim.o(.constdata)
- SHIFT_TAB_OISx 0x08002c8f Data 7 tim.o(.constdata)
- .constdata 0x08002c96 Section 42 usart.o(.constdata)
- CHANNEL_OFFSET_TAB 0x08002c96 Data 7 usart.o(.constdata)
- OFFSET_TAB_CCMRx 0x08002c9d Data 7 usart.o(.constdata)
- SHIFT_TAB_OCxx 0x08002ca4 Data 7 usart.o(.constdata)
- SHIFT_TAB_ICxx 0x08002cab Data 7 usart.o(.constdata)
- SHIFT_TAB_CCxP 0x08002cb2 Data 7 usart.o(.constdata)
- SHIFT_TAB_OISx 0x08002cb9 Data 7 usart.o(.constdata)
- .constdata 0x08002cc0 Section 42 stm32f1xx_it.o(.constdata)
- CHANNEL_OFFSET_TAB 0x08002cc0 Data 7 stm32f1xx_it.o(.constdata)
- OFFSET_TAB_CCMRx 0x08002cc7 Data 7 stm32f1xx_it.o(.constdata)
- SHIFT_TAB_OCxx 0x08002cce Data 7 stm32f1xx_it.o(.constdata)
- SHIFT_TAB_ICxx 0x08002cd5 Data 7 stm32f1xx_it.o(.constdata)
- SHIFT_TAB_CCxP 0x08002cdc Data 7 stm32f1xx_it.o(.constdata)
- SHIFT_TAB_OISx 0x08002ce3 Data 7 stm32f1xx_it.o(.constdata)
- .constdata 0x08002cea Section 7 stm32f1xx_ll_dma.o(.constdata)
- CHANNEL_OFFSET_TAB 0x08002cea Data 7 stm32f1xx_ll_dma.o(.constdata)
- .constdata 0x08002cf1 Section 24 system_stm32f1xx.o(.constdata)
+ i.SVC_Handler 0x08001bde Section 0 stm32f1xx_it.o(i.SVC_Handler)
+ i.Set_PCR_Parameter 0x08001be0 Section 0 usart.o(i.Set_PCR_Parameter)
+ i.SysTick_Handler 0x08001e40 Section 0 stm32f1xx_it.o(i.SysTick_Handler)
+ i.SystemClock_Config 0x08001e44 Section 0 main.o(i.SystemClock_Config)
+ i.SystemInit 0x08001f8c Section 0 system_stm32f1xx.o(i.SystemInit)
+ i.TIM2_DMA_Config 0x08001fe4 Section 0 tim.o(i.TIM2_DMA_Config)
+ i.TIM2_IRQHandler 0x08002084 Section 0 stm32f1xx_it.o(i.TIM2_IRQHandler)
+ i.TIM3_IRQHandler 0x08002088 Section 0 stm32f1xx_it.o(i.TIM3_IRQHandler)
+ i.USART1_IRQHandler 0x080020d4 Section 0 stm32f1xx_it.o(i.USART1_IRQHandler)
+ i.USART3_IRQHandler 0x0800216c Section 0 stm32f1xx_it.o(i.USART3_IRQHandler)
+ i.UsageFault_Handler 0x0800218c Section 0 stm32f1xx_it.o(i.UsageFault_Handler)
+ i.Usart_SendByte 0x08002190 Section 0 usart.o(i.Usart_SendByte)
+ i.Usart_SendString 0x080021ac Section 0 usart.o(i.Usart_SendString)
+ i.WS2812_Data_Transfer 0x080021d4 Section 0 tim.o(i.WS2812_Data_Transfer)
+ i.WS2812_Light_All 0x08002238 Section 0 tim.o(i.WS2812_Light_All)
+ i.WS2812_Light_Custom 0x080022d8 Section 0 tim.o(i.WS2812_Light_Custom)
+ i.WS2812_Light_One_By_One 0x08002328 Section 0 tim.o(i.WS2812_Light_One_By_One)
+ i.__0printf$8 0x08002368 Section 0 printf8.o(i.__0printf$8)
+ i.__0sprintf$8 0x08002388 Section 0 printf8.o(i.__0sprintf$8)
+ i.__NVIC_EnableIRQ 0x080023b0 Section 0 dma.o(i.__NVIC_EnableIRQ)
+ __NVIC_EnableIRQ 0x080023b1 Thumb Code 26 dma.o(i.__NVIC_EnableIRQ)
+ i.__NVIC_EnableIRQ 0x080023ca Section 0 tim.o(i.__NVIC_EnableIRQ)
+ __NVIC_EnableIRQ 0x080023cb Thumb Code 26 tim.o(i.__NVIC_EnableIRQ)
+ i.__NVIC_EnableIRQ 0x080023e4 Section 0 usart.o(i.__NVIC_EnableIRQ)
+ __NVIC_EnableIRQ 0x080023e5 Thumb Code 26 usart.o(i.__NVIC_EnableIRQ)
+ i.__NVIC_GetPriorityGrouping 0x08002400 Section 0 dma.o(i.__NVIC_GetPriorityGrouping)
+ __NVIC_GetPriorityGrouping 0x08002401 Thumb Code 10 dma.o(i.__NVIC_GetPriorityGrouping)
+ i.__NVIC_GetPriorityGrouping 0x08002410 Section 0 tim.o(i.__NVIC_GetPriorityGrouping)
+ __NVIC_GetPriorityGrouping 0x08002411 Thumb Code 10 tim.o(i.__NVIC_GetPriorityGrouping)
+ i.__NVIC_GetPriorityGrouping 0x08002420 Section 0 usart.o(i.__NVIC_GetPriorityGrouping)
+ __NVIC_GetPriorityGrouping 0x08002421 Thumb Code 10 usart.o(i.__NVIC_GetPriorityGrouping)
+ i.__NVIC_SetPriority 0x08002430 Section 0 dma.o(i.__NVIC_SetPriority)
+ __NVIC_SetPriority 0x08002431 Thumb Code 32 dma.o(i.__NVIC_SetPriority)
+ i.__NVIC_SetPriority 0x08002458 Section 0 tim.o(i.__NVIC_SetPriority)
+ __NVIC_SetPriority 0x08002459 Thumb Code 32 tim.o(i.__NVIC_SetPriority)
+ i.__NVIC_SetPriority 0x08002480 Section 0 usart.o(i.__NVIC_SetPriority)
+ __NVIC_SetPriority 0x08002481 Thumb Code 32 usart.o(i.__NVIC_SetPriority)
+ i.__scatterload_copy 0x080024a8 Section 14 handlers.o(i.__scatterload_copy)
+ i.__scatterload_null 0x080024b6 Section 2 handlers.o(i.__scatterload_null)
+ i.__scatterload_zeroinit 0x080024b8 Section 14 handlers.o(i.__scatterload_zeroinit)
+ i._printf_core 0x080024c8 Section 0 printf8.o(i._printf_core)
+ _printf_core 0x080024c9 Thumb Code 984 printf8.o(i._printf_core)
+ i._printf_post_padding 0x080028cc Section 0 printf8.o(i._printf_post_padding)
+ _printf_post_padding 0x080028cd Thumb Code 36 printf8.o(i._printf_post_padding)
+ i._printf_pre_padding 0x080028f0 Section 0 printf8.o(i._printf_pre_padding)
+ _printf_pre_padding 0x080028f1 Thumb Code 46 printf8.o(i._printf_pre_padding)
+ i._sputc 0x0800291e Section 0 printf8.o(i._sputc)
+ _sputc 0x0800291f Thumb Code 10 printf8.o(i._sputc)
+ i.fputc 0x08002928 Section 0 usart.o(i.fputc)
+ i.hex2int 0x0800294c Section 0 usart.o(i.hex2int)
+ hex2int 0x0800294d Thumb Code 48 usart.o(i.hex2int)
+ i.hex2str 0x0800297c Section 0 usart.o(i.hex2str)
+ i.main 0x080029cc Section 0 main.o(i.main)
+ .constdata 0x08002c68 Section 42 tim.o(.constdata)
+ CHANNEL_OFFSET_TAB 0x08002c68 Data 7 tim.o(.constdata)
+ OFFSET_TAB_CCMRx 0x08002c6f Data 7 tim.o(.constdata)
+ SHIFT_TAB_OCxx 0x08002c76 Data 7 tim.o(.constdata)
+ SHIFT_TAB_ICxx 0x08002c7d Data 7 tim.o(.constdata)
+ SHIFT_TAB_CCxP 0x08002c84 Data 7 tim.o(.constdata)
+ SHIFT_TAB_OISx 0x08002c8b Data 7 tim.o(.constdata)
+ .constdata 0x08002c92 Section 42 usart.o(.constdata)
+ CHANNEL_OFFSET_TAB 0x08002c92 Data 7 usart.o(.constdata)
+ OFFSET_TAB_CCMRx 0x08002c99 Data 7 usart.o(.constdata)
+ SHIFT_TAB_OCxx 0x08002ca0 Data 7 usart.o(.constdata)
+ SHIFT_TAB_ICxx 0x08002ca7 Data 7 usart.o(.constdata)
+ SHIFT_TAB_CCxP 0x08002cae Data 7 usart.o(.constdata)
+ SHIFT_TAB_OISx 0x08002cb5 Data 7 usart.o(.constdata)
+ .constdata 0x08002cbc Section 42 stm32f1xx_it.o(.constdata)
+ CHANNEL_OFFSET_TAB 0x08002cbc Data 7 stm32f1xx_it.o(.constdata)
+ OFFSET_TAB_CCMRx 0x08002cc3 Data 7 stm32f1xx_it.o(.constdata)
+ SHIFT_TAB_OCxx 0x08002cca Data 7 stm32f1xx_it.o(.constdata)
+ SHIFT_TAB_ICxx 0x08002cd1 Data 7 stm32f1xx_it.o(.constdata)
+ SHIFT_TAB_CCxP 0x08002cd8 Data 7 stm32f1xx_it.o(.constdata)
+ SHIFT_TAB_OISx 0x08002cdf Data 7 stm32f1xx_it.o(.constdata)
+ .constdata 0x08002ce6 Section 7 stm32f1xx_ll_dma.o(.constdata)
+ CHANNEL_OFFSET_TAB 0x08002ce6 Data 7 stm32f1xx_ll_dma.o(.constdata)
+ .constdata 0x08002ced 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)
@@ -1190,40 +1190,40 @@ Image Symbol Table
Radar_Data_Analysis 0x08001935 Thumb Code 142 usart.o(i.Radar_Data_Analysis)
Radar_Filtering_clutter 0x080019f1 Thumb Code 310 usart.o(i.Radar_Filtering_clutter)
Reed_Working 0x08001b49 Thumb Code 116 main.o(i.Reed_Working)
- Reply_Version_Info 0x08001bc9 Thumb Code 24 usart.o(i.Reply_Version_Info)
- SVC_Handler 0x08001be1 Thumb Code 2 stm32f1xx_it.o(i.SVC_Handler)
- Set_PCR_Parameter 0x08001be5 Thumb Code 458 usart.o(i.Set_PCR_Parameter)
- SysTick_Handler 0x08001e45 Thumb Code 2 stm32f1xx_it.o(i.SysTick_Handler)
- SystemClock_Config 0x08001e49 Thumb Code 314 main.o(i.SystemClock_Config)
- SystemInit 0x08001f91 Thumb Code 70 system_stm32f1xx.o(i.SystemInit)
- TIM2_DMA_Config 0x08001fe9 Thumb Code 142 tim.o(i.TIM2_DMA_Config)
- TIM2_IRQHandler 0x08002089 Thumb Code 2 stm32f1xx_it.o(i.TIM2_IRQHandler)
- TIM3_IRQHandler 0x0800208d Thumb Code 60 stm32f1xx_it.o(i.TIM3_IRQHandler)
- USART1_IRQHandler 0x080020d9 Thumb Code 132 stm32f1xx_it.o(i.USART1_IRQHandler)
- USART3_IRQHandler 0x08002171 Thumb Code 24 stm32f1xx_it.o(i.USART3_IRQHandler)
- UsageFault_Handler 0x08002191 Thumb Code 4 stm32f1xx_it.o(i.UsageFault_Handler)
- Usart_SendByte 0x08002195 Thumb Code 28 usart.o(i.Usart_SendByte)
- Usart_SendString 0x080021b1 Thumb Code 40 usart.o(i.Usart_SendString)
- WS2812_Data_Transfer 0x080021d9 Thumb Code 94 tim.o(i.WS2812_Data_Transfer)
- WS2812_Light_All 0x0800223d Thumb Code 160 tim.o(i.WS2812_Light_All)
- WS2812_Light_Custom 0x080022dd Thumb Code 74 tim.o(i.WS2812_Light_Custom)
- WS2812_Light_One_By_One 0x0800232d Thumb Code 58 tim.o(i.WS2812_Light_One_By_One)
- __0printf$8 0x0800236d Thumb Code 22 printf8.o(i.__0printf$8)
- __1printf$8 0x0800236d Thumb Code 0 printf8.o(i.__0printf$8)
- __2printf 0x0800236d Thumb Code 0 printf8.o(i.__0printf$8)
- __0sprintf$8 0x0800238d Thumb Code 34 printf8.o(i.__0sprintf$8)
- __1sprintf$8 0x0800238d Thumb Code 0 printf8.o(i.__0sprintf$8)
- __2sprintf 0x0800238d Thumb Code 0 printf8.o(i.__0sprintf$8)
- __scatterload_copy 0x080024ad Thumb Code 14 handlers.o(i.__scatterload_copy)
- __scatterload_null 0x080024bb Thumb Code 2 handlers.o(i.__scatterload_null)
- __scatterload_zeroinit 0x080024bd Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
- fputc 0x0800292d Thumb Code 30 usart.o(i.fputc)
- hex2str 0x08002981 Thumb Code 78 usart.o(i.hex2str)
- main 0x080029d1 Thumb Code 608 main.o(i.main)
- AHBPrescTable 0x08002cf1 Data 16 system_stm32f1xx.o(.constdata)
- APBPrescTable 0x08002d01 Data 8 system_stm32f1xx.o(.constdata)
- Region$$Table$$Base 0x08002d0c Number 0 anon$$obj.o(Region$$Table)
- Region$$Table$$Limit 0x08002d2c Number 0 anon$$obj.o(Region$$Table)
+ Reply_Version_Info 0x08001bc9 Thumb Code 22 usart.o(i.Reply_Version_Info)
+ SVC_Handler 0x08001bdf Thumb Code 2 stm32f1xx_it.o(i.SVC_Handler)
+ Set_PCR_Parameter 0x08001be1 Thumb Code 458 usart.o(i.Set_PCR_Parameter)
+ SysTick_Handler 0x08001e41 Thumb Code 2 stm32f1xx_it.o(i.SysTick_Handler)
+ SystemClock_Config 0x08001e45 Thumb Code 314 main.o(i.SystemClock_Config)
+ SystemInit 0x08001f8d Thumb Code 70 system_stm32f1xx.o(i.SystemInit)
+ TIM2_DMA_Config 0x08001fe5 Thumb Code 142 tim.o(i.TIM2_DMA_Config)
+ TIM2_IRQHandler 0x08002085 Thumb Code 2 stm32f1xx_it.o(i.TIM2_IRQHandler)
+ TIM3_IRQHandler 0x08002089 Thumb Code 60 stm32f1xx_it.o(i.TIM3_IRQHandler)
+ USART1_IRQHandler 0x080020d5 Thumb Code 132 stm32f1xx_it.o(i.USART1_IRQHandler)
+ USART3_IRQHandler 0x0800216d Thumb Code 24 stm32f1xx_it.o(i.USART3_IRQHandler)
+ UsageFault_Handler 0x0800218d Thumb Code 4 stm32f1xx_it.o(i.UsageFault_Handler)
+ Usart_SendByte 0x08002191 Thumb Code 28 usart.o(i.Usart_SendByte)
+ Usart_SendString 0x080021ad Thumb Code 40 usart.o(i.Usart_SendString)
+ WS2812_Data_Transfer 0x080021d5 Thumb Code 94 tim.o(i.WS2812_Data_Transfer)
+ WS2812_Light_All 0x08002239 Thumb Code 160 tim.o(i.WS2812_Light_All)
+ WS2812_Light_Custom 0x080022d9 Thumb Code 74 tim.o(i.WS2812_Light_Custom)
+ WS2812_Light_One_By_One 0x08002329 Thumb Code 58 tim.o(i.WS2812_Light_One_By_One)
+ __0printf$8 0x08002369 Thumb Code 22 printf8.o(i.__0printf$8)
+ __1printf$8 0x08002369 Thumb Code 0 printf8.o(i.__0printf$8)
+ __2printf 0x08002369 Thumb Code 0 printf8.o(i.__0printf$8)
+ __0sprintf$8 0x08002389 Thumb Code 34 printf8.o(i.__0sprintf$8)
+ __1sprintf$8 0x08002389 Thumb Code 0 printf8.o(i.__0sprintf$8)
+ __2sprintf 0x08002389 Thumb Code 0 printf8.o(i.__0sprintf$8)
+ __scatterload_copy 0x080024a9 Thumb Code 14 handlers.o(i.__scatterload_copy)
+ __scatterload_null 0x080024b7 Thumb Code 2 handlers.o(i.__scatterload_null)
+ __scatterload_zeroinit 0x080024b9 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
+ fputc 0x08002929 Thumb Code 30 usart.o(i.fputc)
+ hex2str 0x0800297d Thumb Code 78 usart.o(i.hex2str)
+ main 0x080029cd Thumb Code 608 main.o(i.main)
+ AHBPrescTable 0x08002ced Data 16 system_stm32f1xx.o(.constdata)
+ APBPrescTable 0x08002cfd Data 8 system_stm32f1xx.o(.constdata)
+ Region$$Table$$Base 0x08002d08 Number 0 anon$$obj.o(Region$$Table)
+ Region$$Table$$Limit 0x08002d28 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)
@@ -1253,9 +1253,9 @@ Memory Map of the image
Image Entry point : 0x080000ed
- Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00002e0c, Max: 0x00010000, ABSOLUTE)
+ Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00002e08, Max: 0x00010000, ABSOLUTE)
- Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00002d2c, Max: 0x00010000, ABSOLUTE)
+ Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00002d28, Max: 0x00010000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
@@ -1377,74 +1377,73 @@ Memory Map of the image
0x08001934 0x08001934 0x000000bc Code RO 467 i.Radar_Data_Analysis usart.o
0x080019f0 0x080019f0 0x00000158 Code RO 468 i.Radar_Filtering_clutter usart.o
0x08001b48 0x08001b48 0x00000080 Code RO 17 i.Reed_Working main.o
- 0x08001bc8 0x08001bc8 0x00000018 Code RO 469 i.Reply_Version_Info usart.o
- 0x08001be0 0x08001be0 0x00000002 Code RO 738 i.SVC_Handler stm32f1xx_it.o
- 0x08001be2 0x08001be2 0x00000002 PAD
- 0x08001be4 0x08001be4 0x00000260 Code RO 470 i.Set_PCR_Parameter usart.o
- 0x08001e44 0x08001e44 0x00000002 Code RO 739 i.SysTick_Handler stm32f1xx_it.o
- 0x08001e46 0x08001e46 0x00000002 PAD
- 0x08001e48 0x08001e48 0x00000148 Code RO 18 i.SystemClock_Config main.o
- 0x08001f90 0x08001f90 0x00000058 Code RO 1501 i.SystemInit system_stm32f1xx.o
- 0x08001fe8 0x08001fe8 0x000000a0 Code RO 322 i.TIM2_DMA_Config tim.o
- 0x08002088 0x08002088 0x00000002 Code RO 740 i.TIM2_IRQHandler stm32f1xx_it.o
- 0x0800208a 0x0800208a 0x00000002 PAD
- 0x0800208c 0x0800208c 0x0000004c Code RO 741 i.TIM3_IRQHandler stm32f1xx_it.o
- 0x080020d8 0x080020d8 0x00000098 Code RO 742 i.USART1_IRQHandler stm32f1xx_it.o
- 0x08002170 0x08002170 0x00000020 Code RO 743 i.USART3_IRQHandler stm32f1xx_it.o
- 0x08002190 0x08002190 0x00000004 Code RO 744 i.UsageFault_Handler stm32f1xx_it.o
- 0x08002194 0x08002194 0x0000001c Code RO 472 i.Usart_SendByte usart.o
- 0x080021b0 0x080021b0 0x00000028 Code RO 473 i.Usart_SendString usart.o
- 0x080021d8 0x080021d8 0x00000064 Code RO 323 i.WS2812_Data_Transfer tim.o
- 0x0800223c 0x0800223c 0x000000a0 Code RO 324 i.WS2812_Light_All tim.o
- 0x080022dc 0x080022dc 0x00000050 Code RO 325 i.WS2812_Light_Custom tim.o
- 0x0800232c 0x0800232c 0x00000040 Code RO 326 i.WS2812_Light_One_By_One tim.o
- 0x0800236c 0x0800236c 0x00000020 Code RO 1752 i.__0printf$8 mc_w.l(printf8.o)
- 0x0800238c 0x0800238c 0x00000028 Code RO 1754 i.__0sprintf$8 mc_w.l(printf8.o)
- 0x080023b4 0x080023b4 0x0000001a Code RO 223 i.__NVIC_EnableIRQ dma.o
- 0x080023ce 0x080023ce 0x0000001a Code RO 327 i.__NVIC_EnableIRQ tim.o
- 0x080023e8 0x080023e8 0x0000001a Code RO 474 i.__NVIC_EnableIRQ usart.o
- 0x08002402 0x08002402 0x00000002 PAD
- 0x08002404 0x08002404 0x00000010 Code RO 224 i.__NVIC_GetPriorityGrouping dma.o
- 0x08002414 0x08002414 0x00000010 Code RO 328 i.__NVIC_GetPriorityGrouping tim.o
- 0x08002424 0x08002424 0x00000010 Code RO 475 i.__NVIC_GetPriorityGrouping usart.o
- 0x08002434 0x08002434 0x00000028 Code RO 225 i.__NVIC_SetPriority dma.o
- 0x0800245c 0x0800245c 0x00000028 Code RO 329 i.__NVIC_SetPriority tim.o
- 0x08002484 0x08002484 0x00000028 Code RO 476 i.__NVIC_SetPriority usart.o
- 0x080024ac 0x080024ac 0x0000000e Code RO 1850 i.__scatterload_copy mc_w.l(handlers.o)
- 0x080024ba 0x080024ba 0x00000002 Code RO 1851 i.__scatterload_null mc_w.l(handlers.o)
- 0x080024bc 0x080024bc 0x0000000e Code RO 1852 i.__scatterload_zeroinit mc_w.l(handlers.o)
- 0x080024ca 0x080024ca 0x00000002 PAD
- 0x080024cc 0x080024cc 0x00000404 Code RO 1759 i._printf_core mc_w.l(printf8.o)
- 0x080028d0 0x080028d0 0x00000024 Code RO 1760 i._printf_post_padding mc_w.l(printf8.o)
- 0x080028f4 0x080028f4 0x0000002e Code RO 1761 i._printf_pre_padding mc_w.l(printf8.o)
- 0x08002922 0x08002922 0x0000000a Code RO 1763 i._sputc mc_w.l(printf8.o)
- 0x0800292c 0x0800292c 0x00000024 Code RO 477 i.fputc usart.o
- 0x08002950 0x08002950 0x00000030 Code RO 478 i.hex2int usart.o
- 0x08002980 0x08002980 0x0000004e Code RO 479 i.hex2str usart.o
- 0x080029ce 0x080029ce 0x00000002 PAD
- 0x080029d0 0x080029d0 0x0000029c Code RO 19 i.main main.o
- 0x08002c6c 0x08002c6c 0x0000002a Data RO 331 .constdata tim.o
- 0x08002c96 0x08002c96 0x0000002a Data RO 481 .constdata usart.o
- 0x08002cc0 0x08002cc0 0x0000002a Data RO 745 .constdata stm32f1xx_it.o
- 0x08002cea 0x08002cea 0x00000007 Data RO 962 .constdata stm32f1xx_ll_dma.o
- 0x08002cf1 0x08002cf1 0x00000018 Data RO 1502 .constdata system_stm32f1xx.o
- 0x08002d09 0x08002d09 0x00000003 PAD
- 0x08002d0c 0x08002d0c 0x00000020 Data RO 1848 Region$$Table anon$$obj.o
+ 0x08001bc8 0x08001bc8 0x00000016 Code RO 469 i.Reply_Version_Info usart.o
+ 0x08001bde 0x08001bde 0x00000002 Code RO 738 i.SVC_Handler stm32f1xx_it.o
+ 0x08001be0 0x08001be0 0x00000260 Code RO 470 i.Set_PCR_Parameter usart.o
+ 0x08001e40 0x08001e40 0x00000002 Code RO 739 i.SysTick_Handler stm32f1xx_it.o
+ 0x08001e42 0x08001e42 0x00000002 PAD
+ 0x08001e44 0x08001e44 0x00000148 Code RO 18 i.SystemClock_Config main.o
+ 0x08001f8c 0x08001f8c 0x00000058 Code RO 1501 i.SystemInit system_stm32f1xx.o
+ 0x08001fe4 0x08001fe4 0x000000a0 Code RO 322 i.TIM2_DMA_Config tim.o
+ 0x08002084 0x08002084 0x00000002 Code RO 740 i.TIM2_IRQHandler stm32f1xx_it.o
+ 0x08002086 0x08002086 0x00000002 PAD
+ 0x08002088 0x08002088 0x0000004c Code RO 741 i.TIM3_IRQHandler stm32f1xx_it.o
+ 0x080020d4 0x080020d4 0x00000098 Code RO 742 i.USART1_IRQHandler stm32f1xx_it.o
+ 0x0800216c 0x0800216c 0x00000020 Code RO 743 i.USART3_IRQHandler stm32f1xx_it.o
+ 0x0800218c 0x0800218c 0x00000004 Code RO 744 i.UsageFault_Handler stm32f1xx_it.o
+ 0x08002190 0x08002190 0x0000001c Code RO 472 i.Usart_SendByte usart.o
+ 0x080021ac 0x080021ac 0x00000028 Code RO 473 i.Usart_SendString usart.o
+ 0x080021d4 0x080021d4 0x00000064 Code RO 323 i.WS2812_Data_Transfer tim.o
+ 0x08002238 0x08002238 0x000000a0 Code RO 324 i.WS2812_Light_All tim.o
+ 0x080022d8 0x080022d8 0x00000050 Code RO 325 i.WS2812_Light_Custom tim.o
+ 0x08002328 0x08002328 0x00000040 Code RO 326 i.WS2812_Light_One_By_One tim.o
+ 0x08002368 0x08002368 0x00000020 Code RO 1752 i.__0printf$8 mc_w.l(printf8.o)
+ 0x08002388 0x08002388 0x00000028 Code RO 1754 i.__0sprintf$8 mc_w.l(printf8.o)
+ 0x080023b0 0x080023b0 0x0000001a Code RO 223 i.__NVIC_EnableIRQ dma.o
+ 0x080023ca 0x080023ca 0x0000001a Code RO 327 i.__NVIC_EnableIRQ tim.o
+ 0x080023e4 0x080023e4 0x0000001a Code RO 474 i.__NVIC_EnableIRQ usart.o
+ 0x080023fe 0x080023fe 0x00000002 PAD
+ 0x08002400 0x08002400 0x00000010 Code RO 224 i.__NVIC_GetPriorityGrouping dma.o
+ 0x08002410 0x08002410 0x00000010 Code RO 328 i.__NVIC_GetPriorityGrouping tim.o
+ 0x08002420 0x08002420 0x00000010 Code RO 475 i.__NVIC_GetPriorityGrouping usart.o
+ 0x08002430 0x08002430 0x00000028 Code RO 225 i.__NVIC_SetPriority dma.o
+ 0x08002458 0x08002458 0x00000028 Code RO 329 i.__NVIC_SetPriority tim.o
+ 0x08002480 0x08002480 0x00000028 Code RO 476 i.__NVIC_SetPriority usart.o
+ 0x080024a8 0x080024a8 0x0000000e Code RO 1850 i.__scatterload_copy mc_w.l(handlers.o)
+ 0x080024b6 0x080024b6 0x00000002 Code RO 1851 i.__scatterload_null mc_w.l(handlers.o)
+ 0x080024b8 0x080024b8 0x0000000e Code RO 1852 i.__scatterload_zeroinit mc_w.l(handlers.o)
+ 0x080024c6 0x080024c6 0x00000002 PAD
+ 0x080024c8 0x080024c8 0x00000404 Code RO 1759 i._printf_core mc_w.l(printf8.o)
+ 0x080028cc 0x080028cc 0x00000024 Code RO 1760 i._printf_post_padding mc_w.l(printf8.o)
+ 0x080028f0 0x080028f0 0x0000002e Code RO 1761 i._printf_pre_padding mc_w.l(printf8.o)
+ 0x0800291e 0x0800291e 0x0000000a Code RO 1763 i._sputc mc_w.l(printf8.o)
+ 0x08002928 0x08002928 0x00000024 Code RO 477 i.fputc usart.o
+ 0x0800294c 0x0800294c 0x00000030 Code RO 478 i.hex2int usart.o
+ 0x0800297c 0x0800297c 0x0000004e Code RO 479 i.hex2str usart.o
+ 0x080029ca 0x080029ca 0x00000002 PAD
+ 0x080029cc 0x080029cc 0x0000029c Code RO 19 i.main main.o
+ 0x08002c68 0x08002c68 0x0000002a Data RO 331 .constdata tim.o
+ 0x08002c92 0x08002c92 0x0000002a Data RO 481 .constdata usart.o
+ 0x08002cbc 0x08002cbc 0x0000002a Data RO 745 .constdata stm32f1xx_it.o
+ 0x08002ce6 0x08002ce6 0x00000007 Data RO 962 .constdata stm32f1xx_ll_dma.o
+ 0x08002ced 0x08002ced 0x00000018 Data RO 1502 .constdata system_stm32f1xx.o
+ 0x08002d05 0x08002d05 0x00000003 PAD
+ 0x08002d08 0x08002d08 0x00000020 Data RO 1848 Region$$Table anon$$obj.o
- Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08002d2c, Size: 0x00000620, Max: 0x00005000, ABSOLUTE)
+ Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08002d28, Size: 0x00000620, Max: 0x00005000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
- 0x20000000 0x08002d2c 0x0000000b Data RW 21 .data main.o
- 0x2000000b 0x08002d37 0x000000c1 Data RW 332 .data tim.o
- 0x200000cc 0x08002df8 0x0000000a Data RW 482 .data usart.o
- 0x200000d6 0x08002e02 0x00000002 Data RW 746 .data stm32f1xx_it.o
- 0x200000d8 0x08002e04 0x00000004 Data RW 1503 .data system_stm32f1xx.o
- 0x200000dc 0x08002e08 0x00000004 Data RW 1822 .data mc_w.l(stdout.o)
+ 0x20000000 0x08002d28 0x0000000b Data RW 21 .data main.o
+ 0x2000000b 0x08002d33 0x000000c1 Data RW 332 .data tim.o
+ 0x200000cc 0x08002df4 0x0000000a Data RW 482 .data usart.o
+ 0x200000d6 0x08002dfe 0x00000002 Data RW 746 .data stm32f1xx_it.o
+ 0x200000d8 0x08002e00 0x00000004 Data RW 1503 .data system_stm32f1xx.o
+ 0x200000dc 0x08002e04 0x00000004 Data RW 1822 .data mc_w.l(stdout.o)
0x200000e0 - 0x00000018 Zero RW 330 .bss tim.o
0x200000f8 - 0x00000123 Zero RW 480 .bss usart.o
- 0x2000021b 0x08002e0c 0x00000005 PAD
+ 0x2000021b 0x08002e08 0x00000005 PAD
0x20000220 - 0x00000400 Zero RW 1 STACK startup_stm32f103xb.o
@@ -1470,12 +1469,12 @@ 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
- 3518 522 42 10 291 79641 usart.o
+ 3516 522 42 10 291 79641 usart.o
----------------------------------------------------------------------
- 9586 994 428 220 1344 809285 Object Totals
+ 9582 994 428 220 1344 809285 Object Totals
0 0 32 0 0 0 (incl. Generated)
- 22 0 3 0 5 0 (incl. Padding)
+ 20 0 3 0 5 0 (incl. Padding)
----------------------------------------------------------------------
@@ -1522,15 +1521,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
- 11136 1070 428 224 1344 803913 Grand Totals
- 11136 1070 428 224 1344 803913 ELF Image Totals
- 11136 1070 428 224 0 0 ROM Totals
+ 11132 1070 428 224 1344 803913 Grand Totals
+ 11132 1070 428 224 1344 803913 ELF Image Totals
+ 11132 1070 428 224 0 0 ROM Totals
==============================================================================
- Total RO Size (Code + RO Data) 11564 ( 11.29kB)
+ Total RO Size (Code + RO Data) 11560 ( 11.29kB)
Total RW Size (RW Data + ZI Data) 1568 ( 1.53kB)
- Total ROM Size (Code + RO Data + RW Data) 11788 ( 11.51kB)
+ Total ROM Size (Code + RO Data + RW Data) 11784 ( 11.51kB)
==============================================================================
diff --git a/MDK-ARM/LED_M100C_WS2812/dma.crf b/MDK-ARM/LED_M100C_WS2812/dma.crf
index 1d9779a..21e1235 100644
Binary files a/MDK-ARM/LED_M100C_WS2812/dma.crf and b/MDK-ARM/LED_M100C_WS2812/dma.crf differ
diff --git a/MDK-ARM/LED_M100C_WS2812/gpio.crf b/MDK-ARM/LED_M100C_WS2812/gpio.crf
index 38b0a7c..9bb6717 100644
Binary files a/MDK-ARM/LED_M100C_WS2812/gpio.crf and b/MDK-ARM/LED_M100C_WS2812/gpio.crf differ
diff --git a/MDK-ARM/LED_M100C_WS2812/iwdg.crf b/MDK-ARM/LED_M100C_WS2812/iwdg.crf
index 83a208c..76e70bf 100644
Binary files a/MDK-ARM/LED_M100C_WS2812/iwdg.crf and b/MDK-ARM/LED_M100C_WS2812/iwdg.crf differ
diff --git a/MDK-ARM/LED_M100C_WS2812/main.crf b/MDK-ARM/LED_M100C_WS2812/main.crf
index 90715e5..636fe33 100644
Binary files a/MDK-ARM/LED_M100C_WS2812/main.crf and b/MDK-ARM/LED_M100C_WS2812/main.crf differ
diff --git a/MDK-ARM/LED_M100C_WS2812/stm32f1xx_it.crf b/MDK-ARM/LED_M100C_WS2812/stm32f1xx_it.crf
index 95fd0b3..a703e48 100644
Binary files a/MDK-ARM/LED_M100C_WS2812/stm32f1xx_it.crf and b/MDK-ARM/LED_M100C_WS2812/stm32f1xx_it.crf differ
diff --git a/MDK-ARM/LED_M100C_WS2812/sys.crf b/MDK-ARM/LED_M100C_WS2812/sys.crf
index 281b70d..a30a880 100644
Binary files a/MDK-ARM/LED_M100C_WS2812/sys.crf and b/MDK-ARM/LED_M100C_WS2812/sys.crf differ
diff --git a/MDK-ARM/LED_M100C_WS2812/tim.crf b/MDK-ARM/LED_M100C_WS2812/tim.crf
index b7b8986..f2cea34 100644
Binary files a/MDK-ARM/LED_M100C_WS2812/tim.crf and b/MDK-ARM/LED_M100C_WS2812/tim.crf differ
diff --git a/MDK-ARM/LED_M100C_WS2812/usart.crf b/MDK-ARM/LED_M100C_WS2812/usart.crf
index 39d0a9c..feb6ef6 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 e72d568..adfc993 100644
--- a/Src/usart.c
+++ b/Src/usart.c
@@ -321,8 +321,7 @@ void Online_Data_Analysis(volatile uint8_t *Color) // Cloud command parsing fr
case 'P' : { // Config Radar parameters in following code
Set_PCR_Parameter(char_str , data_len);
}
- case 'V' : {
-
+ case 'V' : {
Reply_Version_Info();
}
}
@@ -389,8 +388,8 @@ void hex2str(char* hex , char* str )
void Reply_Version_Info()
{
- Node_Send_Data(userappctrlport, UnConfirmed , Red_Blue, 0x56, MajorVer, MinorVer);
- /* Red_Blue, V, 2 1 {08, 56 02 01} */
+ Node_Send_Data(userappctrlport, UnConfirmed , 0x56, MajorVer, MinorVer, SubMinorVer);
+ /* V 2.1.2 {56 02 01 02} */
}
void Set_PCR_Parameter(char *str,uint8_t len)