From e3d28cbb2bbf0c65af4d3d57e649f7ef0a6cbdb6 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期六, 13 八月 2022 21:50:01 +0800 Subject: [PATCH] 1 --- MDK-ARM/startup_stm32l051xx.lst | 95 +++++++++++++++++++++++++++++++++-------------- 1 files changed, 66 insertions(+), 29 deletions(-) diff --git a/MDK-ARM/startup_stm32l051xx.lst b/MDK-ARM/startup_stm32l051xx.lst index dfaf93d..e66459c 100644 --- a/MDK-ARM/startup_stm32l051xx.lst +++ b/MDK-ARM/startup_stm32l051xx.lst @@ -217,9 +217,9 @@ WEAK] 133 00000000 IMPORT __main 134 00000000 IMPORT SystemInit - 135 00000000 4804 LDR R0, =SystemInit + 135 00000000 4807 LDR R0, =SystemInit 136 00000002 4780 BLX R0 - 137 00000004 4804 LDR R0, =__main + 137 00000004 4807 LDR R0, =__main 138 00000006 4700 BX R0 139 00000008 ENDP 140 00000008 @@ -360,24 +360,42 @@ 227 00000014 ;******************************************************* ************************ 228 00000014 IF :DEF:__MICROLIB - 229 00000014 - 230 00000014 EXPORT __initial_sp - 231 00000014 EXPORT __heap_base - 232 00000014 EXPORT __heap_limit - 233 00000014 - 234 00000014 ELSE - 249 ENDIF - 250 00000014 - 251 00000014 END + 235 00000014 + 236 00000014 IMPORT __use_two_region_memory + 237 00000014 EXPORT __user_initial_stackheap + 238 00000014 + 239 00000014 __user_initial_stackheap + 240 00000014 + 241 00000014 4804 LDR R0, = Heap_Mem + 242 00000016 4905 LDR R1, =(Stack_Mem + Stack_Size) + 243 00000018 4A05 LDR R2, = (Heap_Mem + Heap_Size) + 244 0000001A 4B06 LDR R3, = Stack_Mem + 245 0000001C 4770 BX LR + 246 0000001E + 247 0000001E 00 00 ALIGN + 248 00000020 + 249 00000020 ENDIF + 250 00000020 + 251 00000020 END 00000000 + 00000000 + 00000000 + 00000400 + 00000200 00000000 Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0+ --apcs=inter work --depend=l051\startup_stm32l051xx.d -ol051\startup_stm32l051xx.o -I.\RTE\_ L051 -ID:\Users\zhyin\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Includ e -ID:\Users\zhyin\AppData\Local\Arm\Packs\Keil\STM32L0xx_DFP\2.1.0\Drivers\CMS -IS\Device\ST\STM32L0xx\Include --predefine="__MICROLIB SETA 1" --predefine="__U -VISION_VERSION SETA 529" --predefine="_RTE_ SETA 1" --predefine="STM32L051xx SE -TA 1" --list=startup_stm32l051xx.lst startup_stm32l051xx.s +IS\Device\ST\STM32L0xx\Include --predefine="__UVISION_VERSION SETA 529" --prede + + + +ARM Macro Assembler Page 7 + + +fine="_RTE_ SETA 1" --predefine="STM32L051xx SETA 1" --list=startup_stm32l051xx +.lst startup_stm32l051xx.s @@ -398,8 +416,9 @@ Definitions At line 48 in file startup_stm32l051xx.s Uses - None -Comment: Stack_Mem unused + At line 242 in file startup_stm32l051xx.s + At line 244 in file startup_stm32l051xx.s + __initial_sp 00000400 Symbol: __initial_sp @@ -407,8 +426,7 @@ At line 49 in file startup_stm32l051xx.s Uses At line 73 in file startup_stm32l051xx.s - At line 230 in file startup_stm32l051xx.s - +Comment: __initial_sp used once 3 symbols @@ -430,24 +448,25 @@ Definitions At line 60 in file startup_stm32l051xx.s Uses - None -Comment: Heap_Mem unused + At line 241 in file startup_stm32l051xx.s + At line 243 in file startup_stm32l051xx.s + __heap_base 00000000 Symbol: __heap_base Definitions At line 59 in file startup_stm32l051xx.s Uses - At line 231 in file startup_stm32l051xx.s -Comment: __heap_base used once + None +Comment: __heap_base unused __heap_limit 00000200 Symbol: __heap_limit Definitions At line 61 in file startup_stm32l051xx.s Uses - At line 232 in file startup_stm32l051xx.s -Comment: __heap_limit used once + None +Comment: __heap_limit unused 4 symbols @@ -798,7 +817,15 @@ At line 91 in file startup_stm32l051xx.s At line 167 in file startup_stm32l051xx.s -32 symbols +__user_initial_stackheap 00000014 + +Symbol: __user_initial_stackheap + Definitions + At line 239 in file startup_stm32l051xx.s + Uses + At line 237 in file startup_stm32l051xx.s +Comment: __user_initial_stackheap used once +33 symbols @@ -812,7 +839,8 @@ At line 56 in file startup_stm32l051xx.s Uses At line 60 in file startup_stm32l051xx.s -Comment: Heap_Size used once + At line 243 in file startup_stm32l051xx.s + Stack_Size 00000400 Symbol: Stack_Size @@ -820,7 +848,8 @@ At line 45 in file startup_stm32l051xx.s Uses At line 48 in file startup_stm32l051xx.s -Comment: Stack_Size used once + At line 242 in file startup_stm32l051xx.s + __Vectors_Size 000000C0 Symbol: __Vectors_Size @@ -852,5 +881,13 @@ Uses At line 137 in file startup_stm32l051xx.s Comment: __main used once -2 symbols -383 symbols in table +__use_two_region_memory 00000000 + +Symbol: __use_two_region_memory + Definitions + At line 236 in file startup_stm32l051xx.s + Uses + None +Comment: __use_two_region_memory unused +3 symbols +386 symbols in table -- Gitblit v1.9.3