ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 1


   1              		.cpu cortex-m3
   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, 1
  10              		.eabi_attribute 18, 4
  11              		.file	"main.c"
  12              		.text
  13              	.Ltext0:
  14              		.cfi_sections	.debug_frame
  15              		.section	.text.MX_GPIO_Init,"ax",%progbits
  16              		.align	1
  17              		.syntax unified
  18              		.thumb
  19              		.thumb_func
  20              		.fpu softvfp
  22              	MX_GPIO_Init:
  23              	.LFB69:
  24              		.file 1 "Src/main.c"
   1:Src/main.c    **** /* USER CODE BEGIN Header */
   2:Src/main.c    **** /**
   3:Src/main.c    ****   ******************************************************************************
   4:Src/main.c    ****   * @file           : main.c
   5:Src/main.c    ****   * @brief          : Main program body
   6:Src/main.c    ****   ******************************************************************************
   7:Src/main.c    ****   * @attention
   8:Src/main.c    ****   *
   9:Src/main.c    ****   * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
  10:Src/main.c    ****   * All rights reserved.</center></h2>
  11:Src/main.c    ****   *
  12:Src/main.c    ****   * This software component is licensed by ST under BSD 3-Clause license,
  13:Src/main.c    ****   * the "License"; You may not use this file except in compliance with the
  14:Src/main.c    ****   * License. You may obtain a copy of the License at:
  15:Src/main.c    ****   *                        opensource.org/licenses/BSD-3-Clause
  16:Src/main.c    ****   *
  17:Src/main.c    ****   ******************************************************************************
  18:Src/main.c    ****   */
  19:Src/main.c    **** /* USER CODE END Header */
  20:Src/main.c    **** 
  21:Src/main.c    **** /* Includes ------------------------------------------------------------------*/
  22:Src/main.c    **** #include "main.h"
  23:Src/main.c    **** #include "usb_device.h"
  24:Src/main.c    **** 
  25:Src/main.c    **** /* Private includes ----------------------------------------------------------*/
  26:Src/main.c    **** /* USER CODE BEGIN Includes */
  27:Src/main.c    **** 
  28:Src/main.c    **** /* USER CODE END Includes */
  29:Src/main.c    **** 
  30:Src/main.c    **** /* Private typedef -----------------------------------------------------------*/
  31:Src/main.c    **** /* USER CODE BEGIN PTD */
  32:Src/main.c    **** 
  33:Src/main.c    **** /* USER CODE END PTD */
  34:Src/main.c    **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 2


  35:Src/main.c    **** /* Private define ------------------------------------------------------------*/
  36:Src/main.c    **** /* USER CODE BEGIN PD */
  37:Src/main.c    **** /* USER CODE END PD */
  38:Src/main.c    **** 
  39:Src/main.c    **** /* Private macro -------------------------------------------------------------*/
  40:Src/main.c    **** /* USER CODE BEGIN PM */
  41:Src/main.c    **** 
  42:Src/main.c    **** /* USER CODE END PM */
  43:Src/main.c    **** 
  44:Src/main.c    **** /* Private variables ---------------------------------------------------------*/
  45:Src/main.c    **** UART_HandleTypeDef huart2;
  46:Src/main.c    **** 
  47:Src/main.c    **** /* USER CODE BEGIN PV */
  48:Src/main.c    **** 
  49:Src/main.c    **** /* USER CODE END PV */
  50:Src/main.c    **** 
  51:Src/main.c    **** /* Private function prototypes -----------------------------------------------*/
  52:Src/main.c    **** void SystemClock_Config(void);
  53:Src/main.c    **** static void MX_GPIO_Init(void);
  54:Src/main.c    **** static void MX_USART2_UART_Init(void);
  55:Src/main.c    **** /* USER CODE BEGIN PFP */
  56:Src/main.c    **** 
  57:Src/main.c    **** /* USER CODE END PFP */
  58:Src/main.c    **** 
  59:Src/main.c    **** /* Private user code ---------------------------------------------------------*/
  60:Src/main.c    **** /* USER CODE BEGIN 0 */
  61:Src/main.c    **** 
  62:Src/main.c    **** /* USER CODE END 0 */
  63:Src/main.c    **** 
  64:Src/main.c    **** /**
  65:Src/main.c    ****   * @brief  The application entry point.
  66:Src/main.c    ****   * @retval int
  67:Src/main.c    ****   */
  68:Src/main.c    **** int main(void)
  69:Src/main.c    **** {
  70:Src/main.c    ****   /* USER CODE BEGIN 1 */
  71:Src/main.c    **** 
  72:Src/main.c    ****   /* USER CODE END 1 */
  73:Src/main.c    **** 
  74:Src/main.c    ****   /* MCU Configuration--------------------------------------------------------*/
  75:Src/main.c    **** 
  76:Src/main.c    ****   /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
  77:Src/main.c    ****   HAL_Init();
  78:Src/main.c    **** 
  79:Src/main.c    ****   /* USER CODE BEGIN Init */
  80:Src/main.c    **** 
  81:Src/main.c    ****   /* USER CODE END Init */
  82:Src/main.c    **** 
  83:Src/main.c    ****   /* Configure the system clock */
  84:Src/main.c    ****   SystemClock_Config();
  85:Src/main.c    **** 
  86:Src/main.c    ****   /* USER CODE BEGIN SysInit */
  87:Src/main.c    **** 
  88:Src/main.c    ****   /* USER CODE END SysInit */
  89:Src/main.c    **** 
  90:Src/main.c    ****   /* Initialize all configured peripherals */
  91:Src/main.c    ****   MX_GPIO_Init();
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 3


  92:Src/main.c    ****   MX_USART2_UART_Init();
  93:Src/main.c    ****   MX_USB_DEVICE_Init();
  94:Src/main.c    ****   /* USER CODE BEGIN 2 */
  95:Src/main.c    **** 
  96:Src/main.c    ****   /* USER CODE END 2 */
  97:Src/main.c    **** 
  98:Src/main.c    ****   /* Infinite loop */
  99:Src/main.c    ****   /* USER CODE BEGIN WHILE */
 100:Src/main.c    ****   while (1)
 101:Src/main.c    ****   {
 102:Src/main.c    ****     /* USER CODE END WHILE */
 103:Src/main.c    **** 
 104:Src/main.c    ****     /* USER CODE BEGIN 3 */
 105:Src/main.c    ****   }
 106:Src/main.c    ****   /* USER CODE END 3 */
 107:Src/main.c    **** }
 108:Src/main.c    **** 
 109:Src/main.c    **** /**
 110:Src/main.c    ****   * @brief System Clock Configuration
 111:Src/main.c    ****   * @retval None
 112:Src/main.c    ****   */
 113:Src/main.c    **** void SystemClock_Config(void)
 114:Src/main.c    **** {
 115:Src/main.c    ****   RCC_OscInitTypeDef RCC_OscInitStruct = {0};
 116:Src/main.c    ****   RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
 117:Src/main.c    ****   RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
 118:Src/main.c    **** 
 119:Src/main.c    ****   /** Initializes the CPU, AHB and APB busses clocks 
 120:Src/main.c    ****   */
 121:Src/main.c    ****   RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
 122:Src/main.c    ****   RCC_OscInitStruct.HSEState = RCC_HSE_ON;
 123:Src/main.c    ****   RCC_OscInitStruct.HSEPredivValue = RCC_HSE_PREDIV_DIV1;
 124:Src/main.c    ****   RCC_OscInitStruct.HSIState = RCC_HSI_ON;
 125:Src/main.c    ****   RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
 126:Src/main.c    ****   RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
 127:Src/main.c    ****   RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL6;
 128:Src/main.c    ****   if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
 129:Src/main.c    ****   {
 130:Src/main.c    ****     Error_Handler();
 131:Src/main.c    ****   }
 132:Src/main.c    ****   /** Initializes the CPU, AHB and APB busses clocks 
 133:Src/main.c    ****   */
 134:Src/main.c    ****   RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
 135:Src/main.c    ****                               |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
 136:Src/main.c    ****   RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
 137:Src/main.c    ****   RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
 138:Src/main.c    ****   RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
 139:Src/main.c    ****   RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
 140:Src/main.c    **** 
 141:Src/main.c    ****   if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_1) != HAL_OK)
 142:Src/main.c    ****   {
 143:Src/main.c    ****     Error_Handler();
 144:Src/main.c    ****   }
 145:Src/main.c    ****   PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_USB;
 146:Src/main.c    ****   PeriphClkInit.UsbClockSelection = RCC_USBCLKSOURCE_PLL;
 147:Src/main.c    ****   if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
 148:Src/main.c    ****   {
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 4


 149:Src/main.c    ****     Error_Handler();
 150:Src/main.c    ****   }
 151:Src/main.c    **** }
 152:Src/main.c    **** 
 153:Src/main.c    **** /**
 154:Src/main.c    ****   * @brief USART2 Initialization Function
 155:Src/main.c    ****   * @param None
 156:Src/main.c    ****   * @retval None
 157:Src/main.c    ****   */
 158:Src/main.c    **** static void MX_USART2_UART_Init(void)
 159:Src/main.c    **** {
 160:Src/main.c    **** 
 161:Src/main.c    ****   /* USER CODE BEGIN USART2_Init 0 */
 162:Src/main.c    **** 
 163:Src/main.c    ****   /* USER CODE END USART2_Init 0 */
 164:Src/main.c    **** 
 165:Src/main.c    ****   /* USER CODE BEGIN USART2_Init 1 */
 166:Src/main.c    **** 
 167:Src/main.c    ****   /* USER CODE END USART2_Init 1 */
 168:Src/main.c    ****   huart2.Instance = USART2;
 169:Src/main.c    ****   huart2.Init.BaudRate = 115200;
 170:Src/main.c    ****   huart2.Init.WordLength = UART_WORDLENGTH_8B;
 171:Src/main.c    ****   huart2.Init.StopBits = UART_STOPBITS_1;
 172:Src/main.c    ****   huart2.Init.Parity = UART_PARITY_NONE;
 173:Src/main.c    ****   huart2.Init.Mode = UART_MODE_TX_RX;
 174:Src/main.c    ****   huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
 175:Src/main.c    ****   huart2.Init.OverSampling = UART_OVERSAMPLING_16;
 176:Src/main.c    ****   if (HAL_UART_Init(&huart2) != HAL_OK)
 177:Src/main.c    ****   {
 178:Src/main.c    ****     Error_Handler();
 179:Src/main.c    ****   }
 180:Src/main.c    ****   /* USER CODE BEGIN USART2_Init 2 */
 181:Src/main.c    **** 
 182:Src/main.c    ****   /* USER CODE END USART2_Init 2 */
 183:Src/main.c    **** 
 184:Src/main.c    **** }
 185:Src/main.c    **** 
 186:Src/main.c    **** /**
 187:Src/main.c    ****   * @brief GPIO Initialization Function
 188:Src/main.c    ****   * @param None
 189:Src/main.c    ****   * @retval None
 190:Src/main.c    ****   */
 191:Src/main.c    **** static void MX_GPIO_Init(void)
 192:Src/main.c    **** {
  25              		.loc 1 192 0
  26              		.cfi_startproc
  27              		@ args = 0, pretend = 0, frame = 24
  28              		@ frame_needed = 0, uses_anonymous_args = 0
  29 0000 30B5     		push	{r4, r5, lr}
  30              	.LCFI0:
  31              		.cfi_def_cfa_offset 12
  32              		.cfi_offset 4, -12
  33              		.cfi_offset 5, -8
  34              		.cfi_offset 14, -4
  35 0002 87B0     		sub	sp, sp, #28
  36              	.LCFI1:
  37              		.cfi_def_cfa_offset 40
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 5


 193:Src/main.c    ****   GPIO_InitTypeDef GPIO_InitStruct = {0};
  38              		.loc 1 193 0
  39 0004 0024     		movs	r4, #0
  40 0006 0294     		str	r4, [sp, #8]
  41 0008 0394     		str	r4, [sp, #12]
  42 000a 0494     		str	r4, [sp, #16]
  43 000c 0594     		str	r4, [sp, #20]
  44              	.LBB2:
 194:Src/main.c    **** 
 195:Src/main.c    ****   /* GPIO Ports Clock Enable */
 196:Src/main.c    ****   __HAL_RCC_GPIOD_CLK_ENABLE();
  45              		.loc 1 196 0
  46 000e 154B     		ldr	r3, .L3
  47 0010 9A69     		ldr	r2, [r3, #24]
  48 0012 42F02002 		orr	r2, r2, #32
  49 0016 9A61     		str	r2, [r3, #24]
  50 0018 9A69     		ldr	r2, [r3, #24]
  51 001a 02F02002 		and	r2, r2, #32
  52 001e 0092     		str	r2, [sp]
  53 0020 009A     		ldr	r2, [sp]
  54              	.LBE2:
  55              	.LBB3:
 197:Src/main.c    ****   __HAL_RCC_GPIOA_CLK_ENABLE();
  56              		.loc 1 197 0
  57 0022 9A69     		ldr	r2, [r3, #24]
  58 0024 42F00402 		orr	r2, r2, #4
  59 0028 9A61     		str	r2, [r3, #24]
  60 002a 9B69     		ldr	r3, [r3, #24]
  61 002c 03F00403 		and	r3, r3, #4
  62 0030 0193     		str	r3, [sp, #4]
  63 0032 019B     		ldr	r3, [sp, #4]
  64              	.LBE3:
 198:Src/main.c    **** 
 199:Src/main.c    ****   /*Configure GPIO pin Output Level */
 200:Src/main.c    ****   HAL_GPIO_WritePin(GPIOA, GPIO_PIN_4, GPIO_PIN_SET);
  65              		.loc 1 200 0
  66 0034 0C4D     		ldr	r5, .L3+4
  67 0036 0122     		movs	r2, #1
  68 0038 1021     		movs	r1, #16
  69 003a 2846     		mov	r0, r5
  70 003c FFF7FEFF 		bl	HAL_GPIO_WritePin
  71              	.LVL0:
 201:Src/main.c    **** 
 202:Src/main.c    ****   /*Configure GPIO pin Output Level */
 203:Src/main.c    ****   HAL_GPIO_WritePin(GPIOA, GPIO_PIN_5, GPIO_PIN_RESET);
  72              		.loc 1 203 0
  73 0040 2246     		mov	r2, r4
  74 0042 2021     		movs	r1, #32
  75 0044 2846     		mov	r0, r5
  76 0046 FFF7FEFF 		bl	HAL_GPIO_WritePin
  77              	.LVL1:
 204:Src/main.c    **** 
 205:Src/main.c    ****   /*Configure GPIO pins : PA4 PA5 */
 206:Src/main.c    ****   GPIO_InitStruct.Pin = GPIO_PIN_4|GPIO_PIN_5;
  78              		.loc 1 206 0
  79 004a 3023     		movs	r3, #48
  80 004c 0293     		str	r3, [sp, #8]
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 6


 207:Src/main.c    ****   GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  81              		.loc 1 207 0
  82 004e 0123     		movs	r3, #1
  83 0050 0393     		str	r3, [sp, #12]
 208:Src/main.c    ****   GPIO_InitStruct.Pull = GPIO_NOPULL;
  84              		.loc 1 208 0
  85 0052 0494     		str	r4, [sp, #16]
 209:Src/main.c    ****   GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  86              		.loc 1 209 0
  87 0054 0223     		movs	r3, #2
  88 0056 0593     		str	r3, [sp, #20]
 210:Src/main.c    ****   HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  89              		.loc 1 210 0
  90 0058 02A9     		add	r1, sp, #8
  91 005a 2846     		mov	r0, r5
  92 005c FFF7FEFF 		bl	HAL_GPIO_Init
  93              	.LVL2:
 211:Src/main.c    **** 
 212:Src/main.c    **** }
  94              		.loc 1 212 0
  95 0060 07B0     		add	sp, sp, #28
  96              	.LCFI2:
  97              		.cfi_def_cfa_offset 12
  98              		@ sp needed
  99 0062 30BD     		pop	{r4, r5, pc}
 100              	.L4:
 101              		.align	2
 102              	.L3:
 103 0064 00100240 		.word	1073876992
 104 0068 00080140 		.word	1073809408
 105              		.cfi_endproc
 106              	.LFE69:
 108              		.section	.text.MX_USART2_UART_Init,"ax",%progbits
 109              		.align	1
 110              		.syntax unified
 111              		.thumb
 112              		.thumb_func
 113              		.fpu softvfp
 115              	MX_USART2_UART_Init:
 116              	.LFB68:
 159:Src/main.c    **** 
 117              		.loc 1 159 0
 118              		.cfi_startproc
 119              		@ args = 0, pretend = 0, frame = 0
 120              		@ frame_needed = 0, uses_anonymous_args = 0
 121 0000 08B5     		push	{r3, lr}
 122              	.LCFI3:
 123              		.cfi_def_cfa_offset 8
 124              		.cfi_offset 3, -8
 125              		.cfi_offset 14, -4
 168:Src/main.c    ****   huart2.Init.BaudRate = 115200;
 126              		.loc 1 168 0
 127 0002 0848     		ldr	r0, .L7
 128 0004 084B     		ldr	r3, .L7+4
 129 0006 0360     		str	r3, [r0]
 169:Src/main.c    ****   huart2.Init.WordLength = UART_WORDLENGTH_8B;
 130              		.loc 1 169 0
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 7


 131 0008 4FF4E133 		mov	r3, #115200
 132 000c 4360     		str	r3, [r0, #4]
 170:Src/main.c    ****   huart2.Init.StopBits = UART_STOPBITS_1;
 133              		.loc 1 170 0
 134 000e 0023     		movs	r3, #0
 135 0010 8360     		str	r3, [r0, #8]
 171:Src/main.c    ****   huart2.Init.Parity = UART_PARITY_NONE;
 136              		.loc 1 171 0
 137 0012 C360     		str	r3, [r0, #12]
 172:Src/main.c    ****   huart2.Init.Mode = UART_MODE_TX_RX;
 138              		.loc 1 172 0
 139 0014 0361     		str	r3, [r0, #16]
 173:Src/main.c    ****   huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
 140              		.loc 1 173 0
 141 0016 0C22     		movs	r2, #12
 142 0018 4261     		str	r2, [r0, #20]
 174:Src/main.c    ****   huart2.Init.OverSampling = UART_OVERSAMPLING_16;
 143              		.loc 1 174 0
 144 001a 8361     		str	r3, [r0, #24]
 175:Src/main.c    ****   if (HAL_UART_Init(&huart2) != HAL_OK)
 145              		.loc 1 175 0
 146 001c C361     		str	r3, [r0, #28]
 176:Src/main.c    ****   {
 147              		.loc 1 176 0
 148 001e FFF7FEFF 		bl	HAL_UART_Init
 149              	.LVL3:
 150 0022 08BD     		pop	{r3, pc}
 151              	.L8:
 152              		.align	2
 153              	.L7:
 154 0024 00000000 		.word	huart2
 155 0028 00440040 		.word	1073759232
 156              		.cfi_endproc
 157              	.LFE68:
 159              		.section	.text.SystemClock_Config,"ax",%progbits
 160              		.align	1
 161              		.global	SystemClock_Config
 162              		.syntax unified
 163              		.thumb
 164              		.thumb_func
 165              		.fpu softvfp
 167              	SystemClock_Config:
 168              	.LFB67:
 114:Src/main.c    ****   RCC_OscInitTypeDef RCC_OscInitStruct = {0};
 169              		.loc 1 114 0
 170              		.cfi_startproc
 171              		@ args = 0, pretend = 0, frame = 80
 172              		@ frame_needed = 0, uses_anonymous_args = 0
 173 0000 70B5     		push	{r4, r5, r6, lr}
 174              	.LCFI4:
 175              		.cfi_def_cfa_offset 16
 176              		.cfi_offset 4, -16
 177              		.cfi_offset 5, -12
 178              		.cfi_offset 6, -8
 179              		.cfi_offset 14, -4
 180 0002 94B0     		sub	sp, sp, #80
 181              	.LCFI5:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 8


 182              		.cfi_def_cfa_offset 96
 115:Src/main.c    ****   RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
 183              		.loc 1 115 0
 184 0004 2822     		movs	r2, #40
 185 0006 0021     		movs	r1, #0
 186 0008 0DEB0200 		add	r0, sp, r2
 187 000c FFF7FEFF 		bl	memset
 188              	.LVL4:
 116:Src/main.c    ****   RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
 189              		.loc 1 116 0
 190 0010 0024     		movs	r4, #0
 191 0012 0594     		str	r4, [sp, #20]
 192 0014 0694     		str	r4, [sp, #24]
 193 0016 0794     		str	r4, [sp, #28]
 194 0018 0894     		str	r4, [sp, #32]
 195 001a 0994     		str	r4, [sp, #36]
 117:Src/main.c    **** 
 196              		.loc 1 117 0
 197 001c 0194     		str	r4, [sp, #4]
 198 001e 0294     		str	r4, [sp, #8]
 199 0020 0394     		str	r4, [sp, #12]
 200 0022 0494     		str	r4, [sp, #16]
 121:Src/main.c    ****   RCC_OscInitStruct.HSEState = RCC_HSE_ON;
 201              		.loc 1 121 0
 202 0024 0125     		movs	r5, #1
 203 0026 0A95     		str	r5, [sp, #40]
 122:Src/main.c    ****   RCC_OscInitStruct.HSEPredivValue = RCC_HSE_PREDIV_DIV1;
 204              		.loc 1 122 0
 205 0028 4FF48033 		mov	r3, #65536
 206 002c 0B93     		str	r3, [sp, #44]
 124:Src/main.c    ****   RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
 207              		.loc 1 124 0
 208 002e 0E95     		str	r5, [sp, #56]
 125:Src/main.c    ****   RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
 209              		.loc 1 125 0
 210 0030 0226     		movs	r6, #2
 211 0032 1196     		str	r6, [sp, #68]
 126:Src/main.c    ****   RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL6;
 212              		.loc 1 126 0
 213 0034 1293     		str	r3, [sp, #72]
 127:Src/main.c    ****   if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
 214              		.loc 1 127 0
 215 0036 4FF48013 		mov	r3, #1048576
 216 003a 1393     		str	r3, [sp, #76]
 128:Src/main.c    ****   {
 217              		.loc 1 128 0
 218 003c 0AA8     		add	r0, sp, #40
 219 003e FFF7FEFF 		bl	HAL_RCC_OscConfig
 220              	.LVL5:
 134:Src/main.c    ****                               |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
 221              		.loc 1 134 0
 222 0042 0F23     		movs	r3, #15
 223 0044 0593     		str	r3, [sp, #20]
 136:Src/main.c    ****   RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
 224              		.loc 1 136 0
 225 0046 0696     		str	r6, [sp, #24]
 137:Src/main.c    ****   RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 9


 226              		.loc 1 137 0
 227 0048 0794     		str	r4, [sp, #28]
 138:Src/main.c    ****   RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
 228              		.loc 1 138 0
 229 004a 4FF48063 		mov	r3, #1024
 230 004e 0893     		str	r3, [sp, #32]
 139:Src/main.c    **** 
 231              		.loc 1 139 0
 232 0050 0994     		str	r4, [sp, #36]
 141:Src/main.c    ****   {
 233              		.loc 1 141 0
 234 0052 2946     		mov	r1, r5
 235 0054 05A8     		add	r0, sp, #20
 236 0056 FFF7FEFF 		bl	HAL_RCC_ClockConfig
 237              	.LVL6:
 145:Src/main.c    ****   PeriphClkInit.UsbClockSelection = RCC_USBCLKSOURCE_PLL;
 238              		.loc 1 145 0
 239 005a 1023     		movs	r3, #16
 240 005c 0193     		str	r3, [sp, #4]
 146:Src/main.c    ****   if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
 241              		.loc 1 146 0
 242 005e 4FF48003 		mov	r3, #4194304
 243 0062 0493     		str	r3, [sp, #16]
 147:Src/main.c    ****   {
 244              		.loc 1 147 0
 245 0064 01A8     		add	r0, sp, #4
 246 0066 FFF7FEFF 		bl	HAL_RCCEx_PeriphCLKConfig
 247              	.LVL7:
 151:Src/main.c    **** 
 248              		.loc 1 151 0
 249 006a 14B0     		add	sp, sp, #80
 250              	.LCFI6:
 251              		.cfi_def_cfa_offset 16
 252              		@ sp needed
 253 006c 70BD     		pop	{r4, r5, r6, pc}
 254              		.cfi_endproc
 255              	.LFE67:
 257              		.section	.text.main,"ax",%progbits
 258              		.align	1
 259              		.global	main
 260              		.syntax unified
 261              		.thumb
 262              		.thumb_func
 263              		.fpu softvfp
 265              	main:
 266              	.LFB66:
  69:Src/main.c    ****   /* USER CODE BEGIN 1 */
 267              		.loc 1 69 0
 268              		.cfi_startproc
 269              		@ Volatile: function does not return.
 270              		@ args = 0, pretend = 0, frame = 0
 271              		@ frame_needed = 0, uses_anonymous_args = 0
 272 0000 08B5     		push	{r3, lr}
 273              	.LCFI7:
 274              		.cfi_def_cfa_offset 8
 275              		.cfi_offset 3, -8
 276              		.cfi_offset 14, -4
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 10


  77:Src/main.c    **** 
 277              		.loc 1 77 0
 278 0002 FFF7FEFF 		bl	HAL_Init
 279              	.LVL8:
  84:Src/main.c    **** 
 280              		.loc 1 84 0
 281 0006 FFF7FEFF 		bl	SystemClock_Config
 282              	.LVL9:
  91:Src/main.c    ****   MX_USART2_UART_Init();
 283              		.loc 1 91 0
 284 000a FFF7FEFF 		bl	MX_GPIO_Init
 285              	.LVL10:
  92:Src/main.c    ****   MX_USB_DEVICE_Init();
 286              		.loc 1 92 0
 287 000e FFF7FEFF 		bl	MX_USART2_UART_Init
 288              	.LVL11:
  93:Src/main.c    ****   /* USER CODE BEGIN 2 */
 289              		.loc 1 93 0
 290 0012 FFF7FEFF 		bl	MX_USB_DEVICE_Init
 291              	.LVL12:
 292              	.L12:
 293 0016 FEE7     		b	.L12
 294              		.cfi_endproc
 295              	.LFE66:
 297              		.section	.text.Error_Handler,"ax",%progbits
 298              		.align	1
 299              		.global	Error_Handler
 300              		.syntax unified
 301              		.thumb
 302              		.thumb_func
 303              		.fpu softvfp
 305              	Error_Handler:
 306              	.LFB70:
 213:Src/main.c    **** 
 214:Src/main.c    **** /* USER CODE BEGIN 4 */
 215:Src/main.c    **** 
 216:Src/main.c    **** /* USER CODE END 4 */
 217:Src/main.c    **** 
 218:Src/main.c    **** /**
 219:Src/main.c    ****   * @brief  This function is executed in case of error occurrence.
 220:Src/main.c    ****   * @retval None
 221:Src/main.c    ****   */
 222:Src/main.c    **** void Error_Handler(void)
 223:Src/main.c    **** {
 307              		.loc 1 223 0
 308              		.cfi_startproc
 309              		@ args = 0, pretend = 0, frame = 0
 310              		@ frame_needed = 0, uses_anonymous_args = 0
 311              		@ link register save eliminated.
 312 0000 7047     		bx	lr
 313              		.cfi_endproc
 314              	.LFE70:
 316              		.comm	huart2,64,4
 317              		.text
 318              	.Letext0:
 319              		.file 2 "c:\\program files (x86)\\gnu tools arm embedded\\6 2017-q2-update\\arm-none-eabi\\include
 320              		.file 3 "c:\\program files (x86)\\gnu tools arm embedded\\6 2017-q2-update\\arm-none-eabi\\include
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 11


 321              		.file 4 "Drivers/CMSIS/Include/core_cm3.h"
 322              		.file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
 323              		.file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102xb.h"
 324              		.file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
 325              		.file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h"
 326              		.file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h"
 327              		.file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
 328              		.file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
 329              		.file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h"
 330              		.file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
 331              		.file 14 "c:\\program files (x86)\\gnu tools arm embedded\\6 2017-q2-update\\arm-none-eabi\\includ
 332              		.file 15 "c:\\program files (x86)\\gnu tools arm embedded\\6 2017-q2-update\\arm-none-eabi\\includ
 333              		.file 16 "c:\\program files (x86)\\gnu tools arm embedded\\6 2017-q2-update\\lib\\gcc\\arm-none-ea
 334              		.file 17 "c:\\program files (x86)\\gnu tools arm embedded\\6 2017-q2-update\\arm-none-eabi\\includ
 335              		.file 18 "c:\\program files (x86)\\gnu tools arm embedded\\6 2017-q2-update\\arm-none-eabi\\includ
 336              		.file 19 "Inc/usb_device.h"
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s 			page 12


DEFINED SYMBOLS
                            *ABS*:00000000 main.c
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:16     .text.MX_GPIO_Init:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:22     .text.MX_GPIO_Init:00000000 MX_GPIO_Init
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:103    .text.MX_GPIO_Init:00000064 $d
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:109    .text.MX_USART2_UART_Init:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:115    .text.MX_USART2_UART_Init:00000000 MX_USART2_UART_Init
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:154    .text.MX_USART2_UART_Init:00000024 $d
                            *COM*:00000040 huart2
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:160    .text.SystemClock_Config:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:167    .text.SystemClock_Config:00000000 SystemClock_Config
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:258    .text.main:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:265    .text.main:00000000 main
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:298    .text.Error_Handler:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccIRFEPg.s:305    .text.Error_Handler:00000000 Error_Handler
                     .debug_frame:00000010 $d

UNDEFINED SYMBOLS
HAL_GPIO_WritePin
HAL_GPIO_Init
HAL_UART_Init
memset
HAL_RCC_OscConfig
HAL_RCC_ClockConfig
HAL_RCCEx_PeriphCLKConfig
HAL_Init
MX_USB_DEVICE_Init
