ARM GAS /tmp/ccD42DPV.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 "usbd_cdc_interface.c" 12 .text 13 .Ltext0: 14 .cfi_sections .debug_frame 15 .section .text.CDC_Itf_DeInit,"ax",%progbits 16 .align 1 17 .syntax unified 18 .code 16 19 .thumb_func 20 .fpu softvfp 22 CDC_Itf_DeInit: 23 .LFB44: 24 .file 1 "Src/usbd_cdc_interface.c" 1:Src/usbd_cdc_interface.c **** #include "main.h" 2:Src/usbd_cdc_interface.c **** 3:Src/usbd_cdc_interface.c **** USBD_CDC_LineCodingTypeDef LineCoding = 4:Src/usbd_cdc_interface.c **** { 5:Src/usbd_cdc_interface.c **** 115200, /* baud rate*/ 6:Src/usbd_cdc_interface.c **** 0x00, /* stop bits-1*/ 7:Src/usbd_cdc_interface.c **** 0x00, /* parity - none*/ 8:Src/usbd_cdc_interface.c **** 0x08 /* nb. of bits 8*/ 9:Src/usbd_cdc_interface.c **** }; 10:Src/usbd_cdc_interface.c **** 11:Src/usbd_cdc_interface.c **** extern USBD_HandleTypeDef USBD_Device; 12:Src/usbd_cdc_interface.c **** 13:Src/usbd_cdc_interface.c **** static int8_t CDC_Itf_Init (void); 14:Src/usbd_cdc_interface.c **** static int8_t CDC_Itf_DeInit (void); 15:Src/usbd_cdc_interface.c **** static int8_t CDC_Itf_Control (uint8_t cmd, uint8_t* pbuf, uint16_t length); 16:Src/usbd_cdc_interface.c **** static int8_t CDC_Itf_Receive (uint8_t* pbuf, uint32_t *Len); 17:Src/usbd_cdc_interface.c **** 18:Src/usbd_cdc_interface.c **** static void ComPort_Config(void); 19:Src/usbd_cdc_interface.c **** 20:Src/usbd_cdc_interface.c **** USBD_CDC_ItfTypeDef USBD_CDC_fops = 21:Src/usbd_cdc_interface.c **** { 22:Src/usbd_cdc_interface.c **** CDC_Itf_Init, 23:Src/usbd_cdc_interface.c **** CDC_Itf_DeInit, 24:Src/usbd_cdc_interface.c **** CDC_Itf_Control, 25:Src/usbd_cdc_interface.c **** CDC_Itf_Receive 26:Src/usbd_cdc_interface.c **** }; 27:Src/usbd_cdc_interface.c **** 28:Src/usbd_cdc_interface.c **** static int8_t CDC_Itf_Init(void) 29:Src/usbd_cdc_interface.c **** { 30:Src/usbd_cdc_interface.c **** USBD_CDC_SetTxBuffer(&USBD_Device, UserTxBuffer, 0); 31:Src/usbd_cdc_interface.c **** USBD_CDC_SetRxBuffer(&USBD_Device, UserRxBuffer); 32:Src/usbd_cdc_interface.c **** 33:Src/usbd_cdc_interface.c **** return (USBD_OK); 34:Src/usbd_cdc_interface.c **** } ARM GAS /tmp/ccD42DPV.s page 2 35:Src/usbd_cdc_interface.c **** 36:Src/usbd_cdc_interface.c **** static int8_t CDC_Itf_DeInit (void){ 25 .loc 1 36 0 26 .cfi_startproc 27 @ args = 0, pretend = 0, frame = 0 28 @ frame_needed = 0, uses_anonymous_args = 0 29 @ link register save eliminated. 37:Src/usbd_cdc_interface.c **** 38:Src/usbd_cdc_interface.c **** } 30 .loc 1 38 0 31 @ sp needed 32 0000 7047 bx lr 33 .cfi_endproc 34 .LFE44: 36 .section .text.CDC_Itf_Control,"ax",%progbits 37 .align 1 38 .syntax unified 39 .code 16 40 .thumb_func 41 .fpu softvfp 43 CDC_Itf_Control: 44 .LFB45: 39:Src/usbd_cdc_interface.c **** 40:Src/usbd_cdc_interface.c **** static int8_t CDC_Itf_Control (uint8_t cmd, uint8_t* pbuf, uint16_t length){ 45 .loc 1 40 0 46 .cfi_startproc 47 @ args = 0, pretend = 0, frame = 0 48 @ frame_needed = 0, uses_anonymous_args = 0 49 @ link register save eliminated. 50 .LVL0: 51 .LVL1: 41:Src/usbd_cdc_interface.c **** 42:Src/usbd_cdc_interface.c **** } 52 .loc 1 42 0 53 @ sp needed 54 0000 7047 bx lr 55 .cfi_endproc 56 .LFE45: 58 .section .text.CDC_Itf_Receive,"ax",%progbits 59 .align 1 60 .syntax unified 61 .code 16 62 .thumb_func 63 .fpu softvfp 65 CDC_Itf_Receive: 66 .LFB46: 43:Src/usbd_cdc_interface.c **** 44:Src/usbd_cdc_interface.c **** static int8_t CDC_Itf_Receive (uint8_t* pbuf, uint32_t *Len){ 67 .loc 1 44 0 68 .cfi_startproc 69 @ args = 0, pretend = 0, frame = 0 70 @ frame_needed = 0, uses_anonymous_args = 0 71 @ link register save eliminated. 72 .LVL2: 73 .LVL3: 45:Src/usbd_cdc_interface.c **** 46:Src/usbd_cdc_interface.c **** } ARM GAS /tmp/ccD42DPV.s page 3 74 .loc 1 46 0 75 @ sp needed 76 0000 7047 bx lr 77 .cfi_endproc 78 .LFE46: 80 .section .text.CDC_Itf_Init,"ax",%progbits 81 .align 1 82 .syntax unified 83 .code 16 84 .thumb_func 85 .fpu softvfp 87 CDC_Itf_Init: 88 .LFB43: 29:Src/usbd_cdc_interface.c **** USBD_CDC_SetTxBuffer(&USBD_Device, UserTxBuffer, 0); 89 .loc 1 29 0 90 .cfi_startproc 91 @ args = 0, pretend = 0, frame = 0 92 @ frame_needed = 0, uses_anonymous_args = 0 93 0000 10B5 push {r4, lr} 94 .LCFI0: 95 .cfi_def_cfa_offset 8 96 .cfi_offset 4, -8 97 .cfi_offset 14, -4 30:Src/usbd_cdc_interface.c **** USBD_CDC_SetRxBuffer(&USBD_Device, UserRxBuffer); 98 .loc 1 30 0 99 0002 064C ldr r4, .L5 100 0004 0022 movs r2, #0 101 0006 0649 ldr r1, .L5+4 102 0008 2000 movs r0, r4 103 000a FFF7FEFF bl USBD_CDC_SetTxBuffer 104 .LVL4: 31:Src/usbd_cdc_interface.c **** 105 .loc 1 31 0 106 000e 0549 ldr r1, .L5+8 107 0010 2000 movs r0, r4 108 0012 FFF7FEFF bl USBD_CDC_SetRxBuffer 109 .LVL5: 34:Src/usbd_cdc_interface.c **** 110 .loc 1 34 0 111 0016 0020 movs r0, #0 112 @ sp needed 113 0018 10BD pop {r4, pc} 114 .L6: 115 001a C046 .align 2 116 .L5: 117 001c 00000000 .word USBD_Device 118 0020 00000000 .word UserTxBuffer 119 0024 00000000 .word UserRxBuffer 120 .cfi_endproc 121 .LFE43: 123 .global USBD_CDC_fops 124 .global LineCoding 125 .comm UserTxBuffer,512,4 126 .comm UserRxBuffer,512,4 127 .section .data.LineCoding,"aw",%progbits 128 .align 2 131 LineCoding: ARM GAS /tmp/ccD42DPV.s page 4 132 0000 00C20100 .word 115200 133 0004 00 .byte 0 134 0005 00 .byte 0 135 0006 08 .byte 8 136 0007 00 .space 1 137 .section .data.USBD_CDC_fops,"aw",%progbits 138 .align 2 141 USBD_CDC_fops: 142 0000 00000000 .word CDC_Itf_Init 143 0004 00000000 .word CDC_Itf_DeInit 144 0008 00000000 .word CDC_Itf_Control 145 000c 00000000 .word CDC_Itf_Receive 146 .text 147 .Letext0: 148 .file 2 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/machin 149 .file 3 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/sys/_s 150 .file 4 "Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h" 151 .file 5 "Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h" 152 .file 6 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/sys/lo 153 .file 7 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/sys/_t 154 .file 8 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/lib/gcc/arm-none-eabi/7.3.1/ 155 .file 9 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/sys/re 156 .file 10 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/stdli 157 .file 11 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h" 158 .file 12 "Inc/usbd_desc.h" 159 .file 13 "Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/usbd_cdc.h" 160 .file 14 "Inc/usbd_cdc_interface.h" ARM GAS /tmp/ccD42DPV.s page 5 DEFINED SYMBOLS *ABS*:0000000000000000 usbd_cdc_interface.c /tmp/ccD42DPV.s:16 .text.CDC_Itf_DeInit:0000000000000000 $t /tmp/ccD42DPV.s:22 .text.CDC_Itf_DeInit:0000000000000000 CDC_Itf_DeInit /tmp/ccD42DPV.s:37 .text.CDC_Itf_Control:0000000000000000 $t /tmp/ccD42DPV.s:43 .text.CDC_Itf_Control:0000000000000000 CDC_Itf_Control /tmp/ccD42DPV.s:59 .text.CDC_Itf_Receive:0000000000000000 $t /tmp/ccD42DPV.s:65 .text.CDC_Itf_Receive:0000000000000000 CDC_Itf_Receive /tmp/ccD42DPV.s:81 .text.CDC_Itf_Init:0000000000000000 $t /tmp/ccD42DPV.s:87 .text.CDC_Itf_Init:0000000000000000 CDC_Itf_Init /tmp/ccD42DPV.s:117 .text.CDC_Itf_Init:000000000000001c $d *COM*:0000000000000200 UserTxBuffer *COM*:0000000000000200 UserRxBuffer /tmp/ccD42DPV.s:141 .data.USBD_CDC_fops:0000000000000000 USBD_CDC_fops /tmp/ccD42DPV.s:131 .data.LineCoding:0000000000000000 LineCoding /tmp/ccD42DPV.s:128 .data.LineCoding:0000000000000000 $d /tmp/ccD42DPV.s:138 .data.USBD_CDC_fops:0000000000000000 $d UNDEFINED SYMBOLS USBD_CDC_SetTxBuffer USBD_CDC_SetRxBuffer USBD_Device