compiles and works. But needs more testing

This commit is contained in:
2025-12-18 22:17:13 +03:00
parent 01dae2bccd
commit 7ff25c2893
50 changed files with 6884 additions and 6891 deletions

View File

@ -1,4 +1,4 @@
ARM GAS /tmp/ccFZwYvZ.s page 1
ARM GAS /tmp/ccrJlKbn.s page 1
1 .cpu cortex-m4
@ -58,7 +58,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** Subject to the specific hardware characteristics of each I/O port listed in the datasheet, each
28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** port bit of the General Purpose IO (GPIO) Ports, can be individually configured by software
29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** in several modes:
ARM GAS /tmp/ccFZwYvZ.s page 2
ARM GAS /tmp/ccrJlKbn.s page 2
30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** (+) Input mode
@ -118,7 +118,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c ****
85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** (#) To set/reset the level of a pin configured in output mode use
86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** HAL_GPIO_WritePin()/HAL_GPIO_TogglePin().
ARM GAS /tmp/ccFZwYvZ.s page 3
ARM GAS /tmp/ccrJlKbn.s page 3
87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c ****
@ -178,7 +178,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** * @brief Initialization and Configuration functions
142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** *
143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** @verbatim
ARM GAS /tmp/ccFZwYvZ.s page 4
ARM GAS /tmp/ccrJlKbn.s page 4
144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** ===============================================================================
@ -238,7 +238,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
49 0008 70B5 push {r4, r5, r6, lr}
50 .LCFI0:
51 .cfi_def_cfa_offset 16
ARM GAS /tmp/ccFZwYvZ.s page 5
ARM GAS /tmp/ccrJlKbn.s page 5
52 .cfi_offset 4, -16
@ -298,7 +298,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
86 0026 8460 str r4, [r0, #8]
198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c ****
199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** /* Configure the IO Output Type */
ARM GAS /tmp/ccFZwYvZ.s page 6
ARM GAS /tmp/ccrJlKbn.s page 6
200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** temp = GPIOx->OTYPER;
@ -358,7 +358,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
116 .loc 1 224 14 view .LVU39
117 003e 0834 adds r4, r4, #8
118 0040 50F82420 ldr r2, [r0, r4, lsl #2]
ARM GAS /tmp/ccFZwYvZ.s page 7
ARM GAS /tmp/ccrJlKbn.s page 7
119 .LVL11:
@ -418,7 +418,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
152 .loc 1 245 52 discriminator 40 view .LVU53
153 006a 02FA0EF2 lsl r2, r2, lr
154 .loc 1 245 14 discriminator 40 view .LVU54
ARM GAS /tmp/ccFZwYvZ.s page 8
ARM GAS /tmp/ccrJlKbn.s page 8
155 006e 2A43 orrs r2, r2, r5
@ -478,7 +478,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
196 .LVL21:
259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** if((GPIO_Init->Mode & TRIGGER_FALLING) != 0x00U)
197 .loc 1 259 9 is_stmt 1 view .LVU73
ARM GAS /tmp/ccFZwYvZ.s page 9
ARM GAS /tmp/ccrJlKbn.s page 9
198 .loc 1 259 11 is_stmt 0 view .LVU74
@ -538,7 +538,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** temp &= ~((uint32_t)iocurrent);
237 .loc 1 275 9 is_stmt 1 view .LVU91
238 .loc 1 275 14 is_stmt 0 view .LVU92
ARM GAS /tmp/ccFZwYvZ.s page 10
ARM GAS /tmp/ccrJlKbn.s page 10
239 00c2 2240 ands r2, r2, r4
@ -598,7 +598,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
279 00e6 32EA0404 bics r4, r2, r4
280 00ea F3D1 bne .L3
188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** (GPIO_Init->Mode & GPIO_MODE) == MODE_AF)
ARM GAS /tmp/ccFZwYvZ.s page 11
ARM GAS /tmp/ccrJlKbn.s page 11
281 .loc 1 188 7 is_stmt 1 view .LVU109
@ -658,7 +658,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** GPIOx->PUPDR = temp;
318 .loc 1 214 36 view .LVU127
319 0110 AA40 lsls r2, r2, r5
ARM GAS /tmp/ccFZwYvZ.s page 12
ARM GAS /tmp/ccrJlKbn.s page 12
214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** GPIOx->PUPDR = temp;
@ -718,7 +718,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** GPIOx->MODER = temp;
357 .loc 1 233 12 view .LVU145
358 013a 2243 orrs r2, r2, r4
ARM GAS /tmp/ccFZwYvZ.s page 13
ARM GAS /tmp/ccrJlKbn.s page 13
359 .LVL41:
@ -778,7 +778,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** temp |= ((uint32_t)(GPIO_GET_INDEX(GPIOx)) << (4U * (position & 0x03U)));
398 .loc 1 244 44 is_stmt 0 view .LVU161
399 0168 03F0030E and lr, r3, #3
ARM GAS /tmp/ccFZwYvZ.s page 14
ARM GAS /tmp/ccrJlKbn.s page 14
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** temp |= ((uint32_t)(GPIO_GET_INDEX(GPIOx)) << (4U * (position & 0x03U)));
@ -838,7 +838,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
441 .loc 1 245 29 discriminator 15 view .LVU174
442 01ba 02F58062 add r2, r2, #1024
443 01be 9042 cmp r0, r2
ARM GAS /tmp/ccFZwYvZ.s page 15
ARM GAS /tmp/ccrJlKbn.s page 15
444 01c0 14D0 beq .L21
@ -898,7 +898,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
487 .LVL48:
488 .L27:
281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** }
ARM GAS /tmp/ccFZwYvZ.s page 16
ARM GAS /tmp/ccrJlKbn.s page 16
282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** }
@ -958,7 +958,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** uint32_t ioposition = 0x00U;
530 .loc 1 297 3 view .LVU190
298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** uint32_t iocurrent = 0x00U;
ARM GAS /tmp/ccFZwYvZ.s page 17
ARM GAS /tmp/ccrJlKbn.s page 17
531 .loc 1 298 3 view .LVU191
@ -1018,7 +1018,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
565 .LVL53:
566 .L37:
318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** {
ARM GAS /tmp/ccFZwYvZ.s page 18
ARM GAS /tmp/ccrJlKbn.s page 18
319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** /* Clear EXTI line configuration */
@ -1078,7 +1078,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c ****
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** /* Configure the default value IO Output Type */
343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** GPIOx->OTYPER &= ~(GPIO_OTYPER_OT_0 << position) ;
ARM GAS /tmp/ccFZwYvZ.s page 19
ARM GAS /tmp/ccrJlKbn.s page 19
599 .loc 1 343 7 is_stmt 1 view .LVU216
@ -1138,7 +1138,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
639 007a 0EF10205 add r5, lr, #2
640 007e 304C ldr r4, .L56
641 0080 54F82540 ldr r4, [r4, r5, lsl #2]
ARM GAS /tmp/ccFZwYvZ.s page 20
ARM GAS /tmp/ccrJlKbn.s page 20
642 .LVL59:
@ -1198,7 +1198,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** {
683 .loc 1 317 29 discriminator 13 view .LVU247
684 00ca 05F58065 add r5, r5, #1024
ARM GAS /tmp/ccFZwYvZ.s page 21
ARM GAS /tmp/ccrJlKbn.s page 21
685 00ce A842 cmp r0, r5
@ -1258,7 +1258,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
728 0102 0825 movs r5, #8
729 0104 85E7 b .L36
730 .L53:
ARM GAS /tmp/ccFZwYvZ.s page 22
ARM GAS /tmp/ccrJlKbn.s page 22
320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** EXTI->EMR &= ~((uint32_t)iocurrent);
@ -1318,7 +1318,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
767 .loc 1 329 40 view .LVU276
768 0132 25EA0705 bic r5, r5, r7
769 0136 46F82450 str r5, [r6, r4, lsl #2]
ARM GAS /tmp/ccFZwYvZ.s page 23
ARM GAS /tmp/ccrJlKbn.s page 23
770 013a 6EE7 b .L37
@ -1378,7 +1378,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** * @brief Reads the specified input port pin.
369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** * @param GPIOx where x can be (A..K) to select the GPIO peripheral for STM32F429X device or
370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** * x can be (A..I) to select the GPIO peripheral for STM32F40XX and STM32F427
ARM GAS /tmp/ccFZwYvZ.s page 24
ARM GAS /tmp/ccrJlKbn.s page 24
371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** * @param GPIO_Pin specifies the port bit to read.
@ -1438,7 +1438,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
839 .thumb_func
841 HAL_GPIO_WritePin:
842 .LVL70:
ARM GAS /tmp/ccFZwYvZ.s page 25
ARM GAS /tmp/ccrJlKbn.s page 25
843 .LFB242:
@ -1498,7 +1498,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** }
865 .loc 1 424 1 view .LVU300
866 000a 7047 bx lr
ARM GAS /tmp/ccFZwYvZ.s page 26
ARM GAS /tmp/ccrJlKbn.s page 26
867 .cfi_endproc
@ -1558,7 +1558,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
902 0010 7047 bx lr
903 .cfi_endproc
904 .LFE243:
ARM GAS /tmp/ccFZwYvZ.s page 27
ARM GAS /tmp/ccrJlKbn.s page 27
906 .section .text.HAL_GPIO_LockPin,"ax",%progbits
@ -1618,7 +1618,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
938 0010 C361 str r3, [r0, #28]
469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** /* Reset LCKx bit(s): LCKK='0' + LCK[15-0] */
470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** GPIOx->LCKR = GPIO_Pin;
ARM GAS /tmp/ccFZwYvZ.s page 28
ARM GAS /tmp/ccrJlKbn.s page 28
939 .loc 1 470 3 is_stmt 1 view .LVU321
@ -1678,7 +1678,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
976 002c FBE7 b .L66
977 .cfi_endproc
978 .LFE244:
ARM GAS /tmp/ccFZwYvZ.s page 29
ARM GAS /tmp/ccrJlKbn.s page 29
980 .section .text.HAL_GPIO_EXTI_Callback,"ax",%progbits
@ -1738,7 +1738,7 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
1008 HAL_GPIO_EXTI_IRQHandler:
1009 .LVL80:
1010 .LFB245:
ARM GAS /tmp/ccFZwYvZ.s page 30
ARM GAS /tmp/ccrJlKbn.s page 30
493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c **** /* EXTI line interrupt detected */
@ -1794,29 +1794,29 @@ ARM GAS /tmp/ccFZwYvZ.s page 1
1053 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
1054 .file 5 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
1055 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h"
ARM GAS /tmp/ccFZwYvZ.s page 31
ARM GAS /tmp/ccrJlKbn.s page 31
DEFINED SYMBOLS
*ABS*:00000000 stm32f4xx_hal_gpio.c
/tmp/ccFZwYvZ.s:21 .text.HAL_GPIO_Init:00000000 $t
/tmp/ccFZwYvZ.s:27 .text.HAL_GPIO_Init:00000000 HAL_GPIO_Init
/tmp/ccFZwYvZ.s:508 .text.HAL_GPIO_Init:000001f8 $d
/tmp/ccFZwYvZ.s:516 .text.HAL_GPIO_DeInit:00000000 $t
/tmp/ccFZwYvZ.s:522 .text.HAL_GPIO_DeInit:00000000 HAL_GPIO_DeInit
/tmp/ccFZwYvZ.s:789 .text.HAL_GPIO_DeInit:00000140 $d
/tmp/ccFZwYvZ.s:796 .text.HAL_GPIO_ReadPin:00000000 $t
/tmp/ccFZwYvZ.s:802 .text.HAL_GPIO_ReadPin:00000000 HAL_GPIO_ReadPin
/tmp/ccFZwYvZ.s:835 .text.HAL_GPIO_WritePin:00000000 $t
/tmp/ccFZwYvZ.s:841 .text.HAL_GPIO_WritePin:00000000 HAL_GPIO_WritePin
/tmp/ccFZwYvZ.s:871 .text.HAL_GPIO_TogglePin:00000000 $t
/tmp/ccFZwYvZ.s:877 .text.HAL_GPIO_TogglePin:00000000 HAL_GPIO_TogglePin
/tmp/ccFZwYvZ.s:907 .text.HAL_GPIO_LockPin:00000000 $t
/tmp/ccFZwYvZ.s:913 .text.HAL_GPIO_LockPin:00000000 HAL_GPIO_LockPin
/tmp/ccFZwYvZ.s:981 .text.HAL_GPIO_EXTI_Callback:00000000 $t
/tmp/ccFZwYvZ.s:987 .text.HAL_GPIO_EXTI_Callback:00000000 HAL_GPIO_EXTI_Callback
/tmp/ccFZwYvZ.s:1002 .text.HAL_GPIO_EXTI_IRQHandler:00000000 $t
/tmp/ccFZwYvZ.s:1008 .text.HAL_GPIO_EXTI_IRQHandler:00000000 HAL_GPIO_EXTI_IRQHandler
/tmp/ccFZwYvZ.s:1045 .text.HAL_GPIO_EXTI_IRQHandler:00000018 $d
/tmp/ccrJlKbn.s:21 .text.HAL_GPIO_Init:00000000 $t
/tmp/ccrJlKbn.s:27 .text.HAL_GPIO_Init:00000000 HAL_GPIO_Init
/tmp/ccrJlKbn.s:508 .text.HAL_GPIO_Init:000001f8 $d
/tmp/ccrJlKbn.s:516 .text.HAL_GPIO_DeInit:00000000 $t
/tmp/ccrJlKbn.s:522 .text.HAL_GPIO_DeInit:00000000 HAL_GPIO_DeInit
/tmp/ccrJlKbn.s:789 .text.HAL_GPIO_DeInit:00000140 $d
/tmp/ccrJlKbn.s:796 .text.HAL_GPIO_ReadPin:00000000 $t
/tmp/ccrJlKbn.s:802 .text.HAL_GPIO_ReadPin:00000000 HAL_GPIO_ReadPin
/tmp/ccrJlKbn.s:835 .text.HAL_GPIO_WritePin:00000000 $t
/tmp/ccrJlKbn.s:841 .text.HAL_GPIO_WritePin:00000000 HAL_GPIO_WritePin
/tmp/ccrJlKbn.s:871 .text.HAL_GPIO_TogglePin:00000000 $t
/tmp/ccrJlKbn.s:877 .text.HAL_GPIO_TogglePin:00000000 HAL_GPIO_TogglePin
/tmp/ccrJlKbn.s:907 .text.HAL_GPIO_LockPin:00000000 $t
/tmp/ccrJlKbn.s:913 .text.HAL_GPIO_LockPin:00000000 HAL_GPIO_LockPin
/tmp/ccrJlKbn.s:981 .text.HAL_GPIO_EXTI_Callback:00000000 $t
/tmp/ccrJlKbn.s:987 .text.HAL_GPIO_EXTI_Callback:00000000 HAL_GPIO_EXTI_Callback
/tmp/ccrJlKbn.s:1002 .text.HAL_GPIO_EXTI_IRQHandler:00000000 $t
/tmp/ccrJlKbn.s:1008 .text.HAL_GPIO_EXTI_IRQHandler:00000000 HAL_GPIO_EXTI_IRQHandler
/tmp/ccrJlKbn.s:1045 .text.HAL_GPIO_EXTI_IRQHandler:00000018 $d
NO UNDEFINED SYMBOLS