ARM GAS /tmp/ccw7539V.s page 1 1 .cpu cortex-m4 2 .arch armv7e-m 3 .fpu fpv4-sp-d16 4 .eabi_attribute 27, 1 5 .eabi_attribute 28, 1 6 .eabi_attribute 20, 1 7 .eabi_attribute 21, 1 8 .eabi_attribute 23, 3 9 .eabi_attribute 24, 1 10 .eabi_attribute 25, 1 11 .eabi_attribute 26, 1 12 .eabi_attribute 30, 1 13 .eabi_attribute 34, 1 14 .eabi_attribute 18, 4 15 .file "wwdg.c" 16 .text 17 .Ltext0: 18 .cfi_sections .debug_frame 19 .section .text.MX_WWDG_Init,"ax",%progbits 20 .align 1 21 .global MX_WWDG_Init 22 .syntax unified 23 .thumb 24 .thumb_func 26 MX_WWDG_Init: 27 .LFB134: 28 .file 1 "Src/wwdg.c" 1:Src/wwdg.c **** /* USER CODE BEGIN Header */ 2:Src/wwdg.c **** /** 3:Src/wwdg.c **** ****************************************************************************** 4:Src/wwdg.c **** * @file wwdg.c 5:Src/wwdg.c **** * @brief This file provides code for the configuration 6:Src/wwdg.c **** * of the WWDG instances. 7:Src/wwdg.c **** ****************************************************************************** 8:Src/wwdg.c **** * @attention 9:Src/wwdg.c **** * 10:Src/wwdg.c **** * Copyright (c) 2025 STMicroelectronics. 11:Src/wwdg.c **** * All rights reserved. 12:Src/wwdg.c **** * 13:Src/wwdg.c **** * This software is licensed under terms that can be found in the LICENSE file 14:Src/wwdg.c **** * in the root directory of this software component. 15:Src/wwdg.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 16:Src/wwdg.c **** * 17:Src/wwdg.c **** ****************************************************************************** 18:Src/wwdg.c **** */ 19:Src/wwdg.c **** /* USER CODE END Header */ 20:Src/wwdg.c **** /* Includes ------------------------------------------------------------------*/ 21:Src/wwdg.c **** #include "wwdg.h" 22:Src/wwdg.c **** 23:Src/wwdg.c **** /* USER CODE BEGIN 0 */ 24:Src/wwdg.c **** 25:Src/wwdg.c **** /* USER CODE END 0 */ 26:Src/wwdg.c **** 27:Src/wwdg.c **** WWDG_HandleTypeDef hwwdg; 28:Src/wwdg.c **** 29:Src/wwdg.c **** /* WWDG init function */ 30:Src/wwdg.c **** void MX_WWDG_Init(void) ARM GAS /tmp/ccw7539V.s page 2 31:Src/wwdg.c **** { 29 .loc 1 31 1 view -0 30 .cfi_startproc 31 @ args = 0, pretend = 0, frame = 0 32 @ frame_needed = 0, uses_anonymous_args = 0 33 0000 08B5 push {r3, lr} 34 .LCFI0: 35 .cfi_def_cfa_offset 8 36 .cfi_offset 3, -8 37 .cfi_offset 14, -4 32:Src/wwdg.c **** 33:Src/wwdg.c **** /* USER CODE BEGIN WWDG_Init 0 */ 34:Src/wwdg.c **** 35:Src/wwdg.c **** /* USER CODE END WWDG_Init 0 */ 36:Src/wwdg.c **** 37:Src/wwdg.c **** /* USER CODE BEGIN WWDG_Init 1 */ 38:Src/wwdg.c **** 39:Src/wwdg.c **** /* USER CODE END WWDG_Init 1 */ 40:Src/wwdg.c **** hwwdg.Instance = WWDG; 38 .loc 1 40 3 view .LVU1 39 .loc 1 40 18 is_stmt 0 view .LVU2 40 0002 0848 ldr r0, .L5 41 0004 084B ldr r3, .L5+4 42 0006 0360 str r3, [r0] 41:Src/wwdg.c **** hwwdg.Init.Prescaler = WWDG_PRESCALER_1; 43 .loc 1 41 3 is_stmt 1 view .LVU3 44 .loc 1 41 24 is_stmt 0 view .LVU4 45 0008 0023 movs r3, #0 46 000a 4360 str r3, [r0, #4] 42:Src/wwdg.c **** hwwdg.Init.Window = 64; 47 .loc 1 42 3 is_stmt 1 view .LVU5 48 .loc 1 42 21 is_stmt 0 view .LVU6 49 000c 4022 movs r2, #64 50 000e 8260 str r2, [r0, #8] 43:Src/wwdg.c **** hwwdg.Init.Counter = 64; 51 .loc 1 43 3 is_stmt 1 view .LVU7 52 .loc 1 43 22 is_stmt 0 view .LVU8 53 0010 C260 str r2, [r0, #12] 44:Src/wwdg.c **** hwwdg.Init.EWIMode = WWDG_EWI_DISABLE; 54 .loc 1 44 3 is_stmt 1 view .LVU9 55 .loc 1 44 22 is_stmt 0 view .LVU10 56 0012 0361 str r3, [r0, #16] 45:Src/wwdg.c **** if (HAL_WWDG_Init(&hwwdg) != HAL_OK) 57 .loc 1 45 3 is_stmt 1 view .LVU11 58 .loc 1 45 7 is_stmt 0 view .LVU12 59 0014 FFF7FEFF bl HAL_WWDG_Init 60 .LVL0: 61 .loc 1 45 6 view .LVU13 62 0018 00B9 cbnz r0, .L4 63 .L1: 46:Src/wwdg.c **** { 47:Src/wwdg.c **** Error_Handler(); 48:Src/wwdg.c **** } 49:Src/wwdg.c **** /* USER CODE BEGIN WWDG_Init 2 */ 50:Src/wwdg.c **** 51:Src/wwdg.c **** /* USER CODE END WWDG_Init 2 */ 52:Src/wwdg.c **** ARM GAS /tmp/ccw7539V.s page 3 53:Src/wwdg.c **** } 64 .loc 1 53 1 view .LVU14 65 001a 08BD pop {r3, pc} 66 .L4: 47:Src/wwdg.c **** } 67 .loc 1 47 5 is_stmt 1 view .LVU15 68 001c FFF7FEFF bl Error_Handler 69 .LVL1: 70 .loc 1 53 1 is_stmt 0 view .LVU16 71 0020 FBE7 b .L1 72 .L6: 73 0022 00BF .align 2 74 .L5: 75 0024 00000000 .word .LANCHOR0 76 0028 002C0040 .word 1073753088 77 .cfi_endproc 78 .LFE134: 80 .section .text.HAL_WWDG_MspInit,"ax",%progbits 81 .align 1 82 .global HAL_WWDG_MspInit 83 .syntax unified 84 .thumb 85 .thumb_func 87 HAL_WWDG_MspInit: 88 .LVL2: 89 .LFB135: 54:Src/wwdg.c **** 55:Src/wwdg.c **** void HAL_WWDG_MspInit(WWDG_HandleTypeDef* wwdgHandle) 56:Src/wwdg.c **** { 90 .loc 1 56 1 is_stmt 1 view -0 91 .cfi_startproc 92 @ args = 0, pretend = 0, frame = 8 93 @ frame_needed = 0, uses_anonymous_args = 0 94 @ link register save eliminated. 57:Src/wwdg.c **** 58:Src/wwdg.c **** if(wwdgHandle->Instance==WWDG) 95 .loc 1 58 3 view .LVU18 96 .loc 1 58 16 is_stmt 0 view .LVU19 97 0000 0268 ldr r2, [r0] 98 .loc 1 58 5 view .LVU20 99 0002 094B ldr r3, .L14 100 0004 9A42 cmp r2, r3 101 0006 00D0 beq .L13 102 0008 7047 bx lr 103 .L13: 56:Src/wwdg.c **** 104 .loc 1 56 1 view .LVU21 105 000a 82B0 sub sp, sp, #8 106 .LCFI1: 107 .cfi_def_cfa_offset 8 59:Src/wwdg.c **** { 60:Src/wwdg.c **** /* USER CODE BEGIN WWDG_MspInit 0 */ 61:Src/wwdg.c **** 62:Src/wwdg.c **** /* USER CODE END WWDG_MspInit 0 */ 63:Src/wwdg.c **** /* WWDG clock enable */ 64:Src/wwdg.c **** __HAL_RCC_WWDG_CLK_ENABLE(); 108 .loc 1 64 5 is_stmt 1 view .LVU22 ARM GAS /tmp/ccw7539V.s page 4 109 .LBB2: 110 .loc 1 64 5 view .LVU23 111 000c 0023 movs r3, #0 112 000e 0193 str r3, [sp, #4] 113 .loc 1 64 5 view .LVU24 114 0010 064B ldr r3, .L14+4 115 0012 1A6C ldr r2, [r3, #64] 116 0014 42F40062 orr r2, r2, #2048 117 0018 1A64 str r2, [r3, #64] 118 .loc 1 64 5 view .LVU25 119 001a 1B6C ldr r3, [r3, #64] 120 001c 03F40063 and r3, r3, #2048 121 0020 0193 str r3, [sp, #4] 122 .loc 1 64 5 view .LVU26 123 0022 019B ldr r3, [sp, #4] 124 .LBE2: 125 .loc 1 64 5 view .LVU27 65:Src/wwdg.c **** /* USER CODE BEGIN WWDG_MspInit 1 */ 66:Src/wwdg.c **** 67:Src/wwdg.c **** /* USER CODE END WWDG_MspInit 1 */ 68:Src/wwdg.c **** } 69:Src/wwdg.c **** } 126 .loc 1 69 1 is_stmt 0 view .LVU28 127 0024 02B0 add sp, sp, #8 128 .LCFI2: 129 .cfi_def_cfa_offset 0 130 @ sp needed 131 0026 7047 bx lr 132 .L15: 133 .align 2 134 .L14: 135 0028 002C0040 .word 1073753088 136 002c 00380240 .word 1073887232 137 .cfi_endproc 138 .LFE135: 140 .global hwwdg 141 .section .bss.hwwdg,"aw",%nobits 142 .align 2 143 .set .LANCHOR0,. + 0 146 hwwdg: 147 0000 00000000 .space 20 147 00000000 147 00000000 147 00000000 147 00000000 148 .text 149 .Letext0: 150 .file 2 "/home/jfen/toolchain/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/machine/_defaul 151 .file 3 "/home/jfen/toolchain/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/sys/_stdint.h" 152 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h" 153 .file 5 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_wwdg.h" 154 .file 6 "Inc/main.h" 155 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h" 156 .file 8 "Inc/wwdg.h" ARM GAS /tmp/ccw7539V.s page 5 DEFINED SYMBOLS *ABS*:0000000000000000 wwdg.c /tmp/ccw7539V.s:20 .text.MX_WWDG_Init:0000000000000000 $t /tmp/ccw7539V.s:26 .text.MX_WWDG_Init:0000000000000000 MX_WWDG_Init /tmp/ccw7539V.s:75 .text.MX_WWDG_Init:0000000000000024 $d /tmp/ccw7539V.s:81 .text.HAL_WWDG_MspInit:0000000000000000 $t /tmp/ccw7539V.s:87 .text.HAL_WWDG_MspInit:0000000000000000 HAL_WWDG_MspInit /tmp/ccw7539V.s:135 .text.HAL_WWDG_MspInit:0000000000000028 $d /tmp/ccw7539V.s:146 .bss.hwwdg:0000000000000000 hwwdg /tmp/ccw7539V.s:142 .bss.hwwdg:0000000000000000 $d UNDEFINED SYMBOLS HAL_WWDG_Init Error_Handler