195 lines
10 KiB
Text
195 lines
10 KiB
Text
ARM GAS /tmp/ccC9zlKk.s page 1
|
||
|
||
|
||
1 .cpu cortex-m0
|
||
2 .eabi_attribute 20, 1
|
||
3 .eabi_attribute 21, 1
|
||
4 .eabi_attribute 23, 3
|
||
5 .eabi_attribute 24, 1
|
||
6 .eabi_attribute 25, 1
|
||
7 .eabi_attribute 26, 1
|
||
8 .eabi_attribute 30, 1
|
||
9 .eabi_attribute 34, 0
|
||
10 .eabi_attribute 18, 4
|
||
11 .file "usb_device.c"
|
||
12 .text
|
||
13 .Ltext0:
|
||
14 .cfi_sections .debug_frame
|
||
15 .section .text.MX_USB_HID_INIT,"ax",%progbits
|
||
16 .align 1
|
||
17 .global MX_USB_HID_INIT
|
||
18 .syntax unified
|
||
19 .code 16
|
||
20 .thumb_func
|
||
21 .fpu softvfp
|
||
23 MX_USB_HID_INIT:
|
||
24 .LFB43:
|
||
25 .file 1 "Src/usb_device.c"
|
||
1:Src/usb_device.c **** /**
|
||
2:Src/usb_device.c **** ******************************************************************************
|
||
3:Src/usb_device.c **** * @file : usb_device.c
|
||
4:Src/usb_device.c **** * @version : v2.0_Cube
|
||
5:Src/usb_device.c **** * @brief : This file implements the USB Device
|
||
6:Src/usb_device.c **** ******************************************************************************
|
||
7:Src/usb_device.c **** * This notice applies to any and all portions of this file
|
||
8:Src/usb_device.c **** * that are not between comment pairs USER CODE BEGIN and
|
||
9:Src/usb_device.c **** * USER CODE END. Other portions of this file, whether
|
||
10:Src/usb_device.c **** * inserted by the user or by software development tools
|
||
11:Src/usb_device.c **** * are owned by their respective copyright owners.
|
||
12:Src/usb_device.c **** *
|
||
13:Src/usb_device.c **** * Copyright (c) 2018 STMicroelectronics International N.V.
|
||
14:Src/usb_device.c **** * All rights reserved.
|
||
15:Src/usb_device.c **** *
|
||
16:Src/usb_device.c **** * Redistribution and use in source and binary forms, with or without
|
||
17:Src/usb_device.c **** * modification, are permitted, provided that the following conditions are met:
|
||
18:Src/usb_device.c **** *
|
||
19:Src/usb_device.c **** * 1. Redistribution of source code must retain the above copyright notice,
|
||
20:Src/usb_device.c **** * this list of conditions and the following disclaimer.
|
||
21:Src/usb_device.c **** * 2. Redistributions in binary form must reproduce the above copyright notice,
|
||
22:Src/usb_device.c **** * this list of conditions and the following disclaimer in the documentation
|
||
23:Src/usb_device.c **** * and/or other materials provided with the distribution.
|
||
24:Src/usb_device.c **** * 3. Neither the name of STMicroelectronics nor the names of other
|
||
25:Src/usb_device.c **** * contributors to this software may be used to endorse or promote products
|
||
26:Src/usb_device.c **** * derived from this software without specific written permission.
|
||
27:Src/usb_device.c **** * 4. This software, including modifications and/or derivative works of this
|
||
28:Src/usb_device.c **** * software, must execute solely and exclusively on microcontroller or
|
||
29:Src/usb_device.c **** * microprocessor devices manufactured by or for STMicroelectronics.
|
||
30:Src/usb_device.c **** * 5. Redistribution and use of this software other than as permitted under
|
||
31:Src/usb_device.c **** * this license is void and will automatically terminate your rights under
|
||
32:Src/usb_device.c **** * this license.
|
||
33:Src/usb_device.c **** *
|
||
ARM GAS /tmp/ccC9zlKk.s page 2
|
||
|
||
|
||
34:Src/usb_device.c **** * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
|
||
35:Src/usb_device.c **** * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
|
||
36:Src/usb_device.c **** * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||
37:Src/usb_device.c **** * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
|
||
38:Src/usb_device.c **** * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
|
||
39:Src/usb_device.c **** * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||
40:Src/usb_device.c **** * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||
41:Src/usb_device.c **** * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||
42:Src/usb_device.c **** * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||
43:Src/usb_device.c **** * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||
44:Src/usb_device.c **** * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||
45:Src/usb_device.c **** * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
46:Src/usb_device.c **** *
|
||
47:Src/usb_device.c **** ******************************************************************************
|
||
48:Src/usb_device.c **** */
|
||
49:Src/usb_device.c ****
|
||
50:Src/usb_device.c **** /* Includes ------------------------------------------------------------------*/
|
||
51:Src/usb_device.c ****
|
||
52:Src/usb_device.c **** #include "usb_device.h"
|
||
53:Src/usb_device.c **** #include "usbd_core.h"
|
||
54:Src/usb_device.c **** #include "usbd_desc.h"
|
||
55:Src/usb_device.c ****
|
||
56:Src/usb_device.c **** /* USER CODE BEGIN Includes */
|
||
57:Src/usb_device.c **** #include "usbd_hid.h"
|
||
58:Src/usb_device.c ****
|
||
59:Src/usb_device.c **** /* USER CODE END Includes */
|
||
60:Src/usb_device.c ****
|
||
61:Src/usb_device.c **** /* USER CODE BEGIN PV */
|
||
62:Src/usb_device.c **** /* Private variables ---------------------------------------------------------*/
|
||
63:Src/usb_device.c ****
|
||
64:Src/usb_device.c **** /* USER CODE END PV */
|
||
65:Src/usb_device.c ****
|
||
66:Src/usb_device.c **** /* USER CODE BEGIN PFP */
|
||
67:Src/usb_device.c **** /* Private function prototypes -----------------------------------------------*/
|
||
68:Src/usb_device.c ****
|
||
69:Src/usb_device.c **** /* USER CODE END PFP */
|
||
70:Src/usb_device.c ****
|
||
71:Src/usb_device.c **** /* USB Device Core handle declaration. */
|
||
72:Src/usb_device.c **** USBD_HandleTypeDef hUsbDeviceFS;
|
||
73:Src/usb_device.c ****
|
||
74:Src/usb_device.c **** /*
|
||
75:Src/usb_device.c **** * -- Insert your variables declaration here --
|
||
76:Src/usb_device.c **** */
|
||
77:Src/usb_device.c **** /* USER CODE BEGIN 0 */
|
||
78:Src/usb_device.c ****
|
||
79:Src/usb_device.c **** /* USER CODE END 0 */
|
||
80:Src/usb_device.c ****
|
||
81:Src/usb_device.c **** /*
|
||
82:Src/usb_device.c **** * -- Insert your external function declaration here --
|
||
83:Src/usb_device.c **** */
|
||
84:Src/usb_device.c **** /* USER CODE BEGIN 1 */
|
||
85:Src/usb_device.c ****
|
||
86:Src/usb_device.c **** void MX_USB_HID_INIT(void)
|
||
87:Src/usb_device.c **** {
|
||
26 .loc 1 87 0
|
||
27 .cfi_startproc
|
||
28 @ args = 0, pretend = 0, frame = 0
|
||
ARM GAS /tmp/ccC9zlKk.s page 3
|
||
|
||
|
||
29 @ frame_needed = 0, uses_anonymous_args = 0
|
||
30 0000 10B5 push {r4, lr}
|
||
31 .LCFI0:
|
||
32 .cfi_def_cfa_offset 8
|
||
33 .cfi_offset 4, -8
|
||
34 .cfi_offset 14, -4
|
||
88:Src/usb_device.c **** USBD_Init(&hUsbDeviceFS, &FS_Desc, DEVICE_FS);
|
||
35 .loc 1 88 0
|
||
36 0002 074C ldr r4, .L2
|
||
37 0004 0022 movs r2, #0
|
||
38 0006 0749 ldr r1, .L2+4
|
||
39 0008 2000 movs r0, r4
|
||
40 000a FFF7FEFF bl USBD_Init
|
||
41 .LVL0:
|
||
89:Src/usb_device.c ****
|
||
90:Src/usb_device.c **** USBD_RegisterClass(&hUsbDeviceFS, &USBD_HID);
|
||
42 .loc 1 90 0
|
||
43 000e 0649 ldr r1, .L2+8
|
||
44 0010 2000 movs r0, r4
|
||
45 0012 FFF7FEFF bl USBD_RegisterClass
|
||
46 .LVL1:
|
||
91:Src/usb_device.c ****
|
||
92:Src/usb_device.c **** USBD_Start(&hUsbDeviceFS);
|
||
47 .loc 1 92 0
|
||
48 0016 2000 movs r0, r4
|
||
49 0018 FFF7FEFF bl USBD_Start
|
||
50 .LVL2:
|
||
93:Src/usb_device.c **** }
|
||
51 .loc 1 93 0
|
||
52 @ sp needed
|
||
53 001c 10BD pop {r4, pc}
|
||
54 .L3:
|
||
55 001e C046 .align 2
|
||
56 .L2:
|
||
57 0020 00000000 .word hUsbDeviceFS
|
||
58 0024 00000000 .word FS_Desc
|
||
59 0028 00000000 .word USBD_HID
|
||
60 .cfi_endproc
|
||
61 .LFE43:
|
||
63 .comm hUsbDeviceFS,548,4
|
||
64 .text
|
||
65 .Letext0:
|
||
66 .file 2 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/machin
|
||
67 .file 3 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/sys/_s
|
||
68 .file 4 "Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h"
|
||
69 .file 5 "Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h"
|
||
70 .file 6 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/sys/lo
|
||
71 .file 7 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/sys/_t
|
||
72 .file 8 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/lib/gcc/arm-none-eabi/7.3.1/
|
||
73 .file 9 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/sys/re
|
||
74 .file 10 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/stdli
|
||
75 .file 11 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
|
||
76 .file 12 "Inc/usb_device.h"
|
||
77 .file 13 "Inc/usbd_desc.h"
|
||
78 .file 14 "Inc/usbd_hid.h"
|
||
79 .file 15 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h"
|
||
ARM GAS /tmp/ccC9zlKk.s page 4
|
||
|
||
|
||
DEFINED SYMBOLS
|
||
*ABS*:0000000000000000 usb_device.c
|
||
/tmp/ccC9zlKk.s:16 .text.MX_USB_HID_INIT:0000000000000000 $t
|
||
/tmp/ccC9zlKk.s:23 .text.MX_USB_HID_INIT:0000000000000000 MX_USB_HID_INIT
|
||
/tmp/ccC9zlKk.s:57 .text.MX_USB_HID_INIT:0000000000000020 $d
|
||
*COM*:0000000000000224 hUsbDeviceFS
|
||
|
||
UNDEFINED SYMBOLS
|
||
USBD_Init
|
||
USBD_RegisterClass
|
||
USBD_Start
|
||
FS_Desc
|
||
USBD_HID
|