usb_device.lst 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. ARM GAS /tmp/cczQvVBm.s page 1
  2. 1 .cpu cortex-m3
  3. 2 .arch armv7-m
  4. 3 .fpu softvfp
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 1
  12. 11 .eabi_attribute 34, 1
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "usb_device.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.MX_USB_DEVICE_Init,"ax",%progbits
  19. 18 .align 1
  20. 19 .global MX_USB_DEVICE_Init
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 24 MX_USB_DEVICE_Init:
  25. 25 .LFB655:
  26. 26 .file 1 "USB_DEVICE/App/usb_device.c"
  27. 1:USB_DEVICE/App/usb_device.c **** /* USER CODE BEGIN Header */
  28. 2:USB_DEVICE/App/usb_device.c **** /**
  29. 3:USB_DEVICE/App/usb_device.c **** ******************************************************************************
  30. 4:USB_DEVICE/App/usb_device.c **** * @file : usb_device.c
  31. 5:USB_DEVICE/App/usb_device.c **** * @version : v2.0_Cube
  32. 6:USB_DEVICE/App/usb_device.c **** * @brief : This file implements the USB Device
  33. 7:USB_DEVICE/App/usb_device.c **** ******************************************************************************
  34. 8:USB_DEVICE/App/usb_device.c **** * @attention
  35. 9:USB_DEVICE/App/usb_device.c **** *
  36. 10:USB_DEVICE/App/usb_device.c **** * Copyright (c) 2024 STMicroelectronics.
  37. 11:USB_DEVICE/App/usb_device.c **** * All rights reserved.
  38. 12:USB_DEVICE/App/usb_device.c **** *
  39. 13:USB_DEVICE/App/usb_device.c **** * This software is licensed under terms that can be found in the LICENSE file
  40. 14:USB_DEVICE/App/usb_device.c **** * in the root directory of this software component.
  41. 15:USB_DEVICE/App/usb_device.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  42. 16:USB_DEVICE/App/usb_device.c **** *
  43. 17:USB_DEVICE/App/usb_device.c **** ******************************************************************************
  44. 18:USB_DEVICE/App/usb_device.c **** */
  45. 19:USB_DEVICE/App/usb_device.c **** /* USER CODE END Header */
  46. 20:USB_DEVICE/App/usb_device.c ****
  47. 21:USB_DEVICE/App/usb_device.c **** /* Includes ------------------------------------------------------------------*/
  48. 22:USB_DEVICE/App/usb_device.c ****
  49. 23:USB_DEVICE/App/usb_device.c **** #include "usb_device.h"
  50. 24:USB_DEVICE/App/usb_device.c **** #include "usbd_core.h"
  51. 25:USB_DEVICE/App/usb_device.c **** #include "usbd_desc.h"
  52. 26:USB_DEVICE/App/usb_device.c **** #include "usbd_cdc.h"
  53. 27:USB_DEVICE/App/usb_device.c **** #include "usbd_cdc_if.h"
  54. 28:USB_DEVICE/App/usb_device.c ****
  55. 29:USB_DEVICE/App/usb_device.c **** /* USER CODE BEGIN Includes */
  56. 30:USB_DEVICE/App/usb_device.c ****
  57. 31:USB_DEVICE/App/usb_device.c **** /* USER CODE END Includes */
  58. 32:USB_DEVICE/App/usb_device.c ****
  59. ARM GAS /tmp/cczQvVBm.s page 2
  60. 33:USB_DEVICE/App/usb_device.c **** /* USER CODE BEGIN PV */
  61. 34:USB_DEVICE/App/usb_device.c **** /* Private variables ---------------------------------------------------------*/
  62. 35:USB_DEVICE/App/usb_device.c ****
  63. 36:USB_DEVICE/App/usb_device.c **** /* USER CODE END PV */
  64. 37:USB_DEVICE/App/usb_device.c ****
  65. 38:USB_DEVICE/App/usb_device.c **** /* USER CODE BEGIN PFP */
  66. 39:USB_DEVICE/App/usb_device.c **** /* Private function prototypes -----------------------------------------------*/
  67. 40:USB_DEVICE/App/usb_device.c ****
  68. 41:USB_DEVICE/App/usb_device.c **** /* USER CODE END PFP */
  69. 42:USB_DEVICE/App/usb_device.c ****
  70. 43:USB_DEVICE/App/usb_device.c **** /* USB Device Core handle declaration. */
  71. 44:USB_DEVICE/App/usb_device.c **** USBD_HandleTypeDef hUsbDeviceFS;
  72. 45:USB_DEVICE/App/usb_device.c ****
  73. 46:USB_DEVICE/App/usb_device.c **** /*
  74. 47:USB_DEVICE/App/usb_device.c **** * -- Insert your variables declaration here --
  75. 48:USB_DEVICE/App/usb_device.c **** */
  76. 49:USB_DEVICE/App/usb_device.c **** /* USER CODE BEGIN 0 */
  77. 50:USB_DEVICE/App/usb_device.c ****
  78. 51:USB_DEVICE/App/usb_device.c **** /* USER CODE END 0 */
  79. 52:USB_DEVICE/App/usb_device.c ****
  80. 53:USB_DEVICE/App/usb_device.c **** /*
  81. 54:USB_DEVICE/App/usb_device.c **** * -- Insert your external function declaration here --
  82. 55:USB_DEVICE/App/usb_device.c **** */
  83. 56:USB_DEVICE/App/usb_device.c **** /* USER CODE BEGIN 1 */
  84. 57:USB_DEVICE/App/usb_device.c ****
  85. 58:USB_DEVICE/App/usb_device.c **** /* USER CODE END 1 */
  86. 59:USB_DEVICE/App/usb_device.c ****
  87. 60:USB_DEVICE/App/usb_device.c **** /**
  88. 61:USB_DEVICE/App/usb_device.c **** * Init USB device Library, add supported class and start the library
  89. 62:USB_DEVICE/App/usb_device.c **** * @retval None
  90. 63:USB_DEVICE/App/usb_device.c **** */
  91. 64:USB_DEVICE/App/usb_device.c **** void MX_USB_DEVICE_Init(void)
  92. 65:USB_DEVICE/App/usb_device.c **** {
  93. 27 .loc 1 65 1 view -0
  94. 28 .cfi_startproc
  95. 29 @ args = 0, pretend = 0, frame = 0
  96. 30 @ frame_needed = 0, uses_anonymous_args = 0
  97. 31 0000 08B5 push {r3, lr}
  98. 32 .LCFI0:
  99. 33 .cfi_def_cfa_offset 8
  100. 34 .cfi_offset 3, -8
  101. 35 .cfi_offset 14, -4
  102. 66:USB_DEVICE/App/usb_device.c **** /* USER CODE BEGIN USB_DEVICE_Init_PreTreatment */
  103. 67:USB_DEVICE/App/usb_device.c ****
  104. 68:USB_DEVICE/App/usb_device.c **** /* USER CODE END USB_DEVICE_Init_PreTreatment */
  105. 69:USB_DEVICE/App/usb_device.c ****
  106. 70:USB_DEVICE/App/usb_device.c **** /* Init Device Library, add supported class and start the library. */
  107. 71:USB_DEVICE/App/usb_device.c **** if (USBD_Init(&hUsbDeviceFS, &FS_Desc, DEVICE_FS) != USBD_OK)
  108. 36 .loc 1 71 3 view .LVU1
  109. 37 .loc 1 71 7 is_stmt 0 view .LVU2
  110. 38 0002 0022 movs r2, #0
  111. 39 0004 0F49 ldr r1, .L11
  112. 40 0006 1048 ldr r0, .L11+4
  113. 41 0008 FFF7FEFF bl USBD_Init
  114. 42 .LVL0:
  115. 43 .loc 1 71 6 view .LVU3
  116. 44 000c 70B9 cbnz r0, .L7
  117. ARM GAS /tmp/cczQvVBm.s page 3
  118. 45 .L2:
  119. 72:USB_DEVICE/App/usb_device.c **** {
  120. 73:USB_DEVICE/App/usb_device.c **** Error_Handler();
  121. 74:USB_DEVICE/App/usb_device.c **** }
  122. 75:USB_DEVICE/App/usb_device.c **** if (USBD_RegisterClass(&hUsbDeviceFS, &USBD_CDC) != USBD_OK)
  123. 46 .loc 1 75 3 is_stmt 1 view .LVU4
  124. 47 .loc 1 75 7 is_stmt 0 view .LVU5
  125. 48 000e 0F49 ldr r1, .L11+8
  126. 49 0010 0D48 ldr r0, .L11+4
  127. 50 0012 FFF7FEFF bl USBD_RegisterClass
  128. 51 .LVL1:
  129. 52 .loc 1 75 6 view .LVU6
  130. 53 0016 60B9 cbnz r0, .L8
  131. 54 .L3:
  132. 76:USB_DEVICE/App/usb_device.c **** {
  133. 77:USB_DEVICE/App/usb_device.c **** Error_Handler();
  134. 78:USB_DEVICE/App/usb_device.c **** }
  135. 79:USB_DEVICE/App/usb_device.c **** if (USBD_CDC_RegisterInterface(&hUsbDeviceFS, &USBD_Interface_fops_FS) != USBD_OK)
  136. 55 .loc 1 79 3 is_stmt 1 view .LVU7
  137. 56 .loc 1 79 7 is_stmt 0 view .LVU8
  138. 57 0018 0D49 ldr r1, .L11+12
  139. 58 001a 0B48 ldr r0, .L11+4
  140. 59 001c FFF7FEFF bl USBD_CDC_RegisterInterface
  141. 60 .LVL2:
  142. 61 .loc 1 79 6 view .LVU9
  143. 62 0020 50B9 cbnz r0, .L9
  144. 63 .L4:
  145. 80:USB_DEVICE/App/usb_device.c **** {
  146. 81:USB_DEVICE/App/usb_device.c **** Error_Handler();
  147. 82:USB_DEVICE/App/usb_device.c **** }
  148. 83:USB_DEVICE/App/usb_device.c **** if (USBD_Start(&hUsbDeviceFS) != USBD_OK)
  149. 64 .loc 1 83 3 is_stmt 1 view .LVU10
  150. 65 .loc 1 83 7 is_stmt 0 view .LVU11
  151. 66 0022 0948 ldr r0, .L11+4
  152. 67 0024 FFF7FEFF bl USBD_Start
  153. 68 .LVL3:
  154. 69 .loc 1 83 6 view .LVU12
  155. 70 0028 48B9 cbnz r0, .L10
  156. 71 .L1:
  157. 84:USB_DEVICE/App/usb_device.c **** {
  158. 85:USB_DEVICE/App/usb_device.c **** Error_Handler();
  159. 86:USB_DEVICE/App/usb_device.c **** }
  160. 87:USB_DEVICE/App/usb_device.c ****
  161. 88:USB_DEVICE/App/usb_device.c **** /* USER CODE BEGIN USB_DEVICE_Init_PostTreatment */
  162. 89:USB_DEVICE/App/usb_device.c ****
  163. 90:USB_DEVICE/App/usb_device.c **** /* USER CODE END USB_DEVICE_Init_PostTreatment */
  164. 91:USB_DEVICE/App/usb_device.c **** }
  165. 72 .loc 1 91 1 view .LVU13
  166. 73 002a 08BD pop {r3, pc}
  167. 74 .L7:
  168. 73:USB_DEVICE/App/usb_device.c **** }
  169. 75 .loc 1 73 5 is_stmt 1 view .LVU14
  170. 76 002c FFF7FEFF bl Error_Handler
  171. 77 .LVL4:
  172. 78 0030 EDE7 b .L2
  173. 79 .L8:
  174. 77:USB_DEVICE/App/usb_device.c **** }
  175. ARM GAS /tmp/cczQvVBm.s page 4
  176. 80 .loc 1 77 5 view .LVU15
  177. 81 0032 FFF7FEFF bl Error_Handler
  178. 82 .LVL5:
  179. 83 0036 EFE7 b .L3
  180. 84 .L9:
  181. 81:USB_DEVICE/App/usb_device.c **** }
  182. 85 .loc 1 81 5 view .LVU16
  183. 86 0038 FFF7FEFF bl Error_Handler
  184. 87 .LVL6:
  185. 88 003c F1E7 b .L4
  186. 89 .L10:
  187. 85:USB_DEVICE/App/usb_device.c **** }
  188. 90 .loc 1 85 5 view .LVU17
  189. 91 003e FFF7FEFF bl Error_Handler
  190. 92 .LVL7:
  191. 93 .loc 1 91 1 is_stmt 0 view .LVU18
  192. 94 0042 F2E7 b .L1
  193. 95 .L12:
  194. 96 .align 2
  195. 97 .L11:
  196. 98 0044 00000000 .word FS_Desc
  197. 99 0048 00000000 .word .LANCHOR0
  198. 100 004c 00000000 .word USBD_CDC
  199. 101 0050 00000000 .word USBD_Interface_fops_FS
  200. 102 .cfi_endproc
  201. 103 .LFE655:
  202. 105 .global hUsbDeviceFS
  203. 106 .section .bss.hUsbDeviceFS,"aw",%nobits
  204. 107 .align 2
  205. 108 .set .LANCHOR0,. + 0
  206. 111 hUsbDeviceFS:
  207. 112 0000 00000000 .space 708
  208. 112 00000000
  209. 112 00000000
  210. 112 00000000
  211. 112 00000000
  212. 113 .text
  213. 114 .Letext0:
  214. 115 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  215. 116 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  216. 117 .file 4 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h"
  217. 118 .file 5 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h"
  218. 119 .file 6 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
  219. 120 .file 7 "Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/usbd_cdc.h"
  220. 121 .file 8 "USB_DEVICE/App/usbd_desc.h"
  221. 122 .file 9 "USB_DEVICE/App/usbd_cdc_if.h"
  222. 123 .file 10 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h"
  223. 124 .file 11 "Core/Inc/main.h"
  224. ARM GAS /tmp/cczQvVBm.s page 5
  225. DEFINED SYMBOLS
  226. *ABS*:0000000000000000 usb_device.c
  227. /tmp/cczQvVBm.s:18 .text.MX_USB_DEVICE_Init:0000000000000000 $t
  228. /tmp/cczQvVBm.s:24 .text.MX_USB_DEVICE_Init:0000000000000000 MX_USB_DEVICE_Init
  229. /tmp/cczQvVBm.s:98 .text.MX_USB_DEVICE_Init:0000000000000044 $d
  230. /tmp/cczQvVBm.s:111 .bss.hUsbDeviceFS:0000000000000000 hUsbDeviceFS
  231. /tmp/cczQvVBm.s:107 .bss.hUsbDeviceFS:0000000000000000 $d
  232. UNDEFINED SYMBOLS
  233. USBD_Init
  234. USBD_RegisterClass
  235. USBD_CDC_RegisterInterface
  236. USBD_Start
  237. Error_Handler
  238. FS_Desc
  239. USBD_CDC
  240. USBD_Interface_fops_FS