ARM GAS /tmp/ccKCpqw4.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 "usb_device.c" 16 .text 17 .Ltext0: 18 .cfi_sections .debug_frame 19 .file 1 "Src/usb_device.c" 20 .section .text.MX_USB_Device_Init,"ax",%progbits 21 .align 1 22 .global MX_USB_Device_Init 23 .syntax unified 24 .thumb 25 .thumb_func 27 MX_USB_Device_Init: 28 .LFB333: 1:Src/usb_device.c **** /* USER CODE BEGIN Header */ 2:Src/usb_device.c **** /** 3:Src/usb_device.c **** ****************************************************************************** 4:Src/usb_device.c **** * @file : usb_device.c 5:Src/usb_device.c **** * @version : v3.0_Cube 6:Src/usb_device.c **** * @brief : This file implements the USB Device 7:Src/usb_device.c **** ****************************************************************************** 8:Src/usb_device.c **** * @attention 9:Src/usb_device.c **** * 10:Src/usb_device.c **** * Copyright (c) 2022 STMicroelectronics. 11:Src/usb_device.c **** * All rights reserved. 12:Src/usb_device.c **** * 13:Src/usb_device.c **** * This software is licensed under terms that can be found in the LICENSE file 14:Src/usb_device.c **** * in the root directory of this software component. 15:Src/usb_device.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 16:Src/usb_device.c **** * 17:Src/usb_device.c **** ****************************************************************************** 18:Src/usb_device.c **** */ 19:Src/usb_device.c **** /* USER CODE END Header */ 20:Src/usb_device.c **** 21:Src/usb_device.c **** /* Includes ------------------------------------------------------------------*/ 22:Src/usb_device.c **** 23:Src/usb_device.c **** #include "usb_device.h" 24:Src/usb_device.c **** #include "usbd_core.h" 25:Src/usb_device.c **** #include "usbd_desc.h" 26:Src/usb_device.c **** #include "usbd_audio.h" 27:Src/usb_device.c **** #include "usbd_audio_if.h" 28:Src/usb_device.c **** 29:Src/usb_device.c **** /* USER CODE BEGIN Includes */ 30:Src/usb_device.c **** ARM GAS /tmp/ccKCpqw4.s page 2 31:Src/usb_device.c **** /* USER CODE END Includes */ 32:Src/usb_device.c **** 33:Src/usb_device.c **** /* USER CODE BEGIN PV */ 34:Src/usb_device.c **** /* Private variables ---------------------------------------------------------*/ 35:Src/usb_device.c **** 36:Src/usb_device.c **** /* USER CODE END PV */ 37:Src/usb_device.c **** 38:Src/usb_device.c **** /* USER CODE BEGIN PFP */ 39:Src/usb_device.c **** /* Private function prototypes -----------------------------------------------*/ 40:Src/usb_device.c **** 41:Src/usb_device.c **** /* USER CODE END PFP */ 42:Src/usb_device.c **** 43:Src/usb_device.c **** extern void Error_Handler(void); 44:Src/usb_device.c **** /* USB Device Core handle declaration. */ 45:Src/usb_device.c **** USBD_HandleTypeDef hUsbDeviceFS; 46:Src/usb_device.c **** extern USBD_DescriptorsTypeDef AUDIO_Desc; 47:Src/usb_device.c **** 48:Src/usb_device.c **** /* 49:Src/usb_device.c **** * -- Insert your variables declaration here -- 50:Src/usb_device.c **** */ 51:Src/usb_device.c **** /* USER CODE BEGIN 0 */ 52:Src/usb_device.c **** 53:Src/usb_device.c **** /* USER CODE END 0 */ 54:Src/usb_device.c **** 55:Src/usb_device.c **** /* 56:Src/usb_device.c **** * -- Insert your external function declaration here -- 57:Src/usb_device.c **** */ 58:Src/usb_device.c **** /* USER CODE BEGIN 1 */ 59:Src/usb_device.c **** 60:Src/usb_device.c **** /* USER CODE END 1 */ 61:Src/usb_device.c **** 62:Src/usb_device.c **** /** 63:Src/usb_device.c **** * Init USB device Library, add supported class and start the library 64:Src/usb_device.c **** * @retval None 65:Src/usb_device.c **** */ 66:Src/usb_device.c **** void MX_USB_Device_Init(void) 67:Src/usb_device.c **** { 29 .loc 1 67 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 68:Src/usb_device.c **** /* USER CODE BEGIN USB_Device_Init_PreTreatment */ 69:Src/usb_device.c **** 70:Src/usb_device.c **** /* USER CODE END USB_Device_Init_PreTreatment */ 71:Src/usb_device.c **** 72:Src/usb_device.c **** /* Init Device Library, add supported class and start the library. */ 73:Src/usb_device.c **** if (USBD_Init(&hUsbDeviceFS, &AUDIO_Desc, DEVICE_FS) != USBD_OK) { 38 .loc 1 73 3 view .LVU1 39 .loc 1 73 7 is_stmt 0 view .LVU2 40 0002 0022 movs r2, #0 41 0004 0F49 ldr r1, .L11 42 0006 1048 ldr r0, .L11+4 ARM GAS /tmp/ccKCpqw4.s page 3 43 0008 FFF7FEFF bl USBD_Init 44 .LVL0: 45 .loc 1 73 6 view .LVU3 46 000c 70B9 cbnz r0, .L7 47 .L2: 74:Src/usb_device.c **** Error_Handler(); 75:Src/usb_device.c **** } 76:Src/usb_device.c **** if (USBD_RegisterClass(&hUsbDeviceFS, &USBD_AUDIO) != USBD_OK) { 48 .loc 1 76 3 is_stmt 1 view .LVU4 49 .loc 1 76 7 is_stmt 0 view .LVU5 50 000e 0F49 ldr r1, .L11+8 51 0010 0D48 ldr r0, .L11+4 52 0012 FFF7FEFF bl USBD_RegisterClass 53 .LVL1: 54 .loc 1 76 6 view .LVU6 55 0016 60B9 cbnz r0, .L8 56 .L3: 77:Src/usb_device.c **** Error_Handler(); 78:Src/usb_device.c **** } 79:Src/usb_device.c **** if (USBD_AUDIO_RegisterInterface(&hUsbDeviceFS, &USBD_AUDIO_fops_FS) != USBD_OK) { 57 .loc 1 79 3 is_stmt 1 view .LVU7 58 .loc 1 79 7 is_stmt 0 view .LVU8 59 0018 0D49 ldr r1, .L11+12 60 001a 0B48 ldr r0, .L11+4 61 001c FFF7FEFF bl USBD_AUDIO_RegisterInterface 62 .LVL2: 63 .loc 1 79 6 view .LVU9 64 0020 50B9 cbnz r0, .L9 65 .L4: 80:Src/usb_device.c **** Error_Handler(); 81:Src/usb_device.c **** } 82:Src/usb_device.c **** if (USBD_Start(&hUsbDeviceFS) != USBD_OK) { 66 .loc 1 82 3 is_stmt 1 view .LVU10 67 .loc 1 82 7 is_stmt 0 view .LVU11 68 0022 0948 ldr r0, .L11+4 69 0024 FFF7FEFF bl USBD_Start 70 .LVL3: 71 .loc 1 82 6 view .LVU12 72 0028 48B9 cbnz r0, .L10 73 .L1: 83:Src/usb_device.c **** Error_Handler(); 84:Src/usb_device.c **** } 85:Src/usb_device.c **** /* USER CODE BEGIN USB_Device_Init_PostTreatment */ 86:Src/usb_device.c **** 87:Src/usb_device.c **** /* USER CODE END USB_Device_Init_PostTreatment */ 88:Src/usb_device.c **** } 74 .loc 1 88 1 view .LVU13 75 002a 08BD pop {r3, pc} 76 .L7: 74:Src/usb_device.c **** } 77 .loc 1 74 5 is_stmt 1 view .LVU14 78 002c FFF7FEFF bl Error_Handler 79 .LVL4: 80 0030 EDE7 b .L2 81 .L8: 77:Src/usb_device.c **** } 82 .loc 1 77 5 view .LVU15 ARM GAS /tmp/ccKCpqw4.s page 4 83 0032 FFF7FEFF bl Error_Handler 84 .LVL5: 85 0036 EFE7 b .L3 86 .L9: 80:Src/usb_device.c **** } 87 .loc 1 80 5 view .LVU16 88 0038 FFF7FEFF bl Error_Handler 89 .LVL6: 90 003c F1E7 b .L4 91 .L10: 83:Src/usb_device.c **** } 92 .loc 1 83 5 view .LVU17 93 003e FFF7FEFF bl Error_Handler 94 .LVL7: 95 .loc 1 88 1 is_stmt 0 view .LVU18 96 0042 F2E7 b .L1 97 .L12: 98 .align 2 99 .L11: 100 0044 00000000 .word AUDIO_Desc 101 0048 00000000 .word hUsbDeviceFS 102 004c 00000000 .word USBD_AUDIO 103 0050 00000000 .word USBD_AUDIO_fops_FS 104 .cfi_endproc 105 .LFE333: 107 .global hUsbDeviceFS 108 .section .bss.hUsbDeviceFS,"aw",%nobits 109 .align 2 112 hUsbDeviceFS: 113 0000 00000000 .space 720 113 00000000 113 00000000 113 00000000 113 00000000 114 .text 115 .Letext0: 116 .file 2 "/usr/lib/gcc/arm-none-eabi/12.2.1/include/stdint.h" 117 .file 3 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h" 118 .file 4 "Middlewares/ST/STM32_USB_Device_Library/Class/AUDIO/Inc/usbd_audio.h" 119 .file 5 "Inc/usbd_desc.h" 120 .file 6 "Inc/usbd_audio_if.h" 121 .file 7 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h" ARM GAS /tmp/ccKCpqw4.s page 5 DEFINED SYMBOLS *ABS*:00000000 usb_device.c /tmp/ccKCpqw4.s:21 .text.MX_USB_Device_Init:00000000 $t /tmp/ccKCpqw4.s:27 .text.MX_USB_Device_Init:00000000 MX_USB_Device_Init /tmp/ccKCpqw4.s:100 .text.MX_USB_Device_Init:00000044 $d /tmp/ccKCpqw4.s:112 .bss.hUsbDeviceFS:00000000 hUsbDeviceFS /tmp/ccKCpqw4.s:109 .bss.hUsbDeviceFS:00000000 $d UNDEFINED SYMBOLS USBD_Init USBD_RegisterClass USBD_AUDIO_RegisterInterface USBD_Start Error_Handler AUDIO_Desc USBD_AUDIO USBD_AUDIO_fops_FS