ARM GAS  /tmp/ccKjaXMq.s 			page 1


   1              		.cpu cortex-m7
   2              		.arch armv7e-m
   3              		.fpu fpv5-d16
   4              		.eabi_attribute 28, 1
   5              		.eabi_attribute 20, 1
   6              		.eabi_attribute 21, 1
   7              		.eabi_attribute 23, 3
   8              		.eabi_attribute 24, 1
   9              		.eabi_attribute 25, 1
  10              		.eabi_attribute 26, 1
  11              		.eabi_attribute 30, 1
  12              		.eabi_attribute 34, 1
  13              		.eabi_attribute 18, 4
  14              		.file	"fatfs_platform.c"
  15              		.text
  16              	.Ltext0:
  17              		.cfi_sections	.debug_frame
  18              		.file 1 "Src/fatfs_platform.c"
  19              		.section	.text.BSP_PlatformIsDetected,"ax",%progbits
  20              		.align	1
  21              		.global	BSP_PlatformIsDetected
  22              		.syntax unified
  23              		.thumb
  24              		.thumb_func
  26              	BSP_PlatformIsDetected:
  27              	.LFB141:
   1:Src/fatfs_platform.c **** /* USER CODE BEGIN Header */
   2:Src/fatfs_platform.c **** /**
   3:Src/fatfs_platform.c ****   ******************************************************************************
   4:Src/fatfs_platform.c ****   * @file           : fatfs_platform.c
   5:Src/fatfs_platform.c ****   * @brief          : fatfs_platform source file
   6:Src/fatfs_platform.c ****   ******************************************************************************
   7:Src/fatfs_platform.c ****   * @attention
   8:Src/fatfs_platform.c ****   *
   9:Src/fatfs_platform.c ****   * Copyright (c) 2023 STMicroelectronics.
  10:Src/fatfs_platform.c ****   * All rights reserved.
  11:Src/fatfs_platform.c ****   *
  12:Src/fatfs_platform.c ****   * This software is licensed under terms that can be found in the LICENSE file
  13:Src/fatfs_platform.c ****   * in the root directory of this software component.
  14:Src/fatfs_platform.c ****   * If no LICENSE file comes with this software, it is provided AS-IS.
  15:Src/fatfs_platform.c ****   *
  16:Src/fatfs_platform.c ****   ******************************************************************************
  17:Src/fatfs_platform.c **** */
  18:Src/fatfs_platform.c **** /* USER CODE END Header */
  19:Src/fatfs_platform.c **** #include "fatfs_platform.h"
  20:Src/fatfs_platform.c **** 
  21:Src/fatfs_platform.c **** uint8_t	BSP_PlatformIsDetected(void) {
  28              		.loc 1 21 38 view -0
  29              		.cfi_startproc
  30              		@ args = 0, pretend = 0, frame = 0
  31              		@ frame_needed = 0, uses_anonymous_args = 0
  32 0000 08B5     		push	{r3, lr}
  33              	.LCFI0:
  34              		.cfi_def_cfa_offset 8
  35              		.cfi_offset 3, -8
  36              		.cfi_offset 14, -4
  22:Src/fatfs_platform.c ****     uint8_t status = SD_PRESENT;
ARM GAS  /tmp/ccKjaXMq.s 			page 2


  37              		.loc 1 22 5 view .LVU1
  38              	.LVL0:
  23:Src/fatfs_platform.c ****     /* Check SD card detect pin */
  24:Src/fatfs_platform.c ****     if(HAL_GPIO_ReadPin(SD_DETECT_GPIO_PORT, SD_DETECT_PIN) != GPIO_PIN_RESET)
  39              		.loc 1 24 5 view .LVU2
  40              		.loc 1 24 8 is_stmt 0 view .LVU3
  41 0002 0121     		movs	r1, #1
  42 0004 0348     		ldr	r0, .L5
  43 0006 FFF7FEFF 		bl	HAL_GPIO_ReadPin
  44              	.LVL1:
  45              		.loc 1 24 7 discriminator 1 view .LVU4
  46 000a 08B9     		cbnz	r0, .L3
  22:Src/fatfs_platform.c ****     uint8_t status = SD_PRESENT;
  47              		.loc 1 22 13 view .LVU5
  48 000c 0120     		movs	r0, #1
  49              	.L2:
  50              	.LVL2:
  25:Src/fatfs_platform.c ****     {
  26:Src/fatfs_platform.c ****         status = SD_NOT_PRESENT;
  27:Src/fatfs_platform.c ****     }
  28:Src/fatfs_platform.c ****     /* USER CODE BEGIN 1 */
  29:Src/fatfs_platform.c ****     /* user code can be inserted here */
  30:Src/fatfs_platform.c ****     /* USER CODE END 1 */
  31:Src/fatfs_platform.c ****     return status;
  51              		.loc 1 31 5 is_stmt 1 view .LVU6
  32:Src/fatfs_platform.c **** }
  52              		.loc 1 32 1 is_stmt 0 view .LVU7
  53 000e 08BD     		pop	{r3, pc}
  54              	.LVL3:
  55              	.L3:
  26:Src/fatfs_platform.c ****     }
  56              		.loc 1 26 16 view .LVU8
  57 0010 0020     		movs	r0, #0
  58 0012 FCE7     		b	.L2
  59              	.L6:
  60              		.align	2
  61              	.L5:
  62 0014 000C0240 		.word	1073875968
  63              		.cfi_endproc
  64              	.LFE141:
  66              		.text
  67              	.Letext0:
  68              		.file 2 "/usr/lib/gcc/arm-none-eabi/13.2.1/include/stdint.h"
  69              		.file 3 "Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f767xx.h"
  70              		.file 4 "Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_gpio.h"
ARM GAS  /tmp/ccKjaXMq.s 			page 3


DEFINED SYMBOLS
                            *ABS*:00000000 fatfs_platform.c
     /tmp/ccKjaXMq.s:20     .text.BSP_PlatformIsDetected:00000000 $t
     /tmp/ccKjaXMq.s:26     .text.BSP_PlatformIsDetected:00000000 BSP_PlatformIsDetected
     /tmp/ccKjaXMq.s:62     .text.BSP_PlatformIsDetected:00000014 $d

UNDEFINED SYMBOLS
HAL_GPIO_ReadPin
