File tree Expand file tree Collapse file tree 8 files changed +23
-23
lines changed
bsp/stm32/libraries/STM32G4xx_HAL/CMSIS/Device/ST/STM32G4xx/Source/Templates/gcc Expand file tree Collapse file tree 8 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ LoopCopyDataInit:
7979 adds r4 , r0 , r3
8080 cmp r4 , r1
8181 bcc CopyDataInit
82-
82+
8383/ * Zero fill the bss segment. * /
8484 ldr r2 , =_sbss
8585 ldr r4 , =_ebss
@@ -97,9 +97,9 @@ LoopFillZerobss:
9797/ * Call the clock system intitialization function. * /
9898 bl SystemInit
9999/ * Call static constructors * /
100- bl __libc_init_array
100+ / * bl __libc_init_array * /
101101/ * Call the application's entry point. * /
102- bl main
102+ bl entry
103103
104104LoopForever:
105105 b LoopForever
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ LoopCopyDataInit:
7979 adds r4 , r0 , r3
8080 cmp r4 , r1
8181 bcc CopyDataInit
82-
82+
8383/ * Zero fill the bss segment. * /
8484 ldr r2 , =_sbss
8585 ldr r4 , =_ebss
@@ -97,9 +97,9 @@ LoopFillZerobss:
9797/ * Call the clock system intitialization function. * /
9898 bl SystemInit
9999/ * Call static constructors * /
100- bl __libc_init_array
100+ / * bl __libc_init_array * /
101101/ * Call the application's entry point. * /
102- bl main
102+ bl entry
103103
104104LoopForever:
105105 b LoopForever
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ LoopCopyDataInit:
7979 adds r4 , r0 , r3
8080 cmp r4 , r1
8181 bcc CopyDataInit
82-
82+
8383/ * Zero fill the bss segment. * /
8484 ldr r2 , =_sbss
8585 ldr r4 , =_ebss
@@ -97,9 +97,9 @@ LoopFillZerobss:
9797/ * Call the clock system intitialization function. * /
9898 bl SystemInit
9999/ * Call static constructors * /
100- bl __libc_init_array
100+ / * bl __libc_init_array * /
101101/ * Call the application's entry point. * /
102- bl main
102+ bl entry
103103
104104LoopForever:
105105 b LoopForever
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ LoopCopyDataInit:
7979 adds r4 , r0 , r3
8080 cmp r4 , r1
8181 bcc CopyDataInit
82-
82+
8383/ * Zero fill the bss segment. * /
8484 ldr r2 , =_sbss
8585 ldr r4 , =_ebss
@@ -97,9 +97,9 @@ LoopFillZerobss:
9797/ * Call the clock system intitialization function. * /
9898 bl SystemInit
9999/ * Call static constructors * /
100- bl __libc_init_array
100+ / * bl __libc_init_array * /
101101/ * Call the application's entry point. * /
102- bl main
102+ bl entry
103103
104104LoopForever:
105105 b LoopForever
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ LoopCopyDataInit:
7979 adds r4 , r0 , r3
8080 cmp r4 , r1
8181 bcc CopyDataInit
82-
82+
8383/ * Zero fill the bss segment. * /
8484 ldr r2 , =_sbss
8585 ldr r4 , =_ebss
@@ -97,9 +97,9 @@ LoopFillZerobss:
9797/ * Call the clock system intitialization function. * /
9898 bl SystemInit
9999/ * Call static constructors * /
100- bl __libc_init_array
100+ / * bl __libc_init_array * /
101101/ * Call the application's entry point. * /
102- bl main
102+ bl entry
103103
104104LoopForever:
105105 b LoopForever
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ LoopCopyDataInit:
7979 adds r4 , r0 , r3
8080 cmp r4 , r1
8181 bcc CopyDataInit
82-
82+
8383/ * Zero fill the bss segment. * /
8484 ldr r2 , =_sbss
8585 ldr r4 , =_ebss
@@ -97,9 +97,9 @@ LoopFillZerobss:
9797/ * Call the clock system intitialization function. * /
9898 bl SystemInit
9999/ * Call static constructors * /
100- bl __libc_init_array
100+ / * bl __libc_init_array * /
101101/ * Call the application's entry point. * /
102- bl main
102+ bl entry
103103
104104LoopForever:
105105 b LoopForever
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ LoopCopyDataInit:
7878 adds r4 , r0 , r3
7979 cmp r4 , r1
8080 bcc CopyDataInit
81-
81+
8282/ * Zero fill the bss segment. * /
8383 ldr r2 , =_sbss
8484 ldr r4 , =_ebss
@@ -96,9 +96,9 @@ LoopFillZerobss:
9696/ * Call the clock system intitialization function. * /
9797 bl SystemInit
9898/ * Call static constructors * /
99- bl __libc_init_array
99+ / * bl __libc_init_array * /
100100/ * Call the application's entry point. * /
101- bl main
101+ bl entry
102102
103103LoopForever:
104104 b LoopForever
Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ LoopFillZerobss:
9393/* Call the clock system intitialization function.*/
9494 bl SystemInit
9595/* Call static constructors */
96- bl __libc_init_array
96+ /* bl __libc_init_array */
9797/* Call the application's entry point.*/
98- bl main
98+ bl entry
9999
100100LoopForever:
101101 b LoopForever
You can’t perform that action at this time.
0 commit comments