[3] | 1 | # 1 "D:\\projekte\\ecs_lipro\\branches\\lipro1-6_v2\\firmware\\startup\\startup_stm32g071xx.s" |
---|
| 2 | # 1 "<built-in>" |
---|
| 3 | # 1 "<command-line>" |
---|
| 4 | # 1 "D:\\projekte\\ecs_lipro\\branches\\lipro1-6_v2\\firmware\\startup\\startup_stm32g071xx.s" |
---|
| 5 | # 27 "D:\\projekte\\ecs_lipro\\branches\\lipro1-6_v2\\firmware\\startup\\startup_stm32g071xx.s" |
---|
| 6 | .syntax unified |
---|
| 7 | .cpu cortex-m0plus |
---|
| 8 | .fpu softvfp |
---|
| 9 | .thumb |
---|
| 10 | |
---|
| 11 | .global g_pfnVectors |
---|
| 12 | .global Default_Handler |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | .word _sidata |
---|
| 17 | |
---|
| 18 | .word _sdata |
---|
| 19 | |
---|
| 20 | .word _edata |
---|
| 21 | |
---|
| 22 | .word _sbss |
---|
| 23 | |
---|
| 24 | .word _ebss |
---|
| 25 | # 56 "D:\\projekte\\ecs_lipro\\branches\\lipro1-6_v2\\firmware\\startup\\startup_stm32g071xx.s" |
---|
| 26 | .section .text.Reset_Handler |
---|
| 27 | .weak Reset_Handler |
---|
| 28 | .type Reset_Handler, %function |
---|
| 29 | Reset_Handler: |
---|
| 30 | ldr r0, =_estack |
---|
| 31 | mov sp, r0 |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | bl SystemInit |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | ldr r0, =_sdata |
---|
| 38 | ldr r1, =_edata |
---|
| 39 | ldr r2, =_sidata |
---|
| 40 | movs r3, #0 |
---|
| 41 | b LoopCopyDataInit |
---|
| 42 | |
---|
| 43 | CopyDataInit: |
---|
| 44 | ldr r4, [r2, r3] |
---|
| 45 | str r4, [r0, r3] |
---|
| 46 | adds r3, r3, #4 |
---|
| 47 | |
---|
| 48 | LoopCopyDataInit: |
---|
| 49 | adds r4, r0, r3 |
---|
| 50 | cmp r4, r1 |
---|
| 51 | bcc CopyDataInit |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | ldr r2, =_sbss |
---|
| 55 | ldr r4, =_ebss |
---|
| 56 | movs r3, #0 |
---|
| 57 | b LoopFillZerobss |
---|
| 58 | |
---|
| 59 | FillZerobss: |
---|
| 60 | str r3, [r2] |
---|
| 61 | adds r2, r2, #4 |
---|
| 62 | |
---|
| 63 | LoopFillZerobss: |
---|
| 64 | cmp r2, r4 |
---|
| 65 | bcc FillZerobss |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | bl __libc_init_array |
---|
| 69 | |
---|
| 70 | bl main |
---|
| 71 | |
---|
| 72 | LoopForever: |
---|
| 73 | b LoopForever |
---|
| 74 | |
---|
| 75 | .size Reset_Handler, .-Reset_Handler |
---|
| 76 | # 115 "D:\\projekte\\ecs_lipro\\branches\\lipro1-6_v2\\firmware\\startup\\startup_stm32g071xx.s" |
---|
| 77 | .section .text.Default_Handler,"ax",%progbits |
---|
| 78 | Default_Handler: |
---|
| 79 | Infinite_Loop: |
---|
| 80 | b Infinite_Loop |
---|
| 81 | .size Default_Handler, .-Default_Handler |
---|
| 82 | # 128 "D:\\projekte\\ecs_lipro\\branches\\lipro1-6_v2\\firmware\\startup\\startup_stm32g071xx.s" |
---|
| 83 | .section .isr_vector,"a",%progbits |
---|
| 84 | .type g_pfnVectors, %object |
---|
| 85 | .size g_pfnVectors, .-g_pfnVectors |
---|
| 86 | |
---|
| 87 | g_pfnVectors: |
---|
| 88 | .word _estack |
---|
| 89 | .word Reset_Handler |
---|
| 90 | .word NMI_Handler |
---|
| 91 | .word HardFault_Handler |
---|
| 92 | .word 0 |
---|
| 93 | .word 0 |
---|
| 94 | .word 0 |
---|
| 95 | .word 0 |
---|
| 96 | .word 0 |
---|
| 97 | .word 0 |
---|
| 98 | .word 0 |
---|
| 99 | .word SVC_Handler |
---|
| 100 | .word 0 |
---|
| 101 | .word 0 |
---|
| 102 | .word PendSV_Handler |
---|
| 103 | .word SysTick_Handler |
---|
| 104 | .word WWDG_IRQHandler |
---|
| 105 | .word PVD_IRQHandler |
---|
| 106 | .word RTC_TAMP_IRQHandler |
---|
| 107 | .word FLASH_IRQHandler |
---|
| 108 | .word RCC_IRQHandler |
---|
| 109 | .word EXTI0_1_IRQHandler |
---|
| 110 | .word EXTI2_3_IRQHandler |
---|
| 111 | .word EXTI4_15_IRQHandler |
---|
| 112 | .word UCPD1_2_IRQHandler |
---|
| 113 | .word DMA1_Channel1_IRQHandler |
---|
| 114 | .word DMA1_Channel2_3_IRQHandler |
---|
| 115 | .word DMA1_Ch4_7_DMAMUX1_OVR_IRQHandler |
---|
| 116 | .word ADC1_COMP_IRQHandler |
---|
| 117 | .word TIM1_BRK_UP_TRG_COM_IRQHandler |
---|
| 118 | .word TIM1_CC_IRQHandler |
---|
| 119 | .word TIM2_IRQHandler |
---|
| 120 | .word TIM3_IRQHandler |
---|
| 121 | .word TIM6_DAC_LPTIM1_IRQHandler |
---|
| 122 | .word TIM7_LPTIM2_IRQHandler |
---|
| 123 | .word TIM14_IRQHandler |
---|
| 124 | .word TIM15_IRQHandler |
---|
| 125 | .word TIM16_IRQHandler |
---|
| 126 | .word TIM17_IRQHandler |
---|
| 127 | .word I2C1_IRQHandler |
---|
| 128 | .word I2C2_IRQHandler |
---|
| 129 | .word SPI1_IRQHandler |
---|
| 130 | .word SPI2_IRQHandler |
---|
| 131 | .word USART1_IRQHandler |
---|
| 132 | .word USART2_IRQHandler |
---|
| 133 | .word USART3_4_LPUART1_IRQHandler |
---|
| 134 | .word CEC_IRQHandler |
---|
| 135 | # 189 "D:\\projekte\\ecs_lipro\\branches\\lipro1-6_v2\\firmware\\startup\\startup_stm32g071xx.s" |
---|
| 136 | .weak NMI_Handler |
---|
| 137 | .thumb_set NMI_Handler,Default_Handler |
---|
| 138 | |
---|
| 139 | .weak HardFault_Handler |
---|
| 140 | .thumb_set HardFault_Handler,Default_Handler |
---|
| 141 | |
---|
| 142 | .weak SVC_Handler |
---|
| 143 | .thumb_set SVC_Handler,Default_Handler |
---|
| 144 | |
---|
| 145 | .weak PendSV_Handler |
---|
| 146 | .thumb_set PendSV_Handler,Default_Handler |
---|
| 147 | |
---|
| 148 | .weak SysTick_Handler |
---|
| 149 | .thumb_set SysTick_Handler,Default_Handler |
---|
| 150 | |
---|
| 151 | .weak WWDG_IRQHandler |
---|
| 152 | .thumb_set WWDG_IRQHandler,Default_Handler |
---|
| 153 | |
---|
| 154 | .weak PVD_IRQHandler |
---|
| 155 | .thumb_set PVD_IRQHandler,Default_Handler |
---|
| 156 | |
---|
| 157 | .weak RTC_TAMP_IRQHandler |
---|
| 158 | .thumb_set RTC_TAMP_IRQHandler,Default_Handler |
---|
| 159 | |
---|
| 160 | .weak FLASH_IRQHandler |
---|
| 161 | .thumb_set FLASH_IRQHandler,Default_Handler |
---|
| 162 | |
---|
| 163 | .weak RCC_IRQHandler |
---|
| 164 | .thumb_set RCC_IRQHandler,Default_Handler |
---|
| 165 | |
---|
| 166 | .weak EXTI0_1_IRQHandler |
---|
| 167 | .thumb_set EXTI0_1_IRQHandler,Default_Handler |
---|
| 168 | |
---|
| 169 | .weak EXTI2_3_IRQHandler |
---|
| 170 | .thumb_set EXTI2_3_IRQHandler,Default_Handler |
---|
| 171 | |
---|
| 172 | .weak EXTI4_15_IRQHandler |
---|
| 173 | .thumb_set EXTI4_15_IRQHandler,Default_Handler |
---|
| 174 | |
---|
| 175 | .weak UCPD1_2_IRQHandler |
---|
| 176 | .thumb_set UCPD1_2_IRQHandler,Default_Handler |
---|
| 177 | |
---|
| 178 | .weak DMA1_Channel1_IRQHandler |
---|
| 179 | .thumb_set DMA1_Channel1_IRQHandler,Default_Handler |
---|
| 180 | |
---|
| 181 | .weak DMA1_Channel2_3_IRQHandler |
---|
| 182 | .thumb_set DMA1_Channel2_3_IRQHandler,Default_Handler |
---|
| 183 | |
---|
| 184 | .weak DMA1_Ch4_7_DMAMUX1_OVR_IRQHandler |
---|
| 185 | .thumb_set DMA1_Ch4_7_DMAMUX1_OVR_IRQHandler,Default_Handler |
---|
| 186 | |
---|
| 187 | .weak ADC1_COMP_IRQHandler |
---|
| 188 | .thumb_set ADC1_COMP_IRQHandler,Default_Handler |
---|
| 189 | |
---|
| 190 | .weak TIM1_BRK_UP_TRG_COM_IRQHandler |
---|
| 191 | .thumb_set TIM1_BRK_UP_TRG_COM_IRQHandler,Default_Handler |
---|
| 192 | |
---|
| 193 | .weak TIM1_CC_IRQHandler |
---|
| 194 | .thumb_set TIM1_CC_IRQHandler,Default_Handler |
---|
| 195 | |
---|
| 196 | .weak TIM2_IRQHandler |
---|
| 197 | .thumb_set TIM2_IRQHandler,Default_Handler |
---|
| 198 | |
---|
| 199 | .weak TIM3_IRQHandler |
---|
| 200 | .thumb_set TIM3_IRQHandler,Default_Handler |
---|
| 201 | |
---|
| 202 | .weak TIM6_DAC_LPTIM1_IRQHandler |
---|
| 203 | .thumb_set TIM6_DAC_LPTIM1_IRQHandler,Default_Handler |
---|
| 204 | |
---|
| 205 | .weak TIM7_LPTIM2_IRQHandler |
---|
| 206 | .thumb_set TIM7_LPTIM2_IRQHandler,Default_Handler |
---|
| 207 | |
---|
| 208 | .weak TIM14_IRQHandler |
---|
| 209 | .thumb_set TIM14_IRQHandler,Default_Handler |
---|
| 210 | |
---|
| 211 | .weak TIM15_IRQHandler |
---|
| 212 | .thumb_set TIM15_IRQHandler,Default_Handler |
---|
| 213 | |
---|
| 214 | .weak TIM16_IRQHandler |
---|
| 215 | .thumb_set TIM16_IRQHandler,Default_Handler |
---|
| 216 | |
---|
| 217 | .weak TIM17_IRQHandler |
---|
| 218 | .thumb_set TIM17_IRQHandler,Default_Handler |
---|
| 219 | |
---|
| 220 | .weak I2C1_IRQHandler |
---|
| 221 | .thumb_set I2C1_IRQHandler,Default_Handler |
---|
| 222 | |
---|
| 223 | .weak I2C2_IRQHandler |
---|
| 224 | .thumb_set I2C2_IRQHandler,Default_Handler |
---|
| 225 | |
---|
| 226 | .weak SPI1_IRQHandler |
---|
| 227 | .thumb_set SPI1_IRQHandler,Default_Handler |
---|
| 228 | |
---|
| 229 | .weak SPI2_IRQHandler |
---|
| 230 | .thumb_set SPI2_IRQHandler,Default_Handler |
---|
| 231 | |
---|
| 232 | .weak USART1_IRQHandler |
---|
| 233 | .thumb_set USART1_IRQHandler,Default_Handler |
---|
| 234 | |
---|
| 235 | .weak USART2_IRQHandler |
---|
| 236 | .thumb_set USART2_IRQHandler,Default_Handler |
---|
| 237 | |
---|
| 238 | .weak USART3_4_LPUART1_IRQHandler |
---|
| 239 | .thumb_set USART3_4_LPUART1_IRQHandler,Default_Handler |
---|
| 240 | |
---|
| 241 | .weak CEC_IRQHandler |
---|
| 242 | .thumb_set CEC_IRQHandler,Default_Handler |
---|