diff --git a/SD_CARD_SPI/.cproject b/SD_CARD_SPI/.cproject
deleted file mode 100644
index f7c9c57..0000000
--- a/SD_CARD_SPI/.cproject
+++ /dev/null
@@ -1,185 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/SD_CARD_SPI/.mxproject b/SD_CARD_SPI/.mxproject
deleted file mode 100644
index 03fc4a5..0000000
--- a/SD_CARD_SPI/.mxproject
+++ /dev/null
@@ -1,34 +0,0 @@
-[PreviousLibFiles]
-LibFiles=Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h;Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_tim.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_tim_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h;Middlewares/Third_Party/FatFs/src/diskio.h;Middlewares/Third_Party/FatFs/src/ff.h;Middlewares/Third_Party/FatFs/src/ff_gen_drv.h;Middlewares/Third_Party/FatFs/src/integer.h;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.c;Middlewares/Third_Party/FatFs/src/diskio.c;Middlewares/Third_Party/FatFs/src/ff.c;Middlewares/Third_Party/FatFs/src/ff_gen_drv.c;Middlewares/Third_Party/FatFs/src/option/syscall.c;Middlewares/Third_Party/FatFs/src/option/ccsbcs.c;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h;Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_tim.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_tim_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h;Middlewares/Third_Party/FatFs/src/diskio.h;Middlewares/Third_Party/FatFs/src/ff.h;Middlewares/Third_Party/FatFs/src/ff_gen_drv.h;Middlewares/Third_Party/FatFs/src/integer.h;Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h;Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h;Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h;Drivers/CMSIS/Device/ST/STM32L1xx/Source/Templates/system_stm32l1xx.c;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/core_armv8mbl.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/core_cm3.h;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/tz_context.h;
-
-[PreviousUsedCubeIDEFiles]
-SourceFiles=Core\Src\main.c;FATFS\Target\user_diskio.c;FATFS\App\fatfs.c;Core\Src\stm32l1xx_it.c;Core\Src\stm32l1xx_hal_msp.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.c;Middlewares/Third_Party/FatFs/src/diskio.c;Middlewares/Third_Party/FatFs/src/ff.c;Middlewares/Third_Party/FatFs/src/ff_gen_drv.c;Middlewares/Third_Party/FatFs/src/option/syscall.c;Middlewares/Third_Party/FatFs/src/option/ccsbcs.c;Core\Src/system_stm32l1xx.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.c;Middlewares/Third_Party/FatFs/src/diskio.c;Middlewares/Third_Party/FatFs/src/ff.c;Middlewares/Third_Party/FatFs/src/ff_gen_drv.c;Middlewares/Third_Party/FatFs/src/option/syscall.c;Middlewares/Third_Party/FatFs/src/option/ccsbcs.c;Core\Src/system_stm32l1xx.c;Drivers/CMSIS/Device/ST/STM32L1xx/Source/Templates/system_stm32l1xx.c;;Middlewares/Third_Party/FatFs/src/diskio.c;Middlewares/Third_Party/FatFs/src/ff.c;Middlewares/Third_Party/FatFs/src/ff_gen_drv.c;Middlewares/Third_Party/FatFs/src/option/syscall.c;Middlewares/Third_Party/FatFs/src/option/ccsbcs.c;
-HeaderPath=Drivers\STM32L1xx_HAL_Driver\Inc;Drivers\STM32L1xx_HAL_Driver\Inc\Legacy;Middlewares\Third_Party\FatFs\src;Drivers\CMSIS\Device\ST\STM32L1xx\Include;Drivers\CMSIS\Include;FATFS\Target;FATFS\App;Core\Inc;
-CDefines=USE_HAL_DRIVER;STM32L152xE;USE_HAL_DRIVER;USE_HAL_DRIVER;
-
-[PreviousGenFiles]
-AdvancedFolderStructure=true
-HeaderFileListSize=6
-HeaderFiles#0=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/FATFS/Target/ffconf.h
-HeaderFiles#1=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/FATFS/Target/user_diskio.h
-HeaderFiles#2=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/FATFS/App/fatfs.h
-HeaderFiles#3=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/Core/Inc/stm32l1xx_it.h
-HeaderFiles#4=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/Core/Inc/stm32l1xx_hal_conf.h
-HeaderFiles#5=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/Core/Inc/main.h
-HeaderFolderListSize=3
-HeaderPath#0=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/FATFS/Target
-HeaderPath#1=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/FATFS/App
-HeaderPath#2=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/Core/Inc
-HeaderFiles=;
-SourceFileListSize=5
-SourceFiles#0=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/FATFS/Target/user_diskio.c
-SourceFiles#1=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/FATFS/App/fatfs.c
-SourceFiles#2=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/Core/Src/stm32l1xx_it.c
-SourceFiles#3=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/Core/Src/stm32l1xx_hal_msp.c
-SourceFiles#4=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/Core/Src/main.c
-SourceFolderListSize=3
-SourcePath#0=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/FATFS/Target
-SourcePath#1=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/FATFS/App
-SourcePath#2=C:/Users/Gregor/Desktop/Projektarbeit/Workspace/SD_CARD_SPI/Core/Src
-SourceFiles=;
-
diff --git a/SD_CARD_SPI/.project b/SD_CARD_SPI/.project
deleted file mode 100644
index 64e5feb..0000000
--- a/SD_CARD_SPI/.project
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
- SD_CARD_SPI
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
- clean,full,incremental,
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
- full,incremental,
-
-
-
-
-
- com.st.stm32cube.ide.mcu.MCUProjectNature
- com.st.stm32cube.ide.mcu.MCUCubeProjectNature
- org.eclipse.cdt.core.cnature
- com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature
- com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature
- com.st.stm32cube.ide.mcu.MCUEndUserDisabledTrustZoneProjectNature
- com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature
- com.st.stm32cube.ide.mcu.MCURootProjectNature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
-
-
diff --git a/SD_CARD_SPI/.settings/language.settings.xml b/SD_CARD_SPI/.settings/language.settings.xml
deleted file mode 100644
index 2a4fe42..0000000
--- a/SD_CARD_SPI/.settings/language.settings.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/SD_CARD_SPI/Core/Inc/fatfs_sd.h b/SD_CARD_SPI/Core/Inc/fatfs_sd.h
deleted file mode 100644
index 119c933..0000000
--- a/SD_CARD_SPI/Core/Inc/fatfs_sd.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef __FATFS_SD_H
-#define __FATFS_SD_H
-
-/* Definitions for MMC/SDC command */
-#define CMD0 (0x40+0) /* GO_IDLE_STATE */
-#define CMD1 (0x40+1) /* SEND_OP_COND */
-#define CMD8 (0x40+8) /* SEND_IF_COND */
-#define CMD9 (0x40+9) /* SEND_CSD */
-#define CMD10 (0x40+10) /* SEND_CID */
-#define CMD12 (0x40+12) /* STOP_TRANSMISSION */
-#define CMD16 (0x40+16) /* SET_BLOCKLEN */
-#define CMD17 (0x40+17) /* READ_SINGLE_BLOCK */
-#define CMD18 (0x40+18) /* READ_MULTIPLE_BLOCK */
-#define CMD23 (0x40+23) /* SET_BLOCK_COUNT */
-#define CMD24 (0x40+24) /* WRITE_BLOCK */
-#define CMD25 (0x40+25) /* WRITE_MULTIPLE_BLOCK */
-#define CMD41 (0x40+41) /* SEND_OP_COND (ACMD) */
-#define CMD55 (0x40+55) /* APP_CMD */
-#define CMD58 (0x40+58) /* READ_OCR */
-
-/* MMC card type flags (MMC_GET_TYPE) */
-#define CT_MMC 0x01 /* MMC ver 3 */
-#define CT_SD1 0x02 /* SD ver 1 */
-#define CT_SD2 0x04 /* SD ver 2 */
-#define CT_SDC 0x06 /* SD */
-#define CT_BLOCK 0x08 /* Block addressing */
-
-/* Functions */
-DSTATUS SD_disk_initialize (BYTE pdrv);
-DSTATUS SD_disk_status (BYTE pdrv);
-DRESULT SD_disk_read (BYTE pdrv, BYTE* buff, DWORD sector, UINT count);
-DRESULT SD_disk_write (BYTE pdrv, const BYTE* buff, DWORD sector, UINT count);
-DRESULT SD_disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
-
-#define SPI_TIMEOUT 100
-
-extern SPI_HandleTypeDef hspi1;
-#define HSPI_SDCARD &hspi1
-#define SD_CS_PORT GPIOB
-#define SD_CS_PIN GPIO_PIN_6
-
-#endif
diff --git a/SD_CARD_SPI/Core/Inc/main.h b/SD_CARD_SPI/Core/Inc/main.h
deleted file mode 100644
index ad772be..0000000
--- a/SD_CARD_SPI/Core/Inc/main.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file : main.h
- * @brief : Header for main.c file.
- * This file contains the common defines of the application.
- ******************************************************************************
- * @attention
- *
- *
© Copyright (c) 2020 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-
-/* Define to prevent recursive inclusion -------------------------------------*/
-#ifndef __MAIN_H
-#define __MAIN_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Includes ------------------------------------------------------------------*/
-#include "stm32l1xx_hal.h"
-
-/* Private includes ----------------------------------------------------------*/
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Exported types ------------------------------------------------------------*/
-/* USER CODE BEGIN ET */
-
-/* USER CODE END ET */
-
-/* Exported constants --------------------------------------------------------*/
-/* USER CODE BEGIN EC */
-
-/* USER CODE END EC */
-
-/* Exported macro ------------------------------------------------------------*/
-/* USER CODE BEGIN EM */
-
-/* USER CODE END EM */
-
-/* Exported functions prototypes ---------------------------------------------*/
-void Error_Handler(void);
-
-/* USER CODE BEGIN EFP */
-
-/* USER CODE END EFP */
-
-/* Private defines -----------------------------------------------------------*/
-#define B1_Pin GPIO_PIN_13
-#define B1_GPIO_Port GPIOC
-#define USART_TX_Pin GPIO_PIN_2
-#define USART_TX_GPIO_Port GPIOA
-#define USART_RX_Pin GPIO_PIN_3
-#define USART_RX_GPIO_Port GPIOA
-#define TMS_Pin GPIO_PIN_13
-#define TMS_GPIO_Port GPIOA
-#define TCK_Pin GPIO_PIN_14
-#define TCK_GPIO_Port GPIOA
-#define SWO_Pin GPIO_PIN_3
-#define SWO_GPIO_Port GPIOB
-/* USER CODE BEGIN Private defines */
-
-/* USER CODE END Private defines */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __MAIN_H */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/SD_CARD_SPI/Core/Inc/stm32l1xx_hal_conf.h b/SD_CARD_SPI/Core/Inc/stm32l1xx_hal_conf.h
deleted file mode 100644
index 230df31..0000000
--- a/SD_CARD_SPI/Core/Inc/stm32l1xx_hal_conf.h
+++ /dev/null
@@ -1,335 +0,0 @@
-/**
- ******************************************************************************
- * @file stm32l1xx_hal_conf.h
- * @brief HAL configuration file.
- ******************************************************************************
- * @attention
- *
- * © COPYRIGHT(c) 2021 STMicroelectronics
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * 3. Neither the name of STMicroelectronics nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- ******************************************************************************
- */
-
-/* Define to prevent recursive inclusion -------------------------------------*/
-#ifndef __STM32L1xx_HAL_CONF_H
-#define __STM32L1xx_HAL_CONF_H
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
-/* Exported types ------------------------------------------------------------*/
-/* Exported constants --------------------------------------------------------*/
-
-/* ########################## Module Selection ############################## */
-/**
- * @brief This is the list of modules to be used in the HAL driver
- */
-
-#define HAL_MODULE_ENABLED
-#define HAL_ADC_MODULE_ENABLED
-/*#define HAL_CRYP_MODULE_ENABLED */
-/*#define HAL_COMP_MODULE_ENABLED */
-/*#define HAL_CRC_MODULE_ENABLED */
-/*#define HAL_CRYP_MODULE_ENABLED */
-/*#define HAL_DAC_MODULE_ENABLED */
-/*#define HAL_I2C_MODULE_ENABLED */
-/*#define HAL_I2S_MODULE_ENABLED */
-/*#define HAL_IRDA_MODULE_ENABLED */
-/*#define HAL_IWDG_MODULE_ENABLED */
-/*#define HAL_LCD_MODULE_ENABLED */
-/*#define HAL_NOR_MODULE_ENABLED */
-/*#define HAL_OPAMP_MODULE_ENABLED */
-/*#define HAL_PCD_MODULE_ENABLED */
-/*#define HAL_RTC_MODULE_ENABLED */
-/*#define HAL_SD_MODULE_ENABLED */
-/*#define HAL_SMARTCARD_MODULE_ENABLED */
-#define HAL_SPI_MODULE_ENABLED
-/*#define HAL_SRAM_MODULE_ENABLED */
-/*#define HAL_TIM_MODULE_ENABLED */
-#define HAL_UART_MODULE_ENABLED
-/*#define HAL_USART_MODULE_ENABLED */
-/*#define HAL_WWDG_MODULE_ENABLED */
-#define HAL_GPIO_MODULE_ENABLED
-#define HAL_EXTI_MODULE_ENABLED
-#define HAL_DMA_MODULE_ENABLED
-#define HAL_RCC_MODULE_ENABLED
-#define HAL_FLASH_MODULE_ENABLED
-#define HAL_PWR_MODULE_ENABLED
-#define HAL_CORTEX_MODULE_ENABLED
-
-/* ########################## Oscillator Values adaptation ####################*/
-/**
- * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
- * This value is used by the RCC HAL module to compute the system frequency
- * (when HSE is used as system clock source, directly or through the PLL).
- */
-#if !defined (HSE_VALUE)
- #define HSE_VALUE ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */
-#endif /* HSE_VALUE */
-
-#if !defined (HSE_STARTUP_TIMEOUT)
- #define HSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for HSE start up, in ms */
-#endif /* HSE_STARTUP_TIMEOUT */
-
-/**
- * @brief Internal Multiple Speed oscillator (MSI) default value.
- * This value is the default MSI range value after Reset.
- */
-#if !defined (MSI_VALUE)
- #define MSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/
-#endif /* MSI_VALUE */
-/**
- * @brief Internal High Speed oscillator (HSI) value.
- * This value is used by the RCC HAL module to compute the system frequency
- * (when HSI is used as system clock source, directly or through the PLL).
- */
-#if !defined (HSI_VALUE)
- #define HSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/
-#endif /* HSI_VALUE */
-
-/**
- * @brief Internal Low Speed oscillator (LSI) value.
- */
-#if !defined (LSI_VALUE)
- #define LSI_VALUE (37000U) /*!< LSI Typical Value in Hz*/
-#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
- The real value may vary depending on the variations
- in voltage and temperature.*/
-
-/**
- * @brief External Low Speed oscillator (LSE) value.
- * This value is used by the UART, RTC HAL module to compute the system frequency
- */
-#if !defined (LSE_VALUE)
- #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External oscillator in Hz*/
-#endif /* LSE_VALUE */
-
-#if !defined (LSE_STARTUP_TIMEOUT)
- #define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */
-#endif /* HSE_STARTUP_TIMEOUT */
-
-/* Tip: To avoid modifying this file each time you need to use different HSE,
- === you can define the HSE value in your toolchain compiler preprocessor. */
-
-/* ########################### System Configuration ######################### */
-/**
- * @brief This is the HAL system configuration section
- */
-
-#define VDD_VALUE ((uint32_t)3300) /*!< Value of VDD in mv */
-#define TICK_INT_PRIORITY ((uint32_t)0) /*!< tick interrupt priority */
-#define USE_RTOS 0
-#define PREFETCH_ENABLE 0
-#define INSTRUCTION_CACHE_ENABLE 1
-#define DATA_CACHE_ENABLE 1
-
-/* ########################## Assert Selection ############################## */
-/**
- * @brief Uncomment the line below to expanse the "assert_param" macro in the
- * HAL drivers code
- */
-/* #define USE_FULL_ASSERT 1U */
-
-/* ################## Register callback feature configuration ############### */
-/**
- * @brief Set below the peripheral configuration to "1U" to add the support
- * of HAL callback registration/deregistration feature for the HAL
- * driver(s). This allows user application to provide specific callback
- * functions thanks to HAL_PPP_RegisterCallback() rather than overwriting
- * the default weak callback functions (see each stm32l0xx_hal_ppp.h file
- * for possible callback identifiers defined in HAL_PPP_CallbackIDTypeDef
- * for each PPP peripheral).
- */
-#define USE_HAL_ADC_REGISTER_CALLBACKS 0U
-#define USE_HAL_COMP_REGISTER_CALLBACKS 0U
-#define USE_HAL_DAC_REGISTER_CALLBACKS 0U
-#define USE_HAL_I2C_REGISTER_CALLBACKS 0U
-#define USE_HAL_I2S_REGISTER_CALLBACKS 0U
-#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U
-#define USE_HAL_OPAMP_REGISTER_CALLBACKS 0U
-#define USE_HAL_PCD_REGISTER_CALLBACKS 0U
-#define USE_HAL_RTC_REGISTER_CALLBACKS 0U
-#define USE_HAL_SDMMC_REGISTER_CALLBACKS 0U
-#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U
-#define USE_HAL_SPI_REGISTER_CALLBACKS 0U
-#define USE_HAL_TIM_REGISTER_CALLBACKS 0U
-#define USE_HAL_UART_REGISTER_CALLBACKS 0U
-#define USE_HAL_USART_REGISTER_CALLBACKS 0U
-#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U
-
-/* ################## SPI peripheral configuration ########################## */
-
-/* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
- * Activated: CRC code is present inside driver
- * Deactivated: CRC code cleaned from driver
- */
-
-#define USE_SPI_CRC 0U
-/* Includes ------------------------------------------------------------------*/
-/**
- * @brief Include module's header file
- */
-
-#ifdef HAL_RCC_MODULE_ENABLED
- #include "stm32l1xx_hal_rcc.h"
-#endif /* HAL_RCC_MODULE_ENABLED */
-
-#ifdef HAL_GPIO_MODULE_ENABLED
- #include "stm32l1xx_hal_gpio.h"
-#endif /* HAL_GPIO_MODULE_ENABLED */
-
-#ifdef HAL_DMA_MODULE_ENABLED
- #include "stm32l1xx_hal_dma.h"
-#endif /* HAL_DMA_MODULE_ENABLED */
-
-#ifdef HAL_CORTEX_MODULE_ENABLED
- #include "stm32l1xx_hal_cortex.h"
-#endif /* HAL_CORTEX_MODULE_ENABLED */
-
-#ifdef HAL_ADC_MODULE_ENABLED
- #include "stm32l1xx_hal_adc.h"
-#endif /* HAL_ADC_MODULE_ENABLED */
-
-#ifdef HAL_COMP_MODULE_ENABLED
- #include "stm32l1xx_hal_comp.h"
-#endif /* HAL_COMP_MODULE_ENABLED */
-
-#ifdef HAL_CRC_MODULE_ENABLED
- #include "stm32l1xx_hal_crc.h"
-#endif /* HAL_CRC_MODULE_ENABLED */
-
-#ifdef HAL_CRYP_MODULE_ENABLED
- #include "stm32l1xx_hal_cryp.h"
-#endif /* HAL_CRYP_MODULE_ENABLED */
-
-#ifdef HAL_DAC_MODULE_ENABLED
- #include "stm32l1xx_hal_dac.h"
-#endif /* HAL_DAC_MODULE_ENABLED */
-
-#ifdef HAL_FLASH_MODULE_ENABLED
- #include "stm32l1xx_hal_flash.h"
-#endif /* HAL_FLASH_MODULE_ENABLED */
-
-#ifdef HAL_SRAM_MODULE_ENABLED
- #include "stm32l1xx_hal_sram.h"
-#endif /* HAL_SRAM_MODULE_ENABLED */
-
-#ifdef HAL_NOR_MODULE_ENABLED
- #include "stm32l1xx_hal_nor.h"
-#endif /* HAL_NOR_MODULE_ENABLED */
-
-#ifdef HAL_I2C_MODULE_ENABLED
- #include "stm32l1xx_hal_i2c.h"
-#endif /* HAL_I2C_MODULE_ENABLED */
-
-#ifdef HAL_I2S_MODULE_ENABLED
- #include "stm32l1xx_hal_i2s.h"
-#endif /* HAL_I2S_MODULE_ENABLED */
-
-#ifdef HAL_IWDG_MODULE_ENABLED
- #include "stm32l1xx_hal_iwdg.h"
-#endif /* HAL_IWDG_MODULE_ENABLED */
-
-#ifdef HAL_LCD_MODULE_ENABLED
- #include "stm32l1xx_hal_lcd.h"
-#endif /* HAL_LCD_MODULE_ENABLED */
-
-#ifdef HAL_OPAMP_MODULE_ENABLED
- #include "stm32l1xx_hal_opamp.h"
-#endif /* HAL_OPAMP_MODULE_ENABLED */
-
-#ifdef HAL_PWR_MODULE_ENABLED
- #include "stm32l1xx_hal_pwr.h"
-#endif /* HAL_PWR_MODULE_ENABLED */
-
-#ifdef HAL_RTC_MODULE_ENABLED
- #include "stm32l1xx_hal_rtc.h"
-#endif /* HAL_RTC_MODULE_ENABLED */
-
-#ifdef HAL_SD_MODULE_ENABLED
- #include "stm32l1xx_hal_sd.h"
-#endif /* HAL_SD_MODULE_ENABLED */
-
-#ifdef HAL_SPI_MODULE_ENABLED
- #include "stm32l1xx_hal_spi.h"
-#endif /* HAL_SPI_MODULE_ENABLED */
-
-#ifdef HAL_TIM_MODULE_ENABLED
- #include "stm32l1xx_hal_tim.h"
-#endif /* HAL_TIM_MODULE_ENABLED */
-
-#ifdef HAL_UART_MODULE_ENABLED
- #include "stm32l1xx_hal_uart.h"
-#endif /* HAL_UART_MODULE_ENABLED */
-
-#ifdef HAL_USART_MODULE_ENABLED
- #include "stm32l1xx_hal_usart.h"
-#endif /* HAL_USART_MODULE_ENABLED */
-
-#ifdef HAL_IRDA_MODULE_ENABLED
- #include "stm32l1xx_hal_irda.h"
-#endif /* HAL_IRDA_MODULE_ENABLED */
-
-#ifdef HAL_SMARTCARD_MODULE_ENABLED
- #include "stm32l1xx_hal_smartcard.h"
-#endif /* HAL_SMARTCARD_MODULE_ENABLED */
-
-#ifdef HAL_WWDG_MODULE_ENABLED
- #include "stm32l1xx_hal_wwdg.h"
-#endif /* HAL_WWDG_MODULE_ENABLED */
-
-#ifdef HAL_PCD_MODULE_ENABLED
- #include "stm32l1xx_hal_pcd.h"
-#endif /* HAL_PCD_MODULE_ENABLED */
-
-#ifdef HAL_EXTI_MODULE_ENABLED
- #include "stm32l1xx_hal_exti.h"
-#endif /* HAL_EXTI_MODULE_ENABLED */
-
-/* Exported macro ------------------------------------------------------------*/
-#ifdef USE_FULL_ASSERT
-/**
- * @brief The assert_param macro is used for function's parameters check.
- * @param expr: If expr is false, it calls assert_failed function
- * which reports the name of the source file and the source
- * line number of the call that failed.
- * If expr is true, it returns no value.
- * @retval None
- */
- #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
-/* Exported functions ------------------------------------------------------- */
- void assert_failed(uint8_t* file, uint32_t line);
-#else
- #define assert_param(expr) ((void)0U)
-#endif /* USE_FULL_ASSERT */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __STM32L1xx_HAL_CONF_H */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/SD_CARD_SPI/Core/Inc/stm32l1xx_it.h b/SD_CARD_SPI/Core/Inc/stm32l1xx_it.h
deleted file mode 100644
index 019f774..0000000
--- a/SD_CARD_SPI/Core/Inc/stm32l1xx_it.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file stm32l1xx_it.h
- * @brief This file contains the headers of the interrupt handlers.
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2020 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-
-/* Define to prevent recursive inclusion -------------------------------------*/
-#ifndef __STM32L1xx_IT_H
-#define __STM32L1xx_IT_H
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
-/* Private includes ----------------------------------------------------------*/
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Exported types ------------------------------------------------------------*/
-/* USER CODE BEGIN ET */
-
-/* USER CODE END ET */
-
-/* Exported constants --------------------------------------------------------*/
-/* USER CODE BEGIN EC */
-
-/* USER CODE END EC */
-
-/* Exported macro ------------------------------------------------------------*/
-/* USER CODE BEGIN EM */
-
-/* USER CODE END EM */
-
-/* Exported functions prototypes ---------------------------------------------*/
-void NMI_Handler(void);
-void HardFault_Handler(void);
-void MemManage_Handler(void);
-void BusFault_Handler(void);
-void UsageFault_Handler(void);
-void SVC_Handler(void);
-void DebugMon_Handler(void);
-void PendSV_Handler(void);
-void SysTick_Handler(void);
-/* USER CODE BEGIN EFP */
-
-/* USER CODE END EFP */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __STM32L1xx_IT_H */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/SD_CARD_SPI/Core/Src/fatfs_sd.c b/SD_CARD_SPI/Core/Src/fatfs_sd.c
deleted file mode 100644
index 2fbe023..0000000
--- a/SD_CARD_SPI/Core/Src/fatfs_sd.c
+++ /dev/null
@@ -1,544 +0,0 @@
-#define TRUE 1
-#define FALSE 0
-#define bool BYTE
-
-#include "stm32l1xx_hal.h"
-
-#include "diskio.h"
-#include "fatfs_sd.h"
-
-uint16_t Timer1, Timer2; /* 1ms Timer Counter */
-
-static volatile DSTATUS Stat = STA_NOINIT; /* Disk Status */
-static uint8_t CardType; /* Type 0:MMC, 1:SDC, 2:Block addressing */
-static uint8_t PowerFlag = 0; /* Power flag */
-
-/***************************************
- * SPI functions
- **************************************/
-
-/* slave select */
-static void SELECT(void)
-{
- HAL_GPIO_WritePin(SD_CS_PORT, SD_CS_PIN, GPIO_PIN_RESET);
- HAL_Delay(1);
-}
-
-/* slave deselect */
-static void DESELECT(void)
-{
- HAL_GPIO_WritePin(SD_CS_PORT, SD_CS_PIN, GPIO_PIN_SET);
- HAL_Delay(1);
-}
-
-/* SPI transmit a byte */
-static void SPI_TxByte(uint8_t data)
-{
- while(!__HAL_SPI_GET_FLAG(HSPI_SDCARD, SPI_FLAG_TXE));
- HAL_SPI_Transmit(HSPI_SDCARD, &data, 1, SPI_TIMEOUT);
-}
-
-/* SPI transmit buffer */
-static void SPI_TxBuffer(uint8_t *buffer, uint16_t len)
-{
- while(!__HAL_SPI_GET_FLAG(HSPI_SDCARD, SPI_FLAG_TXE));
- HAL_SPI_Transmit(HSPI_SDCARD, buffer, len, SPI_TIMEOUT);
-}
-
-/* SPI receive a byte */
-static uint8_t SPI_RxByte(void)
-{
- uint8_t dummy, data;
- dummy = 0xFF;
-
- while(!__HAL_SPI_GET_FLAG(HSPI_SDCARD, SPI_FLAG_TXE));
- HAL_SPI_TransmitReceive(HSPI_SDCARD, &dummy, &data, 1, SPI_TIMEOUT);
-
- return data;
-}
-
-/* SPI receive a byte via pointer */
-static void SPI_RxBytePtr(uint8_t *buff)
-{
- *buff = SPI_RxByte();
-}
-
-/***************************************
- * SD functions
- **************************************/
-
-/* wait SD ready */
-static uint8_t SD_ReadyWait(void)
-{
- uint8_t res;
-
- /* timeout 500ms */
- Timer2 = 500;
-
- /* if SD goes ready, receives 0xFF */
- do {
- res = SPI_RxByte();
- } while ((res != 0xFF) && Timer2);
-
- return res;
-}
-
-/* power on */
-static void SD_PowerOn(void)
-{
- uint8_t args[6];
- uint32_t cnt = 0x1FFF;
-
- /* transmit bytes to wake up */
- DESELECT();
- for(int i = 0; i < 10; i++)
- {
- SPI_TxByte(0xFF);
- }
-
- /* slave select */
- SELECT();
-
- /* make idle state */
- args[0] = CMD0; /* CMD0:GO_IDLE_STATE */
- args[1] = 0;
- args[2] = 0;
- args[3] = 0;
- args[4] = 0;
- args[5] = 0x95; /* CRC */
-
- SPI_TxBuffer(args, sizeof(args));
-
- /* wait response */
- while ((SPI_RxByte() != 0x01) && cnt)
- {
- cnt--;
- }
-
- DESELECT();
- SPI_TxByte(0XFF);
-
- PowerFlag = 1;
-}
-
-/* power off */
-static void SD_PowerOff(void)
-{
- PowerFlag = 0;
-}
-
-/* check power flag */
-static uint8_t SD_CheckPower(void)
-{
- return PowerFlag;
-}
-
-/* receive data block */
-static bool SD_RxDataBlock(BYTE *buff, UINT len)
-{
- uint8_t token;
-
- /* timeout 200ms */
- Timer1 = 200;
-
- /* loop until receive a response or timeout */
- do {
- token = SPI_RxByte();
- } while((token == 0xFF) && Timer1);
-
- /* invalid response */
- if(token != 0xFE) return FALSE;
-
- /* receive data */
- do {
- SPI_RxBytePtr(buff++);
- } while(len--);
-
- /* discard CRC */
- SPI_RxByte();
- SPI_RxByte();
-
- return TRUE;
-}
-
-/* transmit data block */
-#if _USE_WRITE == 1
-static bool SD_TxDataBlock(const uint8_t *buff, BYTE token)
-{
- uint8_t resp;
- uint8_t i = 0;
-
- /* wait SD ready */
- if (SD_ReadyWait() != 0xFF) return FALSE;
-
- /* transmit token */
- SPI_TxByte(token);
-
- /* if it's not STOP token, transmit data */
- if (token != 0xFD)
- {
- SPI_TxBuffer((uint8_t*)buff, 512);
-
- /* discard CRC */
- SPI_RxByte();
- SPI_RxByte();
-
- /* receive response */
- while (i <= 64)
- {
- resp = SPI_RxByte();
-
- /* transmit 0x05 accepted */
- if ((resp & 0x1F) == 0x05) break;
- i++;
- }
-
- /* recv buffer clear */
- while (SPI_RxByte() == 0);
- }
-
- /* transmit 0x05 accepted */
- if ((resp & 0x1F) == 0x05) return TRUE;
-
- return FALSE;
-}
-#endif /* _USE_WRITE */
-
-/* transmit command */
-static BYTE SD_SendCmd(BYTE cmd, uint32_t arg)
-{
- uint8_t crc, res;
-
- /* wait SD ready */
- if (SD_ReadyWait() != 0xFF) return 0xFF;
-
- /* transmit command */
- SPI_TxByte(cmd); /* Command */
- SPI_TxByte((uint8_t)(arg >> 24)); /* Argument[31..24] */
- SPI_TxByte((uint8_t)(arg >> 16)); /* Argument[23..16] */
- SPI_TxByte((uint8_t)(arg >> 8)); /* Argument[15..8] */
- SPI_TxByte((uint8_t)arg); /* Argument[7..0] */
-
- /* prepare CRC */
- if(cmd == CMD0) crc = 0x95; /* CRC for CMD0(0) */
- else if(cmd == CMD8) crc = 0x87; /* CRC for CMD8(0x1AA) */
- else crc = 1;
-
- /* transmit CRC */
- SPI_TxByte(crc);
-
- /* Skip a stuff byte when STOP_TRANSMISSION */
- if (cmd == CMD12) SPI_RxByte();
-
- /* receive response */
- uint8_t n = 10;
- do {
- res = SPI_RxByte();
- } while ((res & 0x80) && --n);
-
- return res;
-}
-
-/***************************************
- * user_diskio.c functions
- **************************************/
-
-/* initialize SD */
-DSTATUS SD_disk_initialize(BYTE drv)
-{
- uint8_t n, type, ocr[4];
-
- /* single drive, drv should be 0 */
- if(drv) return STA_NOINIT;
-
- /* no disk */
- if(Stat & STA_NODISK) return Stat;
-
- /* power on */
- SD_PowerOn();
-
- /* slave select */
- SELECT();
-
- /* check disk type */
- type = 0;
-
- /* send GO_IDLE_STATE command */
- if (SD_SendCmd(CMD0, 0) == 1)
- {
- /* timeout 1 sec */
- Timer1 = 1000;
-
- /* SDC V2+ accept CMD8 command, http://elm-chan.org/docs/mmc/mmc_e.html */
- if (SD_SendCmd(CMD8, 0x1AA) == 1)
- {
- /* operation condition register */
- for (n = 0; n < 4; n++)
- {
- ocr[n] = SPI_RxByte();
- }
-
- /* voltage range 2.7-3.6V */
- if (ocr[2] == 0x01 && ocr[3] == 0xAA)
- {
- /* ACMD41 with HCS bit */
- do {
- if (SD_SendCmd(CMD55, 0) <= 1 && SD_SendCmd(CMD41, 1UL << 30) == 0) break;
- } while (Timer1);
-
- /* READ_OCR */
- if (Timer1 && SD_SendCmd(CMD58, 0) == 0)
- {
- /* Check CCS bit */
- for (n = 0; n < 4; n++)
- {
- ocr[n] = SPI_RxByte();
- }
-
- /* SDv2 (HC or SC) */
- type = (ocr[0] & 0x40) ? CT_SD2 | CT_BLOCK : CT_SD2;
- }
- }
- }
- else
- {
- /* SDC V1 or MMC */
- type = (SD_SendCmd(CMD55, 0) <= 1 && SD_SendCmd(CMD41, 0) <= 1) ? CT_SD1 : CT_MMC;
-
- do
- {
- if (type == CT_SD1)
- {
- if (SD_SendCmd(CMD55, 0) <= 1 && SD_SendCmd(CMD41, 0) == 0) break; /* ACMD41 */
- }
- else
- {
- if (SD_SendCmd(CMD1, 0) == 0) break; /* CMD1 */
- }
-
- } while (Timer1);
-
- /* SET_BLOCKLEN */
- if (!Timer1 || SD_SendCmd(CMD16, 512) != 0) type = 0;
- }
- }
-
- CardType = type;
-
- /* Idle */
- DESELECT();
- SPI_RxByte();
-
- /* Clear STA_NOINIT */
- if (type)
- {
- Stat &= ~STA_NOINIT;
- }
- else
- {
- /* Initialization failed */
- SD_PowerOff();
- }
-
- return Stat;
-}
-
-/* return disk status */
-DSTATUS SD_disk_status(BYTE drv)
-{
- if (drv) return STA_NOINIT;
- return Stat;
-}
-
-/* read sector */
-DRESULT SD_disk_read(BYTE pdrv, BYTE* buff, DWORD sector, UINT count)
-{
- /* pdrv should be 0 */
- if (pdrv || !count) return RES_PARERR;
-
- /* no disk */
- if (Stat & STA_NOINIT) return RES_NOTRDY;
-
- /* convert to byte address */
- if (!(CardType & CT_SD2)) sector *= 512;
-
- SELECT();
-
- if (count == 1)
- {
- /* READ_SINGLE_BLOCK */
- if ((SD_SendCmd(CMD17, sector) == 0) && SD_RxDataBlock(buff, 512)) count = 0;
- }
- else
- {
- /* READ_MULTIPLE_BLOCK */
- if (SD_SendCmd(CMD18, sector) == 0)
- {
- do {
- if (!SD_RxDataBlock(buff, 512)) break;
- buff += 512;
- } while (--count);
-
- /* STOP_TRANSMISSION */
- SD_SendCmd(CMD12, 0);
- }
- }
-
- /* Idle */
- DESELECT();
- SPI_RxByte();
-
- return count ? RES_ERROR : RES_OK;
-}
-
-/* write sector */
-#if _USE_WRITE == 1
-DRESULT SD_disk_write(BYTE pdrv, const BYTE* buff, DWORD sector, UINT count)
-{
- /* pdrv should be 0 */
- if (pdrv || !count) return RES_PARERR;
-
- /* no disk */
- if (Stat & STA_NOINIT) return RES_NOTRDY;
-
- /* write protection */
- if (Stat & STA_PROTECT) return RES_WRPRT;
-
- /* convert to byte address */
- if (!(CardType & CT_SD2)) sector *= 512;
-
- SELECT();
-
- if (count == 1)
- {
- /* WRITE_BLOCK */
- if ((SD_SendCmd(CMD24, sector) == 0) && SD_TxDataBlock(buff, 0xFE))
- count = 0;
- }
- else
- {
- /* WRITE_MULTIPLE_BLOCK */
- if (CardType & CT_SD1)
- {
- SD_SendCmd(CMD55, 0);
- SD_SendCmd(CMD23, count); /* ACMD23 */
- }
-
- if (SD_SendCmd(CMD25, sector) == 0)
- {
- do {
- if(!SD_TxDataBlock(buff, 0xFC)) break;
- buff += 512;
- } while (--count);
-
- /* STOP_TRAN token */
- if(!SD_TxDataBlock(0, 0xFD))
- {
- count = 1;
- }
- }
- }
-
- /* Idle */
- DESELECT();
- SPI_RxByte();
-
- return count ? RES_ERROR : RES_OK;
-}
-#endif /* _USE_WRITE */
-
-/* ioctl */
-DRESULT SD_disk_ioctl(BYTE drv, BYTE ctrl, void *buff)
-{
- DRESULT res;
- uint8_t n, csd[16], *ptr = buff;
- WORD csize;
-
- /* pdrv should be 0 */
- if (drv) return RES_PARERR;
- res = RES_ERROR;
-
- if (ctrl == CTRL_POWER)
- {
- switch (*ptr)
- {
- case 0:
- SD_PowerOff(); /* Power Off */
- res = RES_OK;
- break;
- case 1:
- SD_PowerOn(); /* Power On */
- res = RES_OK;
- break;
- case 2:
- *(ptr + 1) = SD_CheckPower();
- res = RES_OK; /* Power Check */
- break;
- default:
- res = RES_PARERR;
- }
- }
- else
- {
- /* no disk */
- if (Stat & STA_NOINIT) return RES_NOTRDY;
-
- SELECT();
-
- switch (ctrl)
- {
- case GET_SECTOR_COUNT:
- /* SEND_CSD */
- if ((SD_SendCmd(CMD9, 0) == 0) && SD_RxDataBlock(csd, 16))
- {
- if ((csd[0] >> 6) == 1)
- {
- /* SDC V2 */
- csize = csd[9] + ((WORD) csd[8] << 8) + 1;
- *(DWORD*) buff = (DWORD) csize << 10;
- }
- else
- {
- /* MMC or SDC V1 */
- n = (csd[5] & 15) + ((csd[10] & 128) >> 7) + ((csd[9] & 3) << 1) + 2;
- csize = (csd[8] >> 6) + ((WORD) csd[7] << 2) + ((WORD) (csd[6] & 3) << 10) + 1;
- *(DWORD*) buff = (DWORD) csize << (n - 9);
- }
- res = RES_OK;
- }
- break;
- case GET_SECTOR_SIZE:
- *(WORD*) buff = 512;
- res = RES_OK;
- break;
- case CTRL_SYNC:
- if (SD_ReadyWait() == 0xFF) res = RES_OK;
- break;
- case MMC_GET_CSD:
- /* SEND_CSD */
- if (SD_SendCmd(CMD9, 0) == 0 && SD_RxDataBlock(ptr, 16)) res = RES_OK;
- break;
- case MMC_GET_CID:
- /* SEND_CID */
- if (SD_SendCmd(CMD10, 0) == 0 && SD_RxDataBlock(ptr, 16)) res = RES_OK;
- break;
- case MMC_GET_OCR:
- /* READ_OCR */
- if (SD_SendCmd(CMD58, 0) == 0)
- {
- for (n = 0; n < 4; n++)
- {
- *ptr++ = SPI_RxByte();
- }
- res = RES_OK;
- }
- default:
- res = RES_PARERR;
- }
-
- DESELECT();
- SPI_RxByte();
- }
-
- return res;
-}
diff --git a/SD_CARD_SPI/Core/Src/main.c b/SD_CARD_SPI/Core/Src/main.c
deleted file mode 100644
index b994bd7..0000000
--- a/SD_CARD_SPI/Core/Src/main.c
+++ /dev/null
@@ -1,491 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file : main.c
- * @brief : Main program body
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2020 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-/* Includes ------------------------------------------------------------------*/
-#include "main.h"
-#include "fatfs.h"
-
-/* Private includes ----------------------------------------------------------*/
-/* USER CODE BEGIN Includes */
-
-#include "fatfs_sd.h"
-#include "string.h"
-#include "stdio.h"
-
-/* USER CODE END Includes */
-
-/* Private typedef -----------------------------------------------------------*/
-/* USER CODE BEGIN PTD */
-
-/* USER CODE END PTD */
-
-/* Private define ------------------------------------------------------------*/
-/* USER CODE BEGIN PD */
-
-FATFS fs;
-FATFS *pfs;
-FIL fil;
-FRESULT fres;
-DWORD fre_clust;
-uint32_t totalSpace, freeSpace;
-char buffer[100];
-uint16_t AD_RES;
-int num;
-//Variable name for txt.file
-char txtVar[19];
-
-/* USER CODE END PD */
-
-/* Private macro -------------------------------------------------------------*/
-/* USER CODE BEGIN PM */
-
-/* USER CODE END PM */
-
-/* Private variables ---------------------------------------------------------*/
-ADC_HandleTypeDef hadc;
-
-SPI_HandleTypeDef hspi1;
-
-UART_HandleTypeDef huart2;
-
-/* USER CODE BEGIN PV */
-
-/* USER CODE END PV */
-
-/* Private function prototypes -----------------------------------------------*/
-void SystemClock_Config(void);
-static void MX_GPIO_Init(void);
-static void MX_USART2_UART_Init(void);
-static void MX_SPI1_Init(void);
-static void MX_ADC_Init(void);
-/* USER CODE BEGIN PFP */
-
-/* USER CODE END PFP */
-
-/* Private user code ---------------------------------------------------------*/
-/* USER CODE BEGIN 0 */
-
-// sending to UART
-void transmit_uart(char *string){
- uint8_t len = strlen(string);
- HAL_UART_Transmit(&huart2, (uint8_t*) string, len, 200);
-}
-
-/*void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc)
-{
- // Read & Update The ADC Result
- AD_RES = HAL_ADC_GetValue(hadc);
-
-}*/
-
-/* USER CODE END 0 */
-
-/**
- * @brief The application entry point.
- * @retval int
- */
-int main(void)
-{
- /* USER CODE BEGIN 1 */
-
- /* USER CODE END 1 */
-
- /* MCU Configuration--------------------------------------------------------*/
-
- /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
- HAL_Init();
-
- /* USER CODE BEGIN Init */
-
- /* USER CODE END Init */
-
- /* Configure the system clock */
- SystemClock_Config();
-
- /* USER CODE BEGIN SysInit */
-
- /* USER CODE END SysInit */
-
- /* Initialize all configured peripherals */
- MX_GPIO_Init();
- MX_USART2_UART_Init();
- MX_SPI1_Init();
- MX_FATFS_Init();
- MX_ADC_Init();
- /* USER CODE BEGIN 2 */
-
- fres = f_mount(&fs, "", 0);
- if (fres == FR_OK) {
- transmit_uart("SD card is mounted successfully!\r\n");
- } else if (fres != FR_OK) {
- transmit_uart("SD card is not mounted!\r\n");
- }
-
- /*// FA_OPEN_APPEND opens file if it exists and if not then creates it,
- // the pointer is set at the end of the file for appending
- fres = f_open(&fil, "log-file_test.txt", FA_OPEN_APPEND | FA_WRITE | FA_READ);
- if (fres == FR_OK) {
- transmit_uart("File opened.\r\n");
- } else if (fres != FR_OK) {
- transmit_uart("File was not opened!\r\n");
- }*/
-
- /*fres = f_getfree("", &fre_clust, &pfs);
- totalSpace = (uint32_t) ((pfs->n_fatent - 2) * pfs->csize * 0.5);
- freeSpace = (uint32_t) (fre_clust * pfs->csize * 0.5);
- char mSz[12];
- sprintf(mSz, "%lu", freeSpace);
- if (fres == FR_OK) {
- transmit_uart("Free space: \r");
- transmit_uart(mSz);
- transmit_uart("\r\n");
- } else if (fres != FR_OK) {
- transmit_uart("Free space could not be determined!\r\n");
- }
- */
-
- /* Open file to read */
- /*fres = f_open(&fil, "log-file.txt", FA_READ);
- if (fres == FR_OK) {
- transmit_uart("File opened.\r\n");
- } else if (fres != FR_OK) {
- transmit_uart("File was not opened!\r\n");
- }
-
- while (f_gets(buffer, sizeof(buffer), &fil)) {
- char mRd[100];
- sprintf(mRd, "%s", buffer);
- transmit_uart(mRd);
-
- }*/
-
- /* Close file */
- /*fres = f_close(&fil);
- if (fres == FR_OK) {
- transmit_uart("File is closed.\r\n");
- } else if (fres != FR_OK) {
- transmit_uart("File was not closed.\r\n");
- }
-
- f_mount(NULL, "", 1);
- if (fres == FR_OK) {
- transmit_uart("SD card is unmounted!\r\n");
- } else if (fres != FR_OK) {
- transmit_uart("SD card was not unmounted!\r\n");
- }*/
-
- //create textfile Name (day.month.year_Values.txt) and saves to txtVar
- int day = 12;
- int month = 2;
- int year = 21;
- char str_month[3];
- char str_year[3];
-
- //int to char array
- sprintf(txtVar, "%ld", day);
- sprintf(str_month, "%ld", month);
- sprintf(str_year, "%ld", year);
-
- //Concatenate strings
- strcat(txtVar, ".");
- strcat(str_month, ".");
- strcat(str_year, "_");
-
- strcat(txtVar, str_month);
- strcat(txtVar, str_year);
- strcat(txtVar, "Values.txt");
-
- /* USER CODE END 2 */
-
- /* Infinite loop */
- /* USER CODE BEGIN WHILE */
- while (1)
- {
- /* USER CODE END WHILE */
- HAL_Delay(5000);
-
- // Start ADC Conversion
- HAL_ADC_Start(&hadc);
- // Poll ADC1 Perihperal & TimeOut = 1mSec
- HAL_ADC_PollForConversion(&hadc, 1);
- // Read The ADC Conversion Result
- AD_RES = HAL_ADC_GetValue(&hadc);
-
- num++;
-
- // FA_OPEN_APPEND opens file (txtVar) if it exists and if not then creates it,
- // the pointer is set at the end of the file for appending
- fres = f_open(&fil, txtVar, FA_OPEN_APPEND | FA_WRITE | FA_READ);
- if (fres == FR_OK) {
- transmit_uart("File opened.\r\n");
- } else if (fres != FR_OK) {
- transmit_uart("File was not opened!\r\n");
- }
-
- f_puts("ADC_value_", &fil);
- f_printf(&fil, "%d", num);
- f_puts(" = ", &fil);
- f_printf(&fil, "%d\n", AD_RES);
-
- /* Close file */
- fres = f_close(&fil);
- if (fres == FR_OK) {
- transmit_uart("File is closed.\r\n");
- } else if (fres != FR_OK) {
- transmit_uart("File was not closed.\r\n");
- }
-
-
- /* USER CODE BEGIN 3 */
- }
- /* USER CODE END 3 */
-}
-
-/**
- * @brief System Clock Configuration
- * @retval None
- */
-void SystemClock_Config(void)
-{
- RCC_OscInitTypeDef RCC_OscInitStruct = {0};
- RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
-
- /** Configure the main internal regulator output voltage
- */
- __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
- /** Initializes the RCC Oscillators according to the specified parameters
- * in the RCC_OscInitTypeDef structure.
- */
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
- RCC_OscInitStruct.HSIState = RCC_HSI_ON;
- RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
- RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
- RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL6;
- RCC_OscInitStruct.PLL.PLLDIV = RCC_PLL_DIV3;
- if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
- {
- Error_Handler();
- }
- /** Initializes the CPU, AHB and APB buses clocks
- */
- RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
- |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
- RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
- RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
-
- if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_1) != HAL_OK)
- {
- Error_Handler();
- }
-}
-
-/**
- * @brief ADC Initialization Function
- * @param None
- * @retval None
- */
-static void MX_ADC_Init(void)
-{
-
- /* USER CODE BEGIN ADC_Init 0 */
-
- /* USER CODE END ADC_Init 0 */
-
- ADC_ChannelConfTypeDef sConfig = {0};
-
- /* USER CODE BEGIN ADC_Init 1 */
-
- /* USER CODE END ADC_Init 1 */
- /** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion)
- */
- hadc.Instance = ADC1;
- hadc.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV1;
- hadc.Init.Resolution = ADC_RESOLUTION_12B;
- hadc.Init.DataAlign = ADC_DATAALIGN_RIGHT;
- hadc.Init.ScanConvMode = ADC_SCAN_DISABLE;
- hadc.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
- hadc.Init.LowPowerAutoWait = ADC_AUTOWAIT_DISABLE;
- hadc.Init.LowPowerAutoPowerOff = ADC_AUTOPOWEROFF_DISABLE;
- hadc.Init.ChannelsBank = ADC_CHANNELS_BANK_A;
- hadc.Init.ContinuousConvMode = DISABLE;
- hadc.Init.NbrOfConversion = 1;
- hadc.Init.DiscontinuousConvMode = DISABLE;
- hadc.Init.ExternalTrigConv = ADC_SOFTWARE_START;
- hadc.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
- hadc.Init.DMAContinuousRequests = DISABLE;
- if (HAL_ADC_Init(&hadc) != HAL_OK)
- {
- Error_Handler();
- }
- /** Configure for the selected ADC regular channel its corresponding rank in the sequencer and its sample time.
- */
- sConfig.Channel = ADC_CHANNEL_0;
- sConfig.Rank = ADC_REGULAR_RANK_1;
- sConfig.SamplingTime = ADC_SAMPLETIME_384CYCLES;
- if (HAL_ADC_ConfigChannel(&hadc, &sConfig) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN ADC_Init 2 */
-
- /* USER CODE END ADC_Init 2 */
-
-}
-
-/**
- * @brief SPI1 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_SPI1_Init(void)
-{
-
- /* USER CODE BEGIN SPI1_Init 0 */
-
- /* USER CODE END SPI1_Init 0 */
-
- /* USER CODE BEGIN SPI1_Init 1 */
-
- /* USER CODE END SPI1_Init 1 */
- /* SPI1 parameter configuration*/
- hspi1.Instance = SPI1;
- hspi1.Init.Mode = SPI_MODE_MASTER;
- hspi1.Init.Direction = SPI_DIRECTION_2LINES;
- hspi1.Init.DataSize = SPI_DATASIZE_8BIT;
- hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;
- hspi1.Init.CLKPhase = SPI_PHASE_1EDGE;
- hspi1.Init.NSS = SPI_NSS_SOFT;
- hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_4;
- hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;
- hspi1.Init.TIMode = SPI_TIMODE_DISABLE;
- hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
- hspi1.Init.CRCPolynomial = 10;
- if (HAL_SPI_Init(&hspi1) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN SPI1_Init 2 */
-
- /* USER CODE END SPI1_Init 2 */
-
-}
-
-/**
- * @brief USART2 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_USART2_UART_Init(void)
-{
-
- /* USER CODE BEGIN USART2_Init 0 */
-
- /* USER CODE END USART2_Init 0 */
-
- /* USER CODE BEGIN USART2_Init 1 */
-
- /* USER CODE END USART2_Init 1 */
- huart2.Instance = USART2;
- huart2.Init.BaudRate = 115200;
- huart2.Init.WordLength = UART_WORDLENGTH_8B;
- huart2.Init.StopBits = UART_STOPBITS_1;
- huart2.Init.Parity = UART_PARITY_NONE;
- huart2.Init.Mode = UART_MODE_TX_RX;
- huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
- huart2.Init.OverSampling = UART_OVERSAMPLING_16;
- if (HAL_UART_Init(&huart2) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN USART2_Init 2 */
-
- /* USER CODE END USART2_Init 2 */
-
-}
-
-/**
- * @brief GPIO Initialization Function
- * @param None
- * @retval None
- */
-static void MX_GPIO_Init(void)
-{
- GPIO_InitTypeDef GPIO_InitStruct = {0};
-
- /* GPIO Ports Clock Enable */
- __HAL_RCC_GPIOC_CLK_ENABLE();
- __HAL_RCC_GPIOH_CLK_ENABLE();
- __HAL_RCC_GPIOA_CLK_ENABLE();
- __HAL_RCC_GPIOB_CLK_ENABLE();
-
- /*Configure GPIO pin Output Level */
- HAL_GPIO_WritePin(GPIOB, GPIO_PIN_6, GPIO_PIN_SET);
-
- /*Configure GPIO pin : B1_Pin */
- GPIO_InitStruct.Pin = B1_Pin;
- GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- HAL_GPIO_Init(B1_GPIO_Port, &GPIO_InitStruct);
-
- /*Configure GPIO pin : PB6 */
- GPIO_InitStruct.Pin = GPIO_PIN_6;
- GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
-
-}
-
-/* USER CODE BEGIN 4 */
-
-/* USER CODE END 4 */
-
-/**
- * @brief This function is executed in case of error occurrence.
- * @retval None
- */
-void Error_Handler(void)
-{
- /* USER CODE BEGIN Error_Handler_Debug */
- /* User can add his own implementation to report the HAL error return state */
-
- /* USER CODE END Error_Handler_Debug */
-}
-
-#ifdef USE_FULL_ASSERT
-/**
- * @brief Reports the name of the source file and the source line number
- * where the assert_param error has occurred.
- * @param file: pointer to the source file name
- * @param line: assert_param error line source number
- * @retval None
- */
-void assert_failed(uint8_t *file, uint32_t line)
-{
- /* USER CODE BEGIN 6 */
- /* User can add his own implementation to report the file name and line number,
- tex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
- /* USER CODE END 6 */
-}
-#endif /* USE_FULL_ASSERT */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/SD_CARD_SPI/Core/Src/stm32l1xx_hal_msp.c b/SD_CARD_SPI/Core/Src/stm32l1xx_hal_msp.c
deleted file mode 100644
index 1ff52b2..0000000
--- a/SD_CARD_SPI/Core/Src/stm32l1xx_hal_msp.c
+++ /dev/null
@@ -1,280 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * File Name : stm32l1xx_hal_msp.c
- * Description : This file provides code for the MSP Initialization
- * and de-Initialization codes.
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2020 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-
-/* Includes ------------------------------------------------------------------*/
-#include "main.h"
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Private typedef -----------------------------------------------------------*/
-/* USER CODE BEGIN TD */
-
-/* USER CODE END TD */
-
-/* Private define ------------------------------------------------------------*/
-/* USER CODE BEGIN Define */
-
-/* USER CODE END Define */
-
-/* Private macro -------------------------------------------------------------*/
-/* USER CODE BEGIN Macro */
-
-/* USER CODE END Macro */
-
-/* Private variables ---------------------------------------------------------*/
-/* USER CODE BEGIN PV */
-
-/* USER CODE END PV */
-
-/* Private function prototypes -----------------------------------------------*/
-/* USER CODE BEGIN PFP */
-
-/* USER CODE END PFP */
-
-/* External functions --------------------------------------------------------*/
-/* USER CODE BEGIN ExternalFunctions */
-
-/* USER CODE END ExternalFunctions */
-
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-/**
- * Initializes the Global MSP.
- */
-void HAL_MspInit(void)
-{
- /* USER CODE BEGIN MspInit 0 */
-
- /* USER CODE END MspInit 0 */
-
- __HAL_RCC_COMP_CLK_ENABLE();
- __HAL_RCC_SYSCFG_CLK_ENABLE();
- __HAL_RCC_PWR_CLK_ENABLE();
-
- HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_0);
-
- /* System interrupt init*/
-
- /* USER CODE BEGIN MspInit 1 */
-
- /* USER CODE END MspInit 1 */
-}
-
-/**
-* @brief ADC MSP Initialization
-* This function configures the hardware resources used in this example
-* @param hadc: ADC handle pointer
-* @retval None
-*/
-void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc)
-{
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- if(hadc->Instance==ADC1)
- {
- /* USER CODE BEGIN ADC1_MspInit 0 */
-
- /* USER CODE END ADC1_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_ADC1_CLK_ENABLE();
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- /**ADC GPIO Configuration
- PA0-WKUP1 ------> ADC_IN0
- */
- GPIO_InitStruct.Pin = GPIO_PIN_0;
- GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* USER CODE BEGIN ADC1_MspInit 1 */
-
- /* USER CODE END ADC1_MspInit 1 */
- }
-
-}
-
-/**
-* @brief ADC MSP De-Initialization
-* This function freeze the hardware resources used in this example
-* @param hadc: ADC handle pointer
-* @retval None
-*/
-void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc)
-{
- if(hadc->Instance==ADC1)
- {
- /* USER CODE BEGIN ADC1_MspDeInit 0 */
-
- /* USER CODE END ADC1_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_ADC1_CLK_DISABLE();
-
- /**ADC GPIO Configuration
- PA0-WKUP1 ------> ADC_IN0
- */
- HAL_GPIO_DeInit(GPIOA, GPIO_PIN_0);
-
- /* USER CODE BEGIN ADC1_MspDeInit 1 */
-
- /* USER CODE END ADC1_MspDeInit 1 */
- }
-
-}
-
-/**
-* @brief SPI MSP Initialization
-* This function configures the hardware resources used in this example
-* @param hspi: SPI handle pointer
-* @retval None
-*/
-void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi)
-{
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- if(hspi->Instance==SPI1)
- {
- /* USER CODE BEGIN SPI1_MspInit 0 */
-
- /* USER CODE END SPI1_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_SPI1_CLK_ENABLE();
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- /**SPI1 GPIO Configuration
- PA5 ------> SPI1_SCK
- PA6 ------> SPI1_MISO
- PA7 ------> SPI1_MOSI
- */
- GPIO_InitStruct.Pin = GPIO_PIN_5|GPIO_PIN_6|GPIO_PIN_7;
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
- GPIO_InitStruct.Alternate = GPIO_AF5_SPI1;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* USER CODE BEGIN SPI1_MspInit 1 */
-
- /* USER CODE END SPI1_MspInit 1 */
- }
-
-}
-
-/**
-* @brief SPI MSP De-Initialization
-* This function freeze the hardware resources used in this example
-* @param hspi: SPI handle pointer
-* @retval None
-*/
-void HAL_SPI_MspDeInit(SPI_HandleTypeDef* hspi)
-{
- if(hspi->Instance==SPI1)
- {
- /* USER CODE BEGIN SPI1_MspDeInit 0 */
-
- /* USER CODE END SPI1_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_SPI1_CLK_DISABLE();
-
- /**SPI1 GPIO Configuration
- PA5 ------> SPI1_SCK
- PA6 ------> SPI1_MISO
- PA7 ------> SPI1_MOSI
- */
- HAL_GPIO_DeInit(GPIOA, GPIO_PIN_5|GPIO_PIN_6|GPIO_PIN_7);
-
- /* USER CODE BEGIN SPI1_MspDeInit 1 */
-
- /* USER CODE END SPI1_MspDeInit 1 */
- }
-
-}
-
-/**
-* @brief UART MSP Initialization
-* This function configures the hardware resources used in this example
-* @param huart: UART handle pointer
-* @retval None
-*/
-void HAL_UART_MspInit(UART_HandleTypeDef* huart)
-{
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- if(huart->Instance==USART2)
- {
- /* USER CODE BEGIN USART2_MspInit 0 */
-
- /* USER CODE END USART2_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_USART2_CLK_ENABLE();
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- /**USART2 GPIO Configuration
- PA2 ------> USART2_TX
- PA3 ------> USART2_RX
- */
- GPIO_InitStruct.Pin = USART_TX_Pin|USART_RX_Pin;
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
- GPIO_InitStruct.Alternate = GPIO_AF7_USART2;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* USER CODE BEGIN USART2_MspInit 1 */
-
- /* USER CODE END USART2_MspInit 1 */
- }
-
-}
-
-/**
-* @brief UART MSP De-Initialization
-* This function freeze the hardware resources used in this example
-* @param huart: UART handle pointer
-* @retval None
-*/
-void HAL_UART_MspDeInit(UART_HandleTypeDef* huart)
-{
- if(huart->Instance==USART2)
- {
- /* USER CODE BEGIN USART2_MspDeInit 0 */
-
- /* USER CODE END USART2_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_USART2_CLK_DISABLE();
-
- /**USART2 GPIO Configuration
- PA2 ------> USART2_TX
- PA3 ------> USART2_RX
- */
- HAL_GPIO_DeInit(GPIOA, USART_TX_Pin|USART_RX_Pin);
-
- /* USER CODE BEGIN USART2_MspDeInit 1 */
-
- /* USER CODE END USART2_MspDeInit 1 */
- }
-
-}
-
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/SD_CARD_SPI/Core/Src/stm32l1xx_it.c b/SD_CARD_SPI/Core/Src/stm32l1xx_it.c
deleted file mode 100644
index 871020c..0000000
--- a/SD_CARD_SPI/Core/Src/stm32l1xx_it.c
+++ /dev/null
@@ -1,219 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file stm32l1xx_it.c
- * @brief Interrupt Service Routines.
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2020 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-
-/* Includes ------------------------------------------------------------------*/
-#include "main.h"
-#include "stm32l1xx_it.h"
-/* Private includes ----------------------------------------------------------*/
-/* USER CODE BEGIN Includes */
-
-extern uint16_t Timer1, Timer2;
-
-extern DMA_HandleTypeDef hdma_spi1_tx;
-extern SPI_HandleTypeDef hspi1;
-
-/* USER CODE END Includes */
-
-/* Private typedef -----------------------------------------------------------*/
-/* USER CODE BEGIN TD */
-
-/* USER CODE END TD */
-
-/* Private define ------------------------------------------------------------*/
-/* USER CODE BEGIN PD */
-
-/* USER CODE END PD */
-
-/* Private macro -------------------------------------------------------------*/
-/* USER CODE BEGIN PM */
-
-/* USER CODE END PM */
-
-/* Private variables ---------------------------------------------------------*/
-/* USER CODE BEGIN PV */
-
-/* USER CODE END PV */
-
-/* Private function prototypes -----------------------------------------------*/
-/* USER CODE BEGIN PFP */
-
-/* USER CODE END PFP */
-
-/* Private user code ---------------------------------------------------------*/
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-/* External variables --------------------------------------------------------*/
-
-/* USER CODE BEGIN EV */
-
-/* USER CODE END EV */
-
-/******************************************************************************/
-/* Cortex-M3 Processor Interruption and Exception Handlers */
-/******************************************************************************/
-/**
- * @brief This function handles Non maskable interrupt.
- */
-void NMI_Handler(void)
-{
- /* USER CODE BEGIN NonMaskableInt_IRQn 0 */
-
- /* USER CODE END NonMaskableInt_IRQn 0 */
- /* USER CODE BEGIN NonMaskableInt_IRQn 1 */
-
- /* USER CODE END NonMaskableInt_IRQn 1 */
-}
-
-/**
- * @brief This function handles Hard fault interrupt.
- */
-void HardFault_Handler(void)
-{
- /* USER CODE BEGIN HardFault_IRQn 0 */
-
- /* USER CODE END HardFault_IRQn 0 */
- while (1)
- {
- /* USER CODE BEGIN W1_HardFault_IRQn 0 */
- /* USER CODE END W1_HardFault_IRQn 0 */
- }
-}
-
-/**
- * @brief This function handles Memory management fault.
- */
-void MemManage_Handler(void)
-{
- /* USER CODE BEGIN MemoryManagement_IRQn 0 */
-
- /* USER CODE END MemoryManagement_IRQn 0 */
- while (1)
- {
- /* USER CODE BEGIN W1_MemoryManagement_IRQn 0 */
- /* USER CODE END W1_MemoryManagement_IRQn 0 */
- }
-}
-
-/**
- * @brief This function handles Pre-fetch fault, memory access fault.
- */
-void BusFault_Handler(void)
-{
- /* USER CODE BEGIN BusFault_IRQn 0 */
-
- /* USER CODE END BusFault_IRQn 0 */
- while (1)
- {
- /* USER CODE BEGIN W1_BusFault_IRQn 0 */
- /* USER CODE END W1_BusFault_IRQn 0 */
- }
-}
-
-/**
- * @brief This function handles Undefined instruction or illegal state.
- */
-void UsageFault_Handler(void)
-{
- /* USER CODE BEGIN UsageFault_IRQn 0 */
-
- /* USER CODE END UsageFault_IRQn 0 */
- while (1)
- {
- /* USER CODE BEGIN W1_UsageFault_IRQn 0 */
- /* USER CODE END W1_UsageFault_IRQn 0 */
- }
-}
-
-/**
- * @brief This function handles System service call via SWI instruction.
- */
-void SVC_Handler(void)
-{
- /* USER CODE BEGIN SVC_IRQn 0 */
-
- /* USER CODE END SVC_IRQn 0 */
- /* USER CODE BEGIN SVC_IRQn 1 */
-
- /* USER CODE END SVC_IRQn 1 */
-}
-
-/**
- * @brief This function handles Debug monitor.
- */
-void DebugMon_Handler(void)
-{
- /* USER CODE BEGIN DebugMonitor_IRQn 0 */
-
- /* USER CODE END DebugMonitor_IRQn 0 */
- /* USER CODE BEGIN DebugMonitor_IRQn 1 */
-
- /* USER CODE END DebugMonitor_IRQn 1 */
-}
-
-/**
- * @brief This function handles Pendable request for system service.
- */
-void PendSV_Handler(void)
-{
- /* USER CODE BEGIN PendSV_IRQn 0 */
-
- /* USER CODE END PendSV_IRQn 0 */
- /* USER CODE BEGIN PendSV_IRQn 1 */
-
- /* USER CODE END PendSV_IRQn 1 */
-}
-
-/**
- * @brief This function handles System tick timer.
- */
-void SysTick_Handler(void)
-{
- /* USER CODE BEGIN SysTick_IRQn 0 */
-
- if (Timer1 > 0){
- Timer1--;
- }
-
- if (Timer2 > 0){
- Timer2--;
- }
-
- /* USER CODE END SysTick_IRQn 0 */
- HAL_IncTick();
- /* USER CODE BEGIN SysTick_IRQn 1 */
-
- HAL_SYSTICK_IRQHandler();
-
- /* USER CODE END SysTick_IRQn 1 */
-}
-
-/******************************************************************************/
-/* STM32L1xx Peripheral Interrupt Handlers */
-/* Add here the Interrupt Handlers for the used peripherals. */
-/* For the available peripheral interrupt handler names, */
-/* please refer to the startup file (startup_stm32l1xx.s). */
-/******************************************************************************/
-
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/SD_CARD_SPI/Core/Src/syscalls.c b/SD_CARD_SPI/Core/Src/syscalls.c
deleted file mode 100644
index 4ec9584..0000000
--- a/SD_CARD_SPI/Core/Src/syscalls.c
+++ /dev/null
@@ -1,159 +0,0 @@
-/**
- ******************************************************************************
- * @file syscalls.c
- * @author Auto-generated by STM32CubeIDE
- * @brief STM32CubeIDE Minimal System calls file
- *
- * For more information about which c-functions
- * need which of these lowlevel functions
- * please consult the Newlib libc-manual
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2020 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-
-/* Includes */
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-/* Variables */
-//#undef errno
-extern int errno;
-extern int __io_putchar(int ch) __attribute__((weak));
-extern int __io_getchar(void) __attribute__((weak));
-
-register char * stack_ptr asm("sp");
-
-char *__env[1] = { 0 };
-char **environ = __env;
-
-
-/* Functions */
-void initialise_monitor_handles()
-{
-}
-
-int _getpid(void)
-{
- return 1;
-}
-
-int _kill(int pid, int sig)
-{
- errno = EINVAL;
- return -1;
-}
-
-void _exit (int status)
-{
- _kill(status, -1);
- while (1) {} /* Make sure we hang here */
-}
-
-__attribute__((weak)) int _read(int file, char *ptr, int len)
-{
- int DataIdx;
-
- for (DataIdx = 0; DataIdx < len; DataIdx++)
- {
- *ptr++ = __io_getchar();
- }
-
-return len;
-}
-
-__attribute__((weak)) int _write(int file, char *ptr, int len)
-{
- int DataIdx;
-
- for (DataIdx = 0; DataIdx < len; DataIdx++)
- {
- __io_putchar(*ptr++);
- }
- return len;
-}
-
-int _close(int file)
-{
- return -1;
-}
-
-
-int _fstat(int file, struct stat *st)
-{
- st->st_mode = S_IFCHR;
- return 0;
-}
-
-int _isatty(int file)
-{
- return 1;
-}
-
-int _lseek(int file, int ptr, int dir)
-{
- return 0;
-}
-
-int _open(char *path, int flags, ...)
-{
- /* Pretend like we always fail */
- return -1;
-}
-
-int _wait(int *status)
-{
- errno = ECHILD;
- return -1;
-}
-
-int _unlink(char *name)
-{
- errno = ENOENT;
- return -1;
-}
-
-int _times(struct tms *buf)
-{
- return -1;
-}
-
-int _stat(char *file, struct stat *st)
-{
- st->st_mode = S_IFCHR;
- return 0;
-}
-
-int _link(char *old, char *new)
-{
- errno = EMLINK;
- return -1;
-}
-
-int _fork(void)
-{
- errno = EAGAIN;
- return -1;
-}
-
-int _execve(char *name, char **argv, char **env)
-{
- errno = ENOMEM;
- return -1;
-}
diff --git a/SD_CARD_SPI/Core/Src/sysmem.c b/SD_CARD_SPI/Core/Src/sysmem.c
deleted file mode 100644
index 23180b6..0000000
--- a/SD_CARD_SPI/Core/Src/sysmem.c
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- ******************************************************************************
- * @file sysmem.c
- * @author Generated by STM32CubeIDE
- * @brief STM32CubeIDE System Memory calls file
- *
- * For more information about which C functions
- * need which of these lowlevel functions
- * please consult the newlib libc manual
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2020 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-
-/* Includes */
-#include
-#include
-
-/**
- * Pointer to the current high watermark of the heap usage
- */
-static uint8_t *__sbrk_heap_end = NULL;
-
-/**
- * @brief _sbrk() allocates memory to the newlib heap and is used by malloc
- * and others from the C library
- *
- * @verbatim
- * ############################################################################
- * # .data # .bss # newlib heap # MSP stack #
- * # # # # Reserved by _Min_Stack_Size #
- * ############################################################################
- * ^-- RAM start ^-- _end _estack, RAM end --^
- * @endverbatim
- *
- * This implementation starts allocating at the '_end' linker symbol
- * The '_Min_Stack_Size' linker symbol reserves a memory for the MSP stack
- * The implementation considers '_estack' linker symbol to be RAM end
- * NOTE: If the MSP stack, at any point during execution, grows larger than the
- * reserved size, please increase the '_Min_Stack_Size'.
- *
- * @param incr Memory size
- * @return Pointer to allocated memory
- */
-void *_sbrk(ptrdiff_t incr)
-{
- extern uint8_t _end; /* Symbol defined in the linker script */
- extern uint8_t _estack; /* Symbol defined in the linker script */
- extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */
- const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size;
- const uint8_t *max_heap = (uint8_t *)stack_limit;
- uint8_t *prev_heap_end;
-
- /* Initalize heap end at first call */
- if (NULL == __sbrk_heap_end)
- {
- __sbrk_heap_end = &_end;
- }
-
- /* Protect heap from growing into the reserved MSP stack */
- if (__sbrk_heap_end + incr > max_heap)
- {
- errno = ENOMEM;
- return (void *)-1;
- }
-
- prev_heap_end = __sbrk_heap_end;
- __sbrk_heap_end += incr;
-
- return (void *)prev_heap_end;
-}
diff --git a/SD_CARD_SPI/Core/Src/system_stm32l1xx.c b/SD_CARD_SPI/Core/Src/system_stm32l1xx.c
deleted file mode 100644
index c3d397d..0000000
--- a/SD_CARD_SPI/Core/Src/system_stm32l1xx.c
+++ /dev/null
@@ -1,408 +0,0 @@
-/**
- ******************************************************************************
- * @file system_stm32l1xx.c
- * @author MCD Application Team
- * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File.
- *
- * This file provides two functions and one global variable to be called from
- * user application:
- * - SystemInit(): This function is called at startup just after reset and
- * before branch to main program. This call is made inside
- * the "startup_stm32l1xx.s" file.
- *
- * - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
- * by the user application to setup the SysTick
- * timer or configure other parameters.
- *
- * - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
- * be called whenever the core clock is changed
- * during program execution.
- *
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2017 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-
-/** @addtogroup CMSIS
- * @{
- */
-
-/** @addtogroup stm32l1xx_system
- * @{
- */
-
-/** @addtogroup STM32L1xx_System_Private_Includes
- * @{
- */
-
-#include "stm32l1xx.h"
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L1xx_System_Private_TypesDefinitions
- * @{
- */
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L1xx_System_Private_Defines
- * @{
- */
-#if !defined (HSE_VALUE)
- #define HSE_VALUE ((uint32_t)8000000U) /*!< Default value of the External oscillator in Hz.
- This value can be provided and adapted by the user application. */
-#endif /* HSE_VALUE */
-
-#if !defined (HSI_VALUE)
- #define HSI_VALUE ((uint32_t)8000000U) /*!< Default value of the Internal oscillator in Hz.
- This value can be provided and adapted by the user application. */
-#endif /* HSI_VALUE */
-
-/*!< Uncomment the following line if you need to use external SRAM mounted
- on STM32L152D_EVAL board as data memory */
-/* #define DATA_IN_ExtSRAM */
-
-/*!< Uncomment the following line if you need to relocate your vector Table in
- Internal SRAM. */
-/* #define VECT_TAB_SRAM */
-#define VECT_TAB_OFFSET 0x00U /*!< Vector Table base offset field.
- This value must be a multiple of 0x200. */
-/**
- * @}
- */
-
-/** @addtogroup STM32L1xx_System_Private_Macros
- * @{
- */
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L1xx_System_Private_Variables
- * @{
- */
- /* This variable is updated in three ways:
- 1) by calling CMSIS function SystemCoreClockUpdate()
- 2) by calling HAL API function HAL_RCC_GetHCLKFreq()
- 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
- Note: If you use this function to configure the system clock; then there
- is no need to call the 2 first functions listed above, since SystemCoreClock
- variable is updated automatically.
- */
-uint32_t SystemCoreClock = 2097000U;
-const uint8_t PLLMulTable[9] = {3U, 4U, 6U, 8U, 12U, 16U, 24U, 32U, 48U};
-const uint8_t AHBPrescTable[16] = {0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U, 6U, 7U, 8U, 9U};
-const uint8_t APBPrescTable[8] = {0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U};
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L1xx_System_Private_FunctionPrototypes
- * @{
- */
-
-#if defined (STM32L151xD) || defined (STM32L152xD) || defined (STM32L162xD)
-#ifdef DATA_IN_ExtSRAM
- static void SystemInit_ExtMemCtl(void);
-#endif /* DATA_IN_ExtSRAM */
-#endif /* STM32L151xD || STM32L152xD || STM32L162xD */
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L1xx_System_Private_Functions
- * @{
- */
-
-/**
- * @brief Setup the microcontroller system.
- * Initialize the Embedded Flash Interface, the PLL and update the
- * SystemCoreClock variable.
- * @param None
- * @retval None
- */
-void SystemInit (void)
-{
-#ifdef DATA_IN_ExtSRAM
- SystemInit_ExtMemCtl();
-#endif /* DATA_IN_ExtSRAM */
-
-#ifdef VECT_TAB_SRAM
- SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */
-#else
- SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH. */
-#endif
-}
-
-/**
- * @brief Update SystemCoreClock according to Clock Register Values
- * The SystemCoreClock variable contains the core clock (HCLK), it can
- * be used by the user application to setup the SysTick timer or configure
- * other parameters.
- *
- * @note Each time the core clock (HCLK) changes, this function must be called
- * to update SystemCoreClock variable value. Otherwise, any configuration
- * based on this variable will be incorrect.
- *
- * @note - The system frequency computed by this function is not the real
- * frequency in the chip. It is calculated based on the predefined
- * constant and the selected clock source:
- *
- * - If SYSCLK source is MSI, SystemCoreClock will contain the MSI
- * value as defined by the MSI range.
- *
- * - If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(*)
- *
- * - If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(**)
- *
- * - If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(**)
- * or HSI_VALUE(*) multiplied/divided by the PLL factors.
- *
- * (*) HSI_VALUE is a constant defined in stm32l1xx.h file (default value
- * 16 MHz) but the real value may vary depending on the variations
- * in voltage and temperature.
- *
- * (**) HSE_VALUE is a constant defined in stm32l1xx.h file (default value
- * 8 MHz), user has to ensure that HSE_VALUE is same as the real
- * frequency of the crystal used. Otherwise, this function may
- * have wrong result.
- *
- * - The result of this function could be not correct when using fractional
- * value for HSE crystal.
- * @param None
- * @retval None
- */
-void SystemCoreClockUpdate (void)
-{
- uint32_t tmp = 0, pllmul = 0, plldiv = 0, pllsource = 0, msirange = 0;
-
- /* Get SYSCLK source -------------------------------------------------------*/
- tmp = RCC->CFGR & RCC_CFGR_SWS;
-
- switch (tmp)
- {
- case 0x00: /* MSI used as system clock */
- msirange = (RCC->ICSCR & RCC_ICSCR_MSIRANGE) >> 13;
- SystemCoreClock = (32768 * (1 << (msirange + 1)));
- break;
- case 0x04: /* HSI used as system clock */
- SystemCoreClock = HSI_VALUE;
- break;
- case 0x08: /* HSE used as system clock */
- SystemCoreClock = HSE_VALUE;
- break;
- case 0x0C: /* PLL used as system clock */
- /* Get PLL clock source and multiplication factor ----------------------*/
- pllmul = RCC->CFGR & RCC_CFGR_PLLMUL;
- plldiv = RCC->CFGR & RCC_CFGR_PLLDIV;
- pllmul = PLLMulTable[(pllmul >> 18)];
- plldiv = (plldiv >> 22) + 1;
-
- pllsource = RCC->CFGR & RCC_CFGR_PLLSRC;
-
- if (pllsource == 0x00)
- {
- /* HSI oscillator clock selected as PLL clock entry */
- SystemCoreClock = (((HSI_VALUE) * pllmul) / plldiv);
- }
- else
- {
- /* HSE selected as PLL clock entry */
- SystemCoreClock = (((HSE_VALUE) * pllmul) / plldiv);
- }
- break;
- default: /* MSI used as system clock */
- msirange = (RCC->ICSCR & RCC_ICSCR_MSIRANGE) >> 13;
- SystemCoreClock = (32768 * (1 << (msirange + 1)));
- break;
- }
- /* Compute HCLK clock frequency --------------------------------------------*/
- /* Get HCLK prescaler */
- tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> 4)];
- /* HCLK clock frequency */
- SystemCoreClock >>= tmp;
-}
-
-#if defined (STM32L151xD) || defined (STM32L152xD) || defined (STM32L162xD)
-#ifdef DATA_IN_ExtSRAM
-/**
- * @brief Setup the external memory controller.
- * Called in SystemInit() function before jump to main.
- * This function configures the external SRAM mounted on STM32L152D_EVAL board
- * This SRAM will be used as program data memory (including heap and stack).
- * @param None
- * @retval None
- */
-void SystemInit_ExtMemCtl(void)
-{
- __IO uint32_t tmpreg = 0;
-
- /* Flash 1 wait state */
- FLASH->ACR |= FLASH_ACR_LATENCY;
-
- /* Power enable */
- RCC->APB1ENR |= RCC_APB1ENR_PWREN;
-
- /* Delay after an RCC peripheral clock enabling */
- tmpreg = READ_BIT(RCC->APB1ENR, RCC_APB1ENR_PWREN);
-
- /* Select the Voltage Range 1 (1.8 V) */
- PWR->CR = PWR_CR_VOS_0;
-
- /* Wait Until the Voltage Regulator is ready */
- while((PWR->CSR & PWR_CSR_VOSF) != RESET)
- {
- }
-
-/*-- GPIOs Configuration -----------------------------------------------------*/
-/*
- +-------------------+--------------------+------------------+------------------+
- + SRAM pins assignment +
- +-------------------+--------------------+------------------+------------------+
- | PD0 <-> FSMC_D2 | PE0 <-> FSMC_NBL0 | PF0 <-> FSMC_A0 | PG0 <-> FSMC_A10 |
- | PD1 <-> FSMC_D3 | PE1 <-> FSMC_NBL1 | PF1 <-> FSMC_A1 | PG1 <-> FSMC_A11 |
- | PD4 <-> FSMC_NOE | PE7 <-> FSMC_D4 | PF2 <-> FSMC_A2 | PG2 <-> FSMC_A12 |
- | PD5 <-> FSMC_NWE | PE8 <-> FSMC_D5 | PF3 <-> FSMC_A3 | PG3 <-> FSMC_A13 |
- | PD8 <-> FSMC_D13 | PE9 <-> FSMC_D6 | PF4 <-> FSMC_A4 | PG4 <-> FSMC_A14 |
- | PD9 <-> FSMC_D14 | PE10 <-> FSMC_D7 | PF5 <-> FSMC_A5 | PG5 <-> FSMC_A15 |
- | PD10 <-> FSMC_D15 | PE11 <-> FSMC_D8 | PF12 <-> FSMC_A6 | PG10<-> FSMC_NE2 |
- | PD11 <-> FSMC_A16 | PE12 <-> FSMC_D9 | PF13 <-> FSMC_A7 |------------------+
- | PD12 <-> FSMC_A17 | PE13 <-> FSMC_D10 | PF14 <-> FSMC_A8 |
- | PD13 <-> FSMC_A18 | PE14 <-> FSMC_D11 | PF15 <-> FSMC_A9 |
- | PD14 <-> FSMC_D0 | PE15 <-> FSMC_D12 |------------------+
- | PD15 <-> FSMC_D1 |--------------------+
- +-------------------+
-*/
-
- /* Enable GPIOD, GPIOE, GPIOF and GPIOG interface clock */
- RCC->AHBENR = 0x000080D8;
-
- /* Delay after an RCC peripheral clock enabling */
- tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_GPIODEN);
-
- /* Connect PDx pins to FSMC Alternate function */
- GPIOD->AFR[0] = 0x00CC00CC;
- GPIOD->AFR[1] = 0xCCCCCCCC;
- /* Configure PDx pins in Alternate function mode */
- GPIOD->MODER = 0xAAAA0A0A;
- /* Configure PDx pins speed to 40 MHz */
- GPIOD->OSPEEDR = 0xFFFF0F0F;
- /* Configure PDx pins Output type to push-pull */
- GPIOD->OTYPER = 0x00000000;
- /* No pull-up, pull-down for PDx pins */
- GPIOD->PUPDR = 0x00000000;
-
- /* Connect PEx pins to FSMC Alternate function */
- GPIOE->AFR[0] = 0xC00000CC;
- GPIOE->AFR[1] = 0xCCCCCCCC;
- /* Configure PEx pins in Alternate function mode */
- GPIOE->MODER = 0xAAAA800A;
- /* Configure PEx pins speed to 40 MHz */
- GPIOE->OSPEEDR = 0xFFFFC00F;
- /* Configure PEx pins Output type to push-pull */
- GPIOE->OTYPER = 0x00000000;
- /* No pull-up, pull-down for PEx pins */
- GPIOE->PUPDR = 0x00000000;
-
- /* Connect PFx pins to FSMC Alternate function */
- GPIOF->AFR[0] = 0x00CCCCCC;
- GPIOF->AFR[1] = 0xCCCC0000;
- /* Configure PFx pins in Alternate function mode */
- GPIOF->MODER = 0xAA000AAA;
- /* Configure PFx pins speed to 40 MHz */
- GPIOF->OSPEEDR = 0xFF000FFF;
- /* Configure PFx pins Output type to push-pull */
- GPIOF->OTYPER = 0x00000000;
- /* No pull-up, pull-down for PFx pins */
- GPIOF->PUPDR = 0x00000000;
-
- /* Connect PGx pins to FSMC Alternate function */
- GPIOG->AFR[0] = 0x00CCCCCC;
- GPIOG->AFR[1] = 0x00000C00;
- /* Configure PGx pins in Alternate function mode */
- GPIOG->MODER = 0x00200AAA;
- /* Configure PGx pins speed to 40 MHz */
- GPIOG->OSPEEDR = 0x00300FFF;
- /* Configure PGx pins Output type to push-pull */
- GPIOG->OTYPER = 0x00000000;
- /* No pull-up, pull-down for PGx pins */
- GPIOG->PUPDR = 0x00000000;
-
-/*-- FSMC Configuration ------------------------------------------------------*/
- /* Enable the FSMC interface clock */
- RCC->AHBENR = 0x400080D8;
-
- /* Delay after an RCC peripheral clock enabling */
- tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_FSMCEN);
-
- (void)(tmpreg);
-
- /* Configure and enable Bank1_SRAM3 */
- FSMC_Bank1->BTCR[4] = 0x00001011;
- FSMC_Bank1->BTCR[5] = 0x00000300;
- FSMC_Bank1E->BWTR[4] = 0x0FFFFFFF;
-/*
- Bank1_SRAM3 is configured as follow:
-
- p.FSMC_AddressSetupTime = 0;
- p.FSMC_AddressHoldTime = 0;
- p.FSMC_DataSetupTime = 3;
- p.FSMC_BusTurnAroundDuration = 0;
- p.FSMC_CLKDivision = 0;
- p.FSMC_DataLatency = 0;
- p.FSMC_AccessMode = FSMC_AccessMode_A;
-
- FSMC_NORSRAMInitStructure.FSMC_Bank = FSMC_Bank1_NORSRAM3;
- FSMC_NORSRAMInitStructure.FSMC_DataAddressMux = FSMC_DataAddressMux_Disable;
- FSMC_NORSRAMInitStructure.FSMC_MemoryType = FSMC_MemoryType_SRAM;
- FSMC_NORSRAMInitStructure.FSMC_MemoryDataWidth = FSMC_MemoryDataWidth_16b;
- FSMC_NORSRAMInitStructure.FSMC_BurstAccessMode = FSMC_BurstAccessMode_Disable;
- FSMC_NORSRAMInitStructure.FSMC_AsynchronousWait = FSMC_AsynchronousWait_Disable;
- FSMC_NORSRAMInitStructure.FSMC_WaitSignalPolarity = FSMC_WaitSignalPolarity_Low;
- FSMC_NORSRAMInitStructure.FSMC_WrapMode = FSMC_WrapMode_Disable;
- FSMC_NORSRAMInitStructure.FSMC_WaitSignalActive = FSMC_WaitSignalActive_BeforeWaitState;
- FSMC_NORSRAMInitStructure.FSMC_WriteOperation = FSMC_WriteOperation_Enable;
- FSMC_NORSRAMInitStructure.FSMC_WaitSignal = FSMC_WaitSignal_Disable;
- FSMC_NORSRAMInitStructure.FSMC_ExtendedMode = FSMC_ExtendedMode_Disable;
- FSMC_NORSRAMInitStructure.FSMC_WriteBurst = FSMC_WriteBurst_Disable;
- FSMC_NORSRAMInitStructure.FSMC_ReadWriteTimingStruct = &p;
- FSMC_NORSRAMInitStructure.FSMC_WriteTimingStruct = &p;
-
- FSMC_NORSRAMInit(&FSMC_NORSRAMInitStructure);
-
- FSMC_NORSRAMCmd(FSMC_Bank1_NORSRAM3, ENABLE);
-*/
-
-}
-#endif /* DATA_IN_ExtSRAM */
-#endif /* STM32L151xD || STM32L152xD || STM32L162xD */
-
-/**
- * @}
- */
-
-/**
- * @}
- */
-
-/**
- * @}
- */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/SD_CARD_SPI/Core/Startup/startup_stm32l152retx.s b/SD_CARD_SPI/Core/Startup/startup_stm32l152retx.s
deleted file mode 100644
index 39307f4..0000000
--- a/SD_CARD_SPI/Core/Startup/startup_stm32l152retx.s
+++ /dev/null
@@ -1,409 +0,0 @@
-/**
- ******************************************************************************
- * @file startup_stm32l152xe.s
- * @author MCD Application Team
- * @brief STM32L152XE Devices vector table for GCC toolchain.
- * This module performs:
- * - Set the initial SP
- * - Set the initial PC == Reset_Handler,
- * - Set the vector table entries with the exceptions ISR address
- * - Configure the clock system
- * - Branches to main in the C library (which eventually
- * calls main()).
- * After Reset the Cortex-M3 processor is in Thread mode,
- * priority is Privileged, and the Stack is set to Main.
- ******************************************************************************
- *
- * @attention
- *
- * Copyright (c) 2017 STMicroelectronics. All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-
- .syntax unified
- .cpu cortex-m3
- .fpu softvfp
- .thumb
-
-.global g_pfnVectors
-.global Default_Handler
-
-/* start address for the initialization values of the .data section.
-defined in linker script */
-.word _sidata
-/* start address for the .data section. defined in linker script */
-.word _sdata
-/* end address for the .data section. defined in linker script */
-.word _edata
-/* start address for the .bss section. defined in linker script */
-.word _sbss
-/* end address for the .bss section. defined in linker script */
-.word _ebss
-
-.equ BootRAM, 0xF108F85F
-/**
- * @brief This is the code that gets called when the processor first
- * starts execution following a reset event. Only the absolutely
- * necessary set is performed, after which the application
- * supplied main() routine is called.
- * @param None
- * @retval : None
-*/
-
- .section .text.Reset_Handler
- .weak Reset_Handler
- .type Reset_Handler, %function
-Reset_Handler:
-
-/* Copy the data segment initializers from flash to SRAM */
- movs r1, #0
- b LoopCopyDataInit
-
-CopyDataInit:
- ldr r3, =_sidata
- ldr r3, [r3, r1]
- str r3, [r0, r1]
- adds r1, r1, #4
-
-LoopCopyDataInit:
- ldr r0, =_sdata
- ldr r3, =_edata
- adds r2, r0, r1
- cmp r2, r3
- bcc CopyDataInit
- ldr r2, =_sbss
- b LoopFillZerobss
-/* Zero fill the bss segment. */
-FillZerobss:
- movs r3, #0
- str r3, [r2], #4
-
-LoopFillZerobss:
- ldr r3, = _ebss
- cmp r2, r3
- bcc FillZerobss
-
-/* Call the clock system intitialization function.*/
- bl SystemInit
-/* Call static constructors */
- bl __libc_init_array
-/* Call the application's entry point.*/
- bl main
- bx lr
-.size Reset_Handler, .-Reset_Handler
-
-/**
- * @brief This is the code that gets called when the processor receives an
- * unexpected interrupt. This simply enters an infinite loop, preserving
- * the system state for examination by a debugger.
- *
- * @param None
- * @retval : None
-*/
- .section .text.Default_Handler,"ax",%progbits
-Default_Handler:
-Infinite_Loop:
- b Infinite_Loop
- .size Default_Handler, .-Default_Handler
-/******************************************************************************
-*
-* The minimal vector table for a Cortex M3. Note that the proper constructs
-* must be placed on this to ensure that it ends up at physical address
-* 0x0000.0000.
-*
-******************************************************************************/
- .section .isr_vector,"a",%progbits
- .type g_pfnVectors, %object
- .size g_pfnVectors, .-g_pfnVectors
-
-
-g_pfnVectors:
- .word _estack
- .word Reset_Handler
- .word NMI_Handler
- .word HardFault_Handler
- .word MemManage_Handler
- .word BusFault_Handler
- .word UsageFault_Handler
- .word 0
- .word 0
- .word 0
- .word 0
- .word SVC_Handler
- .word DebugMon_Handler
- .word 0
- .word PendSV_Handler
- .word SysTick_Handler
- .word WWDG_IRQHandler
- .word PVD_IRQHandler
- .word TAMPER_STAMP_IRQHandler
- .word RTC_WKUP_IRQHandler
- .word FLASH_IRQHandler
- .word RCC_IRQHandler
- .word EXTI0_IRQHandler
- .word EXTI1_IRQHandler
- .word EXTI2_IRQHandler
- .word EXTI3_IRQHandler
- .word EXTI4_IRQHandler
- .word DMA1_Channel1_IRQHandler
- .word DMA1_Channel2_IRQHandler
- .word DMA1_Channel3_IRQHandler
- .word DMA1_Channel4_IRQHandler
- .word DMA1_Channel5_IRQHandler
- .word DMA1_Channel6_IRQHandler
- .word DMA1_Channel7_IRQHandler
- .word ADC1_IRQHandler
- .word USB_HP_IRQHandler
- .word USB_LP_IRQHandler
- .word DAC_IRQHandler
- .word COMP_IRQHandler
- .word EXTI9_5_IRQHandler
- .word LCD_IRQHandler
- .word TIM9_IRQHandler
- .word TIM10_IRQHandler
- .word TIM11_IRQHandler
- .word TIM2_IRQHandler
- .word TIM3_IRQHandler
- .word TIM4_IRQHandler
- .word I2C1_EV_IRQHandler
- .word I2C1_ER_IRQHandler
- .word I2C2_EV_IRQHandler
- .word I2C2_ER_IRQHandler
- .word SPI1_IRQHandler
- .word SPI2_IRQHandler
- .word USART1_IRQHandler
- .word USART2_IRQHandler
- .word USART3_IRQHandler
- .word EXTI15_10_IRQHandler
- .word RTC_Alarm_IRQHandler
- .word USB_FS_WKUP_IRQHandler
- .word TIM6_IRQHandler
- .word TIM7_IRQHandler
- .word 0
- .word TIM5_IRQHandler
- .word SPI3_IRQHandler
- .word UART4_IRQHandler
- .word UART5_IRQHandler
- .word DMA2_Channel1_IRQHandler
- .word DMA2_Channel2_IRQHandler
- .word DMA2_Channel3_IRQHandler
- .word DMA2_Channel4_IRQHandler
- .word DMA2_Channel5_IRQHandler
- .word 0
- .word COMP_ACQ_IRQHandler
- .word 0
- .word 0
- .word 0
- .word 0
- .word 0
- .word BootRAM /* @0x108. This is for boot in RAM mode for
- STM32L152XE devices. */
-
-/*******************************************************************************
-*
-* Provide weak aliases for each Exception handler to the Default_Handler.
-* As they are weak aliases, any function with the same name will override
-* this definition.
-*
-*******************************************************************************/
-
- .weak NMI_Handler
- .thumb_set NMI_Handler,Default_Handler
-
- .weak HardFault_Handler
- .thumb_set HardFault_Handler,Default_Handler
-
- .weak MemManage_Handler
- .thumb_set MemManage_Handler,Default_Handler
-
- .weak BusFault_Handler
- .thumb_set BusFault_Handler,Default_Handler
-
- .weak UsageFault_Handler
- .thumb_set UsageFault_Handler,Default_Handler
-
- .weak SVC_Handler
- .thumb_set SVC_Handler,Default_Handler
-
- .weak DebugMon_Handler
- .thumb_set DebugMon_Handler,Default_Handler
-
- .weak PendSV_Handler
- .thumb_set PendSV_Handler,Default_Handler
-
- .weak SysTick_Handler
- .thumb_set SysTick_Handler,Default_Handler
-
- .weak WWDG_IRQHandler
- .thumb_set WWDG_IRQHandler,Default_Handler
-
- .weak PVD_IRQHandler
- .thumb_set PVD_IRQHandler,Default_Handler
-
- .weak TAMPER_STAMP_IRQHandler
- .thumb_set TAMPER_STAMP_IRQHandler,Default_Handler
-
- .weak RTC_WKUP_IRQHandler
- .thumb_set RTC_WKUP_IRQHandler,Default_Handler
-
- .weak FLASH_IRQHandler
- .thumb_set FLASH_IRQHandler,Default_Handler
-
- .weak RCC_IRQHandler
- .thumb_set RCC_IRQHandler,Default_Handler
-
- .weak EXTI0_IRQHandler
- .thumb_set EXTI0_IRQHandler,Default_Handler
-
- .weak EXTI1_IRQHandler
- .thumb_set EXTI1_IRQHandler,Default_Handler
-
- .weak EXTI2_IRQHandler
- .thumb_set EXTI2_IRQHandler,Default_Handler
-
- .weak EXTI3_IRQHandler
- .thumb_set EXTI3_IRQHandler,Default_Handler
-
- .weak EXTI4_IRQHandler
- .thumb_set EXTI4_IRQHandler,Default_Handler
-
- .weak DMA1_Channel1_IRQHandler
- .thumb_set DMA1_Channel1_IRQHandler,Default_Handler
-
- .weak DMA1_Channel2_IRQHandler
- .thumb_set DMA1_Channel2_IRQHandler,Default_Handler
-
- .weak DMA1_Channel3_IRQHandler
- .thumb_set DMA1_Channel3_IRQHandler,Default_Handler
-
- .weak DMA1_Channel4_IRQHandler
- .thumb_set DMA1_Channel4_IRQHandler,Default_Handler
-
- .weak DMA1_Channel5_IRQHandler
- .thumb_set DMA1_Channel5_IRQHandler,Default_Handler
-
- .weak DMA1_Channel6_IRQHandler
- .thumb_set DMA1_Channel6_IRQHandler,Default_Handler
-
- .weak DMA1_Channel7_IRQHandler
- .thumb_set DMA1_Channel7_IRQHandler,Default_Handler
-
- .weak ADC1_IRQHandler
- .thumb_set ADC1_IRQHandler,Default_Handler
-
- .weak USB_HP_IRQHandler
- .thumb_set USB_HP_IRQHandler,Default_Handler
-
- .weak USB_LP_IRQHandler
- .thumb_set USB_LP_IRQHandler,Default_Handler
-
- .weak DAC_IRQHandler
- .thumb_set DAC_IRQHandler,Default_Handler
-
- .weak COMP_IRQHandler
- .thumb_set COMP_IRQHandler,Default_Handler
-
- .weak EXTI9_5_IRQHandler
- .thumb_set EXTI9_5_IRQHandler,Default_Handler
-
- .weak LCD_IRQHandler
- .thumb_set LCD_IRQHandler,Default_Handler
-
- .weak TIM9_IRQHandler
- .thumb_set TIM9_IRQHandler,Default_Handler
-
- .weak TIM10_IRQHandler
- .thumb_set TIM10_IRQHandler,Default_Handler
-
- .weak TIM11_IRQHandler
- .thumb_set TIM11_IRQHandler,Default_Handler
-
- .weak TIM2_IRQHandler
- .thumb_set TIM2_IRQHandler,Default_Handler
-
- .weak TIM3_IRQHandler
- .thumb_set TIM3_IRQHandler,Default_Handler
-
- .weak TIM4_IRQHandler
- .thumb_set TIM4_IRQHandler,Default_Handler
-
- .weak I2C1_EV_IRQHandler
- .thumb_set I2C1_EV_IRQHandler,Default_Handler
-
- .weak I2C1_ER_IRQHandler
- .thumb_set I2C1_ER_IRQHandler,Default_Handler
-
- .weak I2C2_EV_IRQHandler
- .thumb_set I2C2_EV_IRQHandler,Default_Handler
-
- .weak I2C2_ER_IRQHandler
- .thumb_set I2C2_ER_IRQHandler,Default_Handler
-
- .weak SPI1_IRQHandler
- .thumb_set SPI1_IRQHandler,Default_Handler
-
- .weak SPI2_IRQHandler
- .thumb_set SPI2_IRQHandler,Default_Handler
-
- .weak USART1_IRQHandler
- .thumb_set USART1_IRQHandler,Default_Handler
-
- .weak USART2_IRQHandler
- .thumb_set USART2_IRQHandler,Default_Handler
-
- .weak USART3_IRQHandler
- .thumb_set USART3_IRQHandler,Default_Handler
-
- .weak EXTI15_10_IRQHandler
- .thumb_set EXTI15_10_IRQHandler,Default_Handler
-
- .weak RTC_Alarm_IRQHandler
- .thumb_set RTC_Alarm_IRQHandler,Default_Handler
-
- .weak USB_FS_WKUP_IRQHandler
- .thumb_set USB_FS_WKUP_IRQHandler,Default_Handler
-
- .weak TIM6_IRQHandler
- .thumb_set TIM6_IRQHandler,Default_Handler
-
- .weak TIM7_IRQHandler
- .thumb_set TIM7_IRQHandler,Default_Handler
-
- .weak TIM5_IRQHandler
- .thumb_set TIM5_IRQHandler,Default_Handler
-
- .weak SPI3_IRQHandler
- .thumb_set SPI3_IRQHandler,Default_Handler
-
- .weak UART4_IRQHandler
- .thumb_set UART4_IRQHandler,Default_Handler
-
- .weak UART5_IRQHandler
- .thumb_set UART5_IRQHandler,Default_Handler
-
- .weak DMA2_Channel1_IRQHandler
- .thumb_set DMA2_Channel1_IRQHandler,Default_Handler
-
- .weak DMA2_Channel2_IRQHandler
- .thumb_set DMA2_Channel2_IRQHandler,Default_Handler
-
- .weak DMA2_Channel3_IRQHandler
- .thumb_set DMA2_Channel3_IRQHandler,Default_Handler
-
- .weak DMA2_Channel4_IRQHandler
- .thumb_set DMA2_Channel4_IRQHandler,Default_Handler
-
- .weak DMA2_Channel5_IRQHandler
- .thumb_set DMA2_Channel5_IRQHandler,Default_Handler
-
- .weak COMP_ACQ_IRQHandler
- .thumb_set COMP_ACQ_IRQHandler,Default_Handler
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
-
diff --git a/SD_CARD_SPI/Debug/Core/Src/fatfs_sd.d b/SD_CARD_SPI/Debug/Core/Src/fatfs_sd.d
deleted file mode 100644
index 1af0c7e..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/fatfs_sd.d
+++ /dev/null
@@ -1,93 +0,0 @@
-Core/Src/fatfs_sd.o: ../Core/Src/fatfs_sd.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h \
- ../Middlewares/Third_Party/FatFs/src/diskio.h \
- ../Middlewares/Third_Party/FatFs/src/integer.h ../Core/Inc/fatfs_sd.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
-
-../Middlewares/Third_Party/FatFs/src/diskio.h:
-
-../Middlewares/Third_Party/FatFs/src/integer.h:
-
-../Core/Inc/fatfs_sd.h:
diff --git a/SD_CARD_SPI/Debug/Core/Src/fatfs_sd.o b/SD_CARD_SPI/Debug/Core/Src/fatfs_sd.o
deleted file mode 100644
index 95b628c..0000000
Binary files a/SD_CARD_SPI/Debug/Core/Src/fatfs_sd.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Core/Src/fatfs_sd.su b/SD_CARD_SPI/Debug/Core/Src/fatfs_sd.su
deleted file mode 100644
index 6bec5d2..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/fatfs_sd.su
+++ /dev/null
@@ -1,18 +0,0 @@
-fatfs_sd.c:21:13:SELECT 8 static
-fatfs_sd.c:28:13:DESELECT 8 static
-fatfs_sd.c:35:13:SPI_TxByte 16 static
-fatfs_sd.c:42:13:SPI_TxBuffer 16 static
-fatfs_sd.c:49:16:SPI_RxByte 24 static
-fatfs_sd.c:61:13:SPI_RxBytePtr 16 static
-fatfs_sd.c:71:16:SD_ReadyWait 16 static
-fatfs_sd.c:87:13:SD_PowerOn 24 static
-fatfs_sd.c:125:13:SD_PowerOff 4 static
-fatfs_sd.c:131:16:SD_CheckPower 4 static
-fatfs_sd.c:137:13:SD_RxDataBlock 24 static
-fatfs_sd.c:166:13:SD_TxDataBlock 24 static
-fatfs_sd.c:208:13:SD_SendCmd 24 static
-fatfs_sd.c:247:9:SD_disk_initialize 32 static
-fatfs_sd.c:347:9:SD_disk_status 16 static
-fatfs_sd.c:354:9:SD_disk_read 24 static
-fatfs_sd.c:396:9:SD_disk_write 24 static
-fatfs_sd.c:451:9:SD_disk_ioctl 56 static
diff --git a/SD_CARD_SPI/Debug/Core/Src/main.d b/SD_CARD_SPI/Debug/Core/Src/main.d
deleted file mode 100644
index 58c2758..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/main.d
+++ /dev/null
@@ -1,111 +0,0 @@
-Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h \
- ../FATFS/App/fatfs.h ../Middlewares/Third_Party/FatFs/src/ff.h \
- ../Middlewares/Third_Party/FatFs/src/integer.h ../FATFS/Target/ffconf.h \
- ../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h \
- ../Middlewares/Third_Party/FatFs/src/diskio.h \
- ../Middlewares/Third_Party/FatFs/src/ff.h ../FATFS/Target/user_diskio.h \
- ../Core/Inc/fatfs_sd.h
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
-
-../FATFS/App/fatfs.h:
-
-../Middlewares/Third_Party/FatFs/src/ff.h:
-
-../Middlewares/Third_Party/FatFs/src/integer.h:
-
-../FATFS/Target/ffconf.h:
-
-../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h:
-
-../Middlewares/Third_Party/FatFs/src/diskio.h:
-
-../Middlewares/Third_Party/FatFs/src/ff.h:
-
-../FATFS/Target/user_diskio.h:
-
-../Core/Inc/fatfs_sd.h:
diff --git a/SD_CARD_SPI/Debug/Core/Src/main.o b/SD_CARD_SPI/Debug/Core/Src/main.o
deleted file mode 100644
index 7e51f35..0000000
Binary files a/SD_CARD_SPI/Debug/Core/Src/main.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Core/Src/main.su b/SD_CARD_SPI/Debug/Core/Src/main.su
deleted file mode 100644
index 5219429..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/main.su
+++ /dev/null
@@ -1,8 +0,0 @@
-main.c:85:6:transmit_uart 24 static
-main.c:103:5:main 64 static
-main.c:264:6:SystemClock_Config 80 static
-main.c:306:13:MX_ADC_Init 24 static
-main.c:359:13:MX_SPI1_Init 8 static
-main.c:397:13:MX_USART2_UART_Init 8 static
-main.c:430:13:MX_GPIO_Init 48 static
-main.c:466:6:Error_Handler 4 static
diff --git a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_hal_msp.d b/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_hal_msp.d
deleted file mode 100644
index c94ec17..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_hal_msp.d
+++ /dev/null
@@ -1,87 +0,0 @@
-Core/Src/stm32l1xx_hal_msp.o: ../Core/Src/stm32l1xx_hal_msp.c \
- ../Core/Inc/main.h ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_hal_msp.o b/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_hal_msp.o
deleted file mode 100644
index a48560c..0000000
Binary files a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_hal_msp.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_hal_msp.su b/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_hal_msp.su
deleted file mode 100644
index 5456d8c..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_hal_msp.su
+++ /dev/null
@@ -1,7 +0,0 @@
-stm32l1xx_hal_msp.c:64:6:HAL_MspInit 24 static
-stm32l1xx_hal_msp.c:89:6:HAL_ADC_MspInit 48 static
-stm32l1xx_hal_msp.c:122:6:HAL_ADC_MspDeInit 16 static
-stm32l1xx_hal_msp.c:150:6:HAL_SPI_MspInit 48 static
-stm32l1xx_hal_msp.c:187:6:HAL_SPI_MspDeInit 16 static
-stm32l1xx_hal_msp.c:217:6:HAL_UART_MspInit 48 static
-stm32l1xx_hal_msp.c:253:6:HAL_UART_MspDeInit 16 static
diff --git a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_it.d b/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_it.d
deleted file mode 100644
index fa4ad0a..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_it.d
+++ /dev/null
@@ -1,90 +0,0 @@
-Core/Src/stm32l1xx_it.o: ../Core/Src/stm32l1xx_it.c ../Core/Inc/main.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h \
- ../Core/Inc/stm32l1xx_it.h
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
-
-../Core/Inc/stm32l1xx_it.h:
diff --git a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_it.o b/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_it.o
deleted file mode 100644
index a2c67eb..0000000
Binary files a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_it.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_it.su b/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_it.su
deleted file mode 100644
index 29d6293..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/stm32l1xx_it.su
+++ /dev/null
@@ -1,9 +0,0 @@
-stm32l1xx_it.c:76:6:NMI_Handler 4 static
-stm32l1xx_it.c:89:6:HardFault_Handler 4 static
-stm32l1xx_it.c:104:6:MemManage_Handler 4 static
-stm32l1xx_it.c:119:6:BusFault_Handler 4 static
-stm32l1xx_it.c:134:6:UsageFault_Handler 4 static
-stm32l1xx_it.c:149:6:SVC_Handler 4 static
-stm32l1xx_it.c:162:6:DebugMon_Handler 4 static
-stm32l1xx_it.c:175:6:PendSV_Handler 4 static
-stm32l1xx_it.c:188:6:SysTick_Handler 8 static
diff --git a/SD_CARD_SPI/Debug/Core/Src/subdir.mk b/SD_CARD_SPI/Debug/Core/Src/subdir.mk
deleted file mode 100644
index 6d9f941..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/subdir.mk
+++ /dev/null
@@ -1,49 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-C_SRCS += \
-../Core/Src/fatfs_sd.c \
-../Core/Src/main.c \
-../Core/Src/stm32l1xx_hal_msp.c \
-../Core/Src/stm32l1xx_it.c \
-../Core/Src/syscalls.c \
-../Core/Src/sysmem.c \
-../Core/Src/system_stm32l1xx.c
-
-OBJS += \
-./Core/Src/fatfs_sd.o \
-./Core/Src/main.o \
-./Core/Src/stm32l1xx_hal_msp.o \
-./Core/Src/stm32l1xx_it.o \
-./Core/Src/syscalls.o \
-./Core/Src/sysmem.o \
-./Core/Src/system_stm32l1xx.o
-
-C_DEPS += \
-./Core/Src/fatfs_sd.d \
-./Core/Src/main.d \
-./Core/Src/stm32l1xx_hal_msp.d \
-./Core/Src/stm32l1xx_it.d \
-./Core/Src/syscalls.d \
-./Core/Src/sysmem.d \
-./Core/Src/system_stm32l1xx.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-Core/Src/fatfs_sd.o: ../Core/Src/fatfs_sd.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/fatfs_sd.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Core/Src/main.o: ../Core/Src/main.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/main.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Core/Src/stm32l1xx_hal_msp.o: ../Core/Src/stm32l1xx_hal_msp.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/stm32l1xx_hal_msp.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Core/Src/stm32l1xx_it.o: ../Core/Src/stm32l1xx_it.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/stm32l1xx_it.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Core/Src/syscalls.o: ../Core/Src/syscalls.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/syscalls.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Core/Src/sysmem.o: ../Core/Src/sysmem.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/sysmem.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Core/Src/system_stm32l1xx.o: ../Core/Src/system_stm32l1xx.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/system_stm32l1xx.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-
diff --git a/SD_CARD_SPI/Debug/Core/Src/syscalls.d b/SD_CARD_SPI/Debug/Core/Src/syscalls.d
deleted file mode 100644
index 8667c70..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/syscalls.d
+++ /dev/null
@@ -1 +0,0 @@
-Core/Src/syscalls.o: ../Core/Src/syscalls.c
diff --git a/SD_CARD_SPI/Debug/Core/Src/syscalls.o b/SD_CARD_SPI/Debug/Core/Src/syscalls.o
deleted file mode 100644
index fb1bfd5..0000000
Binary files a/SD_CARD_SPI/Debug/Core/Src/syscalls.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Core/Src/syscalls.su b/SD_CARD_SPI/Debug/Core/Src/syscalls.su
deleted file mode 100644
index 492a785..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/syscalls.su
+++ /dev/null
@@ -1,18 +0,0 @@
-syscalls.c:48:6:initialise_monitor_handles 4 static
-syscalls.c:52:5:_getpid 4 static
-syscalls.c:57:5:_kill 16 static
-syscalls.c:63:6:_exit 16 static
-syscalls.c:69:27:_read 32 static
-syscalls.c:81:27:_write 32 static
-syscalls.c:92:5:_close 16 static
-syscalls.c:98:5:_fstat 16 static
-syscalls.c:104:5:_isatty 16 static
-syscalls.c:109:5:_lseek 24 static
-syscalls.c:114:5:_open 12 static
-syscalls.c:120:5:_wait 16 static
-syscalls.c:126:5:_unlink 16 static
-syscalls.c:132:5:_times 16 static
-syscalls.c:137:5:_stat 16 static
-syscalls.c:143:5:_link 16 static
-syscalls.c:149:5:_fork 8 static
-syscalls.c:155:5:_execve 24 static
diff --git a/SD_CARD_SPI/Debug/Core/Src/sysmem.d b/SD_CARD_SPI/Debug/Core/Src/sysmem.d
deleted file mode 100644
index 74fecf9..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/sysmem.d
+++ /dev/null
@@ -1 +0,0 @@
-Core/Src/sysmem.o: ../Core/Src/sysmem.c
diff --git a/SD_CARD_SPI/Debug/Core/Src/sysmem.o b/SD_CARD_SPI/Debug/Core/Src/sysmem.o
deleted file mode 100644
index 8a1de30..0000000
Binary files a/SD_CARD_SPI/Debug/Core/Src/sysmem.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Core/Src/sysmem.su b/SD_CARD_SPI/Debug/Core/Src/sysmem.su
deleted file mode 100644
index 4474c68..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/sysmem.su
+++ /dev/null
@@ -1 +0,0 @@
-sysmem.c:54:7:_sbrk 32 static
diff --git a/SD_CARD_SPI/Debug/Core/Src/system_stm32l1xx.d b/SD_CARD_SPI/Debug/Core/Src/system_stm32l1xx.d
deleted file mode 100644
index 08f3ac3..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/system_stm32l1xx.d
+++ /dev/null
@@ -1,85 +0,0 @@
-Core/Src/system_stm32l1xx.o: ../Core/Src/system_stm32l1xx.c \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Core/Src/system_stm32l1xx.o b/SD_CARD_SPI/Debug/Core/Src/system_stm32l1xx.o
deleted file mode 100644
index 2224c1c..0000000
Binary files a/SD_CARD_SPI/Debug/Core/Src/system_stm32l1xx.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Core/Src/system_stm32l1xx.su b/SD_CARD_SPI/Debug/Core/Src/system_stm32l1xx.su
deleted file mode 100644
index 2042771..0000000
--- a/SD_CARD_SPI/Debug/Core/Src/system_stm32l1xx.su
+++ /dev/null
@@ -1,2 +0,0 @@
-system_stm32l1xx.c:140:6:SystemInit 4 static
-system_stm32l1xx.c:191:6:SystemCoreClockUpdate 32 static
diff --git a/SD_CARD_SPI/Debug/Core/Startup/startup_stm32l152retx.d b/SD_CARD_SPI/Debug/Core/Startup/startup_stm32l152retx.d
deleted file mode 100644
index 98bd1c7..0000000
--- a/SD_CARD_SPI/Debug/Core/Startup/startup_stm32l152retx.d
+++ /dev/null
@@ -1,2 +0,0 @@
-Core/Startup/startup_stm32l152retx.o: \
- ../Core/Startup/startup_stm32l152retx.s
diff --git a/SD_CARD_SPI/Debug/Core/Startup/startup_stm32l152retx.o b/SD_CARD_SPI/Debug/Core/Startup/startup_stm32l152retx.o
deleted file mode 100644
index 4d7f5e6..0000000
Binary files a/SD_CARD_SPI/Debug/Core/Startup/startup_stm32l152retx.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Core/Startup/subdir.mk b/SD_CARD_SPI/Debug/Core/Startup/subdir.mk
deleted file mode 100644
index 4befb17..0000000
--- a/SD_CARD_SPI/Debug/Core/Startup/subdir.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-S_SRCS += \
-../Core/Startup/startup_stm32l152retx.s
-
-OBJS += \
-./Core/Startup/startup_stm32l152retx.o
-
-S_DEPS += \
-./Core/Startup/startup_stm32l152retx.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-Core/Startup/startup_stm32l152retx.o: ../Core/Startup/startup_stm32l152retx.s
- arm-none-eabi-gcc -mcpu=cortex-m3 -g3 -c -x assembler-with-cpp -MMD -MP -MF"Core/Startup/startup_stm32l152retx.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" "$<"
-
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d
deleted file mode 100644
index 5f479eb..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o
deleted file mode 100644
index d6b5755..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.su
deleted file mode 100644
index 9459f44..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.su
+++ /dev/null
@@ -1,25 +0,0 @@
-stm32l1xx_hal.c:140:19:HAL_Init 16 static
-stm32l1xx_hal.c:173:19:HAL_DeInit 8 static
-stm32l1xx_hal.c:196:13:HAL_MspInit 4 static
-stm32l1xx_hal.c:207:13:HAL_MspDeInit 4 static
-stm32l1xx_hal.c:230:26:HAL_InitTick 24 static
-stm32l1xx_hal.c:298:13:HAL_IncTick 4 static
-stm32l1xx_hal.c:309:17:HAL_GetTick 4 static
-stm32l1xx_hal.c:318:10:HAL_GetTickPrio 4 static
-stm32l1xx_hal.c:328:19:HAL_SetTickFreq 24 static
-stm32l1xx_hal.c:360:10:HAL_GetTickFreq 4 static
-stm32l1xx_hal.c:376:13:HAL_Delay 24 static
-stm32l1xx_hal.c:402:13:HAL_SuspendTick 4 static
-stm32l1xx_hal.c:418:13:HAL_ResumeTick 4 static
-stm32l1xx_hal.c:428:10:HAL_GetHalVersion 4 static
-stm32l1xx_hal.c:437:10:HAL_GetREVID 4 static
-stm32l1xx_hal.c:446:10:HAL_GetDEVID 4 static
-stm32l1xx_hal.c:455:10:HAL_GetUIDw0 4 static
-stm32l1xx_hal.c:464:10:HAL_GetUIDw1 4 static
-stm32l1xx_hal.c:473:10:HAL_GetUIDw2 4 static
-stm32l1xx_hal.c:502:6:HAL_DBGMCU_EnableDBGSleepMode 4 static
-stm32l1xx_hal.c:511:6:HAL_DBGMCU_DisableDBGSleepMode 4 static
-stm32l1xx_hal.c:520:6:HAL_DBGMCU_EnableDBGStopMode 4 static
-stm32l1xx_hal.c:529:6:HAL_DBGMCU_DisableDBGStopMode 4 static
-stm32l1xx_hal.c:538:6:HAL_DBGMCU_EnableDBGStandbyMode 4 static
-stm32l1xx_hal.c:547:6:HAL_DBGMCU_DisableDBGStandbyMode 4 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d
deleted file mode 100644
index 18808b4..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o
deleted file mode 100644
index 9b280a2..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.su
deleted file mode 100644
index 55b5570..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.su
+++ /dev/null
@@ -1,32 +0,0 @@
-core_cm3.h:1480:22:__NVIC_SetPriorityGrouping 24 static
-core_cm3.h:1499:26:__NVIC_GetPriorityGrouping 4 static
-core_cm3.h:1511:22:__NVIC_EnableIRQ 16 static
-core_cm3.h:1547:22:__NVIC_DisableIRQ 16 static,ignoring_inline_asm
-core_cm3.h:1566:26:__NVIC_GetPendingIRQ 16 static
-core_cm3.h:1585:22:__NVIC_SetPendingIRQ 16 static
-core_cm3.h:1600:22:__NVIC_ClearPendingIRQ 16 static
-core_cm3.h:1617:26:__NVIC_GetActive 16 static
-core_cm3.h:1639:22:__NVIC_SetPriority 16 static
-core_cm3.h:1661:26:__NVIC_GetPriority 16 static
-core_cm3.h:1686:26:NVIC_EncodePriority 40 static
-core_cm3.h:1713:22:NVIC_DecodePriority 40 static
-core_cm3.h:1762:34:__NVIC_SystemReset 4 static,ignoring_inline_asm
-core_cm3.h:1834:26:SysTick_Config 16 static
-stm32l1xx_hal_cortex.c:169:6:HAL_NVIC_SetPriorityGrouping 16 static
-stm32l1xx_hal_cortex.c:191:6:HAL_NVIC_SetPriority 32 static
-stm32l1xx_hal_cortex.c:213:6:HAL_NVIC_EnableIRQ 16 static
-stm32l1xx_hal_cortex.c:229:6:HAL_NVIC_DisableIRQ 16 static
-stm32l1xx_hal_cortex.c:242:6:HAL_NVIC_SystemReset 8 static
-stm32l1xx_hal_cortex.c:255:10:HAL_SYSTICK_Config 16 static
-stm32l1xx_hal_cortex.c:291:6:HAL_MPU_Enable 16 static,ignoring_inline_asm
-stm32l1xx_hal_cortex.c:305:6:HAL_MPU_Disable 4 static,ignoring_inline_asm
-stm32l1xx_hal_cortex.c:320:6:HAL_MPU_ConfigRegion 16 static
-stm32l1xx_hal_cortex.c:364:10:HAL_NVIC_GetPriorityGrouping 8 static
-stm32l1xx_hal_cortex.c:391:6:HAL_NVIC_GetPriority 24 static
-stm32l1xx_hal_cortex.c:406:6:HAL_NVIC_SetPendingIRQ 16 static
-stm32l1xx_hal_cortex.c:421:10:HAL_NVIC_GetPendingIRQ 16 static
-stm32l1xx_hal_cortex.c:434:6:HAL_NVIC_ClearPendingIRQ 16 static
-stm32l1xx_hal_cortex.c:448:10:HAL_NVIC_GetActive 16 static
-stm32l1xx_hal_cortex.c:462:6:HAL_SYSTICK_CLKSourceConfig 16 static
-stm32l1xx_hal_cortex.c:480:6:HAL_SYSTICK_IRQHandler 8 static
-stm32l1xx_hal_cortex.c:489:13:HAL_SYSTICK_Callback 4 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d
deleted file mode 100644
index 7c713a2..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o
deleted file mode 100644
index e5e294f..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.su
deleted file mode 100644
index 563b6c3..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.su
+++ /dev/null
@@ -1,13 +0,0 @@
-stm32l1xx_hal_dma.c:143:19:HAL_DMA_Init 24 static
-stm32l1xx_hal_dma.c:222:19:HAL_DMA_DeInit 16 static
-stm32l1xx_hal_dma.c:314:19:HAL_DMA_Start 32 static
-stm32l1xx_hal_dma.c:357:19:HAL_DMA_Start_IT 32 static
-stm32l1xx_hal_dma.c:412:19:HAL_DMA_Abort 24 static
-stm32l1xx_hal_dma.c:453:19:HAL_DMA_Abort_IT 24 static
-stm32l1xx_hal_dma.c:498:19:HAL_DMA_PollForTransfer 32 static
-stm32l1xx_hal_dma.c:599:6:HAL_DMA_IRQHandler 24 static
-stm32l1xx_hal_dma.c:696:19:HAL_DMA_RegisterCallback 32 static
-stm32l1xx_hal_dma.c:747:19:HAL_DMA_UnRegisterCallback 24 static
-stm32l1xx_hal_dma.c:825:22:HAL_DMA_GetState 16 static
-stm32l1xx_hal_dma.c:837:10:HAL_DMA_GetError 16 static
-stm32l1xx_hal_dma.c:863:13:DMA_SetConfig 24 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d
deleted file mode 100644
index 2d44418..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o
deleted file mode 100644
index 94278be..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.su
deleted file mode 100644
index 0e3e728..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.su
+++ /dev/null
@@ -1,9 +0,0 @@
-stm32l1xx_hal_exti.c:143:19:HAL_EXTI_SetConfigLine 32 static
-stm32l1xx_hal_exti.c:238:19:HAL_EXTI_GetConfigLine 32 static
-stm32l1xx_hal_exti.c:327:19:HAL_EXTI_ClearConfigLine 32 static
-stm32l1xx_hal_exti.c:380:19:HAL_EXTI_RegisterCallback 32 static
-stm32l1xx_hal_exti.c:405:19:HAL_EXTI_GetHandle 16 static
-stm32l1xx_hal_exti.c:445:6:HAL_EXTI_IRQHandler 24 static
-stm32l1xx_hal_exti.c:477:10:HAL_EXTI_GetPending 32 static
-stm32l1xx_hal_exti.c:506:6:HAL_EXTI_ClearPending 24 static
-stm32l1xx_hal_exti.c:527:6:HAL_EXTI_GenerateSWI 24 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d
deleted file mode 100644
index 2231847..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o
deleted file mode 100644
index aaeb2fe..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.su
deleted file mode 100644
index 9ec37c6..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.su
+++ /dev/null
@@ -1,13 +0,0 @@
-stm32l1xx_hal_flash.c:231:19:HAL_FLASH_Program 32 static
-stm32l1xx_hal_flash.c:273:19:HAL_FLASH_Program_IT 32 static
-stm32l1xx_hal_flash.c:304:6:HAL_FLASH_IRQHandler 16 static
-stm32l1xx_hal_flash.c:419:13:HAL_FLASH_EndOfOperationCallback 16 static
-stm32l1xx_hal_flash.c:436:13:HAL_FLASH_OperationErrorCallback 16 static
-stm32l1xx_hal_flash.c:469:19:HAL_FLASH_Unlock 4 static
-stm32l1xx_hal_flash.c:504:19:HAL_FLASH_Lock 4 static
-stm32l1xx_hal_flash.c:516:19:HAL_FLASH_OB_Unlock 4 static
-stm32l1xx_hal_flash.c:552:19:HAL_FLASH_OB_Lock 4 static
-stm32l1xx_hal_flash.c:565:19:HAL_FLASH_OB_Launch 8 static
-stm32l1xx_hal_flash.c:597:10:HAL_FLASH_GetError 4 static
-stm32l1xx_hal_flash.c:619:19:FLASH_WaitForLastOperation 24 static
-stm32l1xx_hal_flash.c:669:13:FLASH_SetErrorCode 16 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d
deleted file mode 100644
index 6ddc2c6..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o
deleted file mode 100644
index be00b4b..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.su
deleted file mode 100644
index 304923f..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.su
+++ /dev/null
@@ -1,31 +0,0 @@
-stm32l1xx_hal_flash_ex.c:187:19:HAL_FLASHEx_Erase 24 static
-stm32l1xx_hal_flash_ex.c:283:19:HAL_FLASHEx_Erase_IT 24 static
-stm32l1xx_hal_flash_ex.c:406:19:HAL_FLASHEx_OBProgram 24 static
-stm32l1xx_hal_flash_ex.c:488:6:HAL_FLASHEx_OBGetConfig 16 static
-stm32l1xx_hal_flash_ex.c:542:19:HAL_FLASHEx_AdvOBProgram 24 static
-stm32l1xx_hal_flash_ex.c:599:6:HAL_FLASHEx_AdvOBGetConfig 16 static
-stm32l1xx_hal_flash_ex.c:751:19:HAL_FLASHEx_DATAEEPROM_Unlock 4 static
-stm32l1xx_hal_flash_ex.c:770:19:HAL_FLASHEx_DATAEEPROM_Lock 4 static
-stm32l1xx_hal_flash_ex.c:790:19:HAL_FLASHEx_DATAEEPROM_Erase 24 static
-stm32l1xx_hal_flash_ex.c:848:21:HAL_FLASHEx_DATAEEPROM_Program 32 static
-stm32l1xx_hal_flash_ex.c:913:6:HAL_FLASHEx_DATAEEPROM_EnableFixedTimeProgram 4 static
-stm32l1xx_hal_flash_ex.c:922:6:HAL_FLASHEx_DATAEEPROM_DisableFixedTimeProgram 4 static
-stm32l1xx_hal_flash_ex.c:958:26:FLASH_OB_RDPConfig 32 static
-stm32l1xx_hal_flash_ex.c:1022:26:FLASH_OB_BORConfig 32 static
-stm32l1xx_hal_flash_ex.c:1060:16:FLASH_OB_GetUser 4 static
-stm32l1xx_hal_flash_ex.c:1074:16:FLASH_OB_GetRDP 16 static
-stm32l1xx_hal_flash_ex.c:1092:16:FLASH_OB_GetBOR 4 static
-stm32l1xx_hal_flash_ex.c:1106:26:FLASH_OB_WRPConfig 24 static
-stm32l1xx_hal_flash_ex.c:1237:13:FLASH_OB_WRPConfigWRP1OrPCROP1 32 static
-stm32l1xx_hal_flash_ex.c:1283:13:FLASH_OB_WRPConfigWRP2OrPCROP2 32 static
-stm32l1xx_hal_flash_ex.c:1329:13:FLASH_OB_WRPConfigWRP3 32 static
-stm32l1xx_hal_flash_ex.c:1374:13:FLASH_OB_WRPConfigWRP4 32 static
-stm32l1xx_hal_flash_ex.c:1424:26:FLASH_OB_UserConfig 32 static
-stm32l1xx_hal_flash_ex.c:1477:26:FLASH_OB_BootConfig 32 static
-stm32l1xx_hal_flash_ex.c:1526:26:FLASH_DATAEEPROM_FastProgramByte 24 static
-stm32l1xx_hal_flash_ex.c:1586:26:FLASH_DATAEEPROM_FastProgramHalfWord 24 static
-stm32l1xx_hal_flash_ex.c:1654:26:FLASH_DATAEEPROM_FastProgramWord 24 static
-stm32l1xx_hal_flash_ex.c:1685:26:FLASH_DATAEEPROM_ProgramByte 24 static
-stm32l1xx_hal_flash_ex.c:1739:26:FLASH_DATAEEPROM_ProgramHalfWord 24 static
-stm32l1xx_hal_flash_ex.c:1800:26:FLASH_DATAEEPROM_ProgramWord 24 static
-stm32l1xx_hal_flash_ex.c:1845:6:FLASH_PageErase 16 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d
deleted file mode 100644
index b4afaed..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o
deleted file mode 100644
index 1b2cf1c..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.su
deleted file mode 100644
index 75f6bc9..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.su
+++ /dev/null
@@ -1,10 +0,0 @@
-stm32l1xx_hal_flash_ramfunc.c:115:30:HAL_FLASHEx_EnableRunPowerDown 4 static
-stm32l1xx_hal_flash_ramfunc.c:128:30:HAL_FLASHEx_DisableRunPowerDown 4 static
-stm32l1xx_hal_flash_ramfunc.c:165:30:HAL_FLASHEx_EraseParallelPage 24 static
-stm32l1xx_hal_flash_ramfunc.c:226:30:HAL_FLASHEx_ProgramParallelHalfPage 48 static,ignoring_inline_asm
-stm32l1xx_hal_flash_ramfunc.c:304:30:HAL_FLASHEx_HalfPageProgram 40 static,ignoring_inline_asm
-stm32l1xx_hal_flash_ramfunc.c:396:30:HAL_FLASHEx_GetError 16 static
-stm32l1xx_hal_flash_ramfunc.c:428:30:HAL_FLASHEx_DATAEEPROM_EraseDoubleWord 32 static,ignoring_inline_asm
-stm32l1xx_hal_flash_ramfunc.c:488:30:HAL_FLASHEx_DATAEEPROM_ProgramDoubleWord 48 static,ignoring_inline_asm
-stm32l1xx_hal_flash_ramfunc.c:588:37:FLASHRAM_WaitForLastOperation 16 static
-stm32l1xx_hal_flash_ramfunc.c:542:37:FLASHRAM_SetErrorCode 16 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d
deleted file mode 100644
index edb6099..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o
deleted file mode 100644
index 1b13436..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.su
deleted file mode 100644
index 5ec9aa1..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.su
+++ /dev/null
@@ -1,8 +0,0 @@
-stm32l1xx_hal_gpio.c:178:6:HAL_GPIO_Init 32 static
-stm32l1xx_hal_gpio.c:304:6:HAL_GPIO_DeInit 32 static
-stm32l1xx_hal_gpio.c:384:15:HAL_GPIO_ReadPin 24 static
-stm32l1xx_hal_gpio.c:416:6:HAL_GPIO_WritePin 16 static
-stm32l1xx_hal_gpio.c:438:6:HAL_GPIO_TogglePin 24 static
-stm32l1xx_hal_gpio.c:472:19:HAL_GPIO_LockPin 24 static
-stm32l1xx_hal_gpio.c:507:6:HAL_GPIO_EXTI_IRQHandler 16 static
-stm32l1xx_hal_gpio.c:522:13:HAL_GPIO_EXTI_Callback 16 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d
deleted file mode 100644
index 007f389..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o
deleted file mode 100644
index e64b67a..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.su
deleted file mode 100644
index 7e0addd..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.su
+++ /dev/null
@@ -1,17 +0,0 @@
-stm32l1xx_hal_pwr.c:85:6:HAL_PWR_DeInit 4 static
-stm32l1xx_hal_pwr.c:98:6:HAL_PWR_EnableBkUpAccess 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr.c:111:6:HAL_PWR_DisableBkUpAccess 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr.c:339:6:HAL_PWR_ConfigPVD 16 static
-stm32l1xx_hal_pwr.c:381:6:HAL_PWR_EnablePVD 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr.c:391:6:HAL_PWR_DisablePVD 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr.c:406:6:HAL_PWR_EnableWakeUpPin 24 static,ignoring_inline_asm
-stm32l1xx_hal_pwr.c:423:6:HAL_PWR_DisableWakeUpPin 24 static,ignoring_inline_asm
-stm32l1xx_hal_pwr.c:446:6:HAL_PWR_EnterSLEEPMode 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr.c:492:6:HAL_PWR_EnterSTOPMode 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr.c:532:6:HAL_PWR_EnterSTANDBYMode 4 static,ignoring_inline_asm
-stm32l1xx_hal_pwr.c:557:6:HAL_PWR_EnableSleepOnExit 4 static
-stm32l1xx_hal_pwr.c:570:6:HAL_PWR_DisableSleepOnExit 4 static
-stm32l1xx_hal_pwr.c:583:6:HAL_PWR_EnableSEVOnPend 4 static
-stm32l1xx_hal_pwr.c:596:6:HAL_PWR_DisableSEVOnPend 4 static
-stm32l1xx_hal_pwr.c:609:6:HAL_PWR_PVD_IRQHandler 8 static
-stm32l1xx_hal_pwr.c:626:13:HAL_PWR_PVDCallback 4 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d
deleted file mode 100644
index 4b4636a..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o
deleted file mode 100644
index 6551c90..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.su
deleted file mode 100644
index 44c4424..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.su
+++ /dev/null
@@ -1,7 +0,0 @@
-stm32l1xx_hal_pwr_ex.c:66:10:HAL_PWREx_GetVoltageRange 4 static
-stm32l1xx_hal_pwr_ex.c:79:6:HAL_PWREx_EnableFastWakeUp 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr_ex.c:89:6:HAL_PWREx_DisableFastWakeUp 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr_ex.c:99:6:HAL_PWREx_EnableUltraLowPower 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr_ex.c:109:6:HAL_PWREx_DisableUltraLowPower 16 static,ignoring_inline_asm
-stm32l1xx_hal_pwr_ex.c:125:6:HAL_PWREx_EnableLowPowerRunMode 24 static,ignoring_inline_asm
-stm32l1xx_hal_pwr_ex.c:136:19:HAL_PWREx_DisableLowPowerRunMode 24 static,ignoring_inline_asm
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d
deleted file mode 100644
index 47bce79..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o
deleted file mode 100644
index 3d9ffb8..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.su
deleted file mode 100644
index a390e6d..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.su
+++ /dev/null
@@ -1,15 +0,0 @@
-stm32l1xx_hal_rcc.c:228:19:HAL_RCC_DeInit 16 static
-stm32l1xx_hal_rcc.c:324:19:HAL_RCC_OscConfig 40 static
-stm32l1xx_hal_rcc.c:799:19:HAL_RCC_ClockConfig 24 static
-stm32l1xx_hal_rcc.c:1005:6:HAL_RCC_MCOConfig 48 static
-stm32l1xx_hal_rcc.c:1039:6:HAL_RCC_EnableCSS 4 static
-stm32l1xx_hal_rcc.c:1048:6:HAL_RCC_DisableCSS 4 static
-stm32l1xx_hal_rcc.c:1083:10:HAL_RCC_GetSysClockFreq 48 static
-stm32l1xx_hal_rcc.c:1139:10:HAL_RCC_GetHCLKFreq 4 static
-stm32l1xx_hal_rcc.c:1150:10:HAL_RCC_GetPCLK1Freq 8 static
-stm32l1xx_hal_rcc.c:1162:10:HAL_RCC_GetPCLK2Freq 8 static
-stm32l1xx_hal_rcc.c:1175:6:HAL_RCC_GetOscConfig 16 static
-stm32l1xx_hal_rcc.c:1271:6:HAL_RCC_GetClockConfig 16 static
-stm32l1xx_hal_rcc.c:1301:6:HAL_RCC_NMI_IRQHandler 8 static
-stm32l1xx_hal_rcc.c:1318:13:HAL_RCC_CSSCallback 4 static
-stm32l1xx_hal_rcc.c:1343:26:RCC_SetFlashLatencyFromMSIRange 32 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d
deleted file mode 100644
index c15b318..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o
deleted file mode 100644
index d475060..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.su
deleted file mode 100644
index 1b1c4d1..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.su
+++ /dev/null
@@ -1,8 +0,0 @@
-stm32l1xx_hal_rcc_ex.c:92:19:HAL_RCCEx_PeriphCLKConfig 32 static
-stm32l1xx_hal_rcc_ex.c:221:6:HAL_RCCEx_GetPeriphCLKConfig 24 static
-stm32l1xx_hal_rcc_ex.c:258:10:HAL_RCCEx_GetPeriphCLKFreq 24 static
-stm32l1xx_hal_rcc_ex.c:350:6:HAL_RCCEx_EnableLSECSS 4 static
-stm32l1xx_hal_rcc_ex.c:363:6:HAL_RCCEx_DisableLSECSS 4 static
-stm32l1xx_hal_rcc_ex.c:377:6:HAL_RCCEx_EnableLSECSS_IT 4 static
-stm32l1xx_hal_rcc_ex.c:394:6:HAL_RCCEx_LSECSS_IRQHandler 8 static
-stm32l1xx_hal_rcc_ex.c:411:13:HAL_RCCEx_LSECSS_Callback 4 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.d
deleted file mode 100644
index a20c911..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.o
deleted file mode 100644
index 0092a8d..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.su
deleted file mode 100644
index 12e0e3d..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.su
+++ /dev/null
@@ -1,55 +0,0 @@
-stm32l1xx_hal_spi.c:313:19:HAL_SPI_Init 16 static
-stm32l1xx_hal_spi.c:446:19:HAL_SPI_DeInit 16 static
-stm32l1xx_hal_spi.c:490:13:HAL_SPI_MspInit 16 static
-stm32l1xx_hal_spi.c:506:13:HAL_SPI_MspDeInit 16 static
-stm32l1xx_hal_spi.c:778:19:HAL_SPI_Transmit 40 static
-stm32l1xx_hal_spi.c:943:19:HAL_SPI_Receive 40 static
-stm32l1xx_hal_spi.c:1136:19:HAL_SPI_TransmitReceive 56 static
-stm32l1xx_hal_spi.c:1355:19:HAL_SPI_Transmit_IT 32 static
-stm32l1xx_hal_spi.c:1440:19:HAL_SPI_Receive_IT 32 static
-stm32l1xx_hal_spi.c:1534:19:HAL_SPI_TransmitReceive_IT 32 static
-stm32l1xx_hal_spi.c:1622:19:HAL_SPI_Transmit_DMA 32 static
-stm32l1xx_hal_spi.c:1730:19:HAL_SPI_Receive_DMA 32 static
-stm32l1xx_hal_spi.c:1845:19:HAL_SPI_TransmitReceive_DMA 32 static
-stm32l1xx_hal_spi.c:1991:19:HAL_SPI_Abort 40 static
-stm32l1xx_hal_spi.c:2138:19:HAL_SPI_Abort_IT 40 static
-stm32l1xx_hal_spi.c:2301:19:HAL_SPI_DMAPause 16 static
-stm32l1xx_hal_spi.c:2321:19:HAL_SPI_DMAResume 16 static
-stm32l1xx_hal_spi.c:2341:19:HAL_SPI_DMAStop 24 static
-stm32l1xx_hal_spi.c:2381:6:HAL_SPI_IRQHandler 40 static
-stm32l1xx_hal_spi.c:2495:13:HAL_SPI_TxCpltCallback 16 static
-stm32l1xx_hal_spi.c:2511:13:HAL_SPI_RxCpltCallback 16 static
-stm32l1xx_hal_spi.c:2527:13:HAL_SPI_TxRxCpltCallback 16 static
-stm32l1xx_hal_spi.c:2543:13:HAL_SPI_TxHalfCpltCallback 16 static
-stm32l1xx_hal_spi.c:2559:13:HAL_SPI_RxHalfCpltCallback 16 static
-stm32l1xx_hal_spi.c:2575:13:HAL_SPI_TxRxHalfCpltCallback 16 static
-stm32l1xx_hal_spi.c:2591:13:HAL_SPI_ErrorCallback 16 static
-stm32l1xx_hal_spi.c:2609:13:HAL_SPI_AbortCpltCallback 16 static
-stm32l1xx_hal_spi.c:2644:22:HAL_SPI_GetState 16 static
-stm32l1xx_hal_spi.c:2656:10:HAL_SPI_GetError 16 static
-stm32l1xx_hal_spi.c:2681:13:SPI_DMATransmitCplt 32 static
-stm32l1xx_hal_spi.c:2738:13:SPI_DMAReceiveCplt 24 static
-stm32l1xx_hal_spi.c:2822:13:SPI_DMATransmitReceiveCplt 24 static
-stm32l1xx_hal_spi.c:2897:13:SPI_DMAHalfTransmitCplt 24 static
-stm32l1xx_hal_spi.c:2915:13:SPI_DMAHalfReceiveCplt 24 static
-stm32l1xx_hal_spi.c:2933:13:SPI_DMAHalfTransmitReceiveCplt 24 static
-stm32l1xx_hal_spi.c:2951:13:SPI_DMAError 24 static
-stm32l1xx_hal_spi.c:2974:13:SPI_DMAAbortOnError 24 static
-stm32l1xx_hal_spi.c:2996:13:SPI_DMATxAbortCallback 32 static
-stm32l1xx_hal_spi.c:3063:13:SPI_DMARxAbortCallback 32 static
-stm32l1xx_hal_spi.c:3124:13:SPI_2linesRxISR_8BIT 16 static
-stm32l1xx_hal_spi.c:3180:13:SPI_2linesTxISR_8BIT 16 static
-stm32l1xx_hal_spi.c:3216:13:SPI_2linesRxISR_16BIT 16 static
-stm32l1xx_hal_spi.c:3268:13:SPI_2linesTxISR_16BIT 16 static
-stm32l1xx_hal_spi.c:3321:13:SPI_RxISR_8BIT 16 static
-stm32l1xx_hal_spi.c:3373:13:SPI_RxISR_16BIT 16 static
-stm32l1xx_hal_spi.c:3406:13:SPI_TxISR_8BIT 16 static
-stm32l1xx_hal_spi.c:3431:13:SPI_TxISR_16BIT 16 static
-stm32l1xx_hal_spi.c:3461:26:SPI_WaitFlagStateUntilTimeout 40 static
-stm32l1xx_hal_spi.c:3528:26:SPI_EndRxTransaction 32 static
-stm32l1xx_hal_spi.c:3578:26:SPI_EndRxTxTransaction 40 static
-stm32l1xx_hal_spi.c:3618:13:SPI_CloseRxTx_ISR 32 static
-stm32l1xx_hal_spi.c:3713:13:SPI_CloseRx_ISR 24 static
-stm32l1xx_hal_spi.c:3776:13:SPI_CloseTx_ISR 32 static
-stm32l1xx_hal_spi.c:3837:13:SPI_AbortRx_ISR 24 static
-stm32l1xx_hal_spi.c:3870:13:SPI_AbortTx_ISR 16 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.d
deleted file mode 100644
index bd0a56b..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.o
deleted file mode 100644
index 61ce082..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.su
deleted file mode 100644
index e69de29..0000000
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.d
deleted file mode 100644
index ef4a0fc..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.o
deleted file mode 100644
index 2caf2ec..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.su
deleted file mode 100644
index e69de29..0000000
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.d b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.d
deleted file mode 100644
index 1b120fc..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.d
+++ /dev/null
@@ -1,86 +0,0 @@
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.o: \
- ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.c \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.o b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.o
deleted file mode 100644
index cfb4864..0000000
Binary files a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.su b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.su
deleted file mode 100644
index c919f87..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.su
+++ /dev/null
@@ -1,55 +0,0 @@
-stm32l1xx_hal_uart.c:313:19:HAL_UART_Init 16 static
-stm32l1xx_hal_uart.c:388:19:HAL_HalfDuplex_Init 16 static
-stm32l1xx_hal_uart.c:461:19:HAL_LIN_Init 16 static
-stm32l1xx_hal_uart.c:542:19:HAL_MultiProcessor_Init 24 static
-stm32l1xx_hal_uart.c:619:19:HAL_UART_DeInit 16 static
-stm32l1xx_hal_uart.c:663:13:HAL_UART_MspInit 16 static
-stm32l1xx_hal_uart.c:678:13:HAL_UART_MspDeInit 16 static
-stm32l1xx_hal_uart.c:1018:19:HAL_UART_Transmit 40 static
-stm32l1xx_hal_uart.c:1104:19:HAL_UART_Receive 40 static
-stm32l1xx_hal_uart.c:1195:19:HAL_UART_Transmit_IT 24 static
-stm32l1xx_hal_uart.c:1240:19:HAL_UART_Receive_IT 24 static
-stm32l1xx_hal_uart.c:1291:19:HAL_UART_Transmit_DMA 32 static
-stm32l1xx_hal_uart.c:1359:19:HAL_UART_Receive_DMA 32 static
-stm32l1xx_hal_uart.c:1426:19:HAL_UART_DMAPause 24 static
-stm32l1xx_hal_uart.c:1463:19:HAL_UART_DMAResume 24 static
-stm32l1xx_hal_uart.c:1499:19:HAL_UART_DMAStop 24 static
-stm32l1xx_hal_uart.c:1551:19:HAL_UART_Abort 16 static
-stm32l1xx_hal_uart.c:1633:19:HAL_UART_AbortTransmit 16 static
-stm32l1xx_hal_uart.c:1684:19:HAL_UART_AbortReceive 16 static
-stm32l1xx_hal_uart.c:1738:19:HAL_UART_Abort_IT 24 static
-stm32l1xx_hal_uart.c:1866:19:HAL_UART_AbortTransmit_IT 16 static
-stm32l1xx_hal_uart.c:1943:19:HAL_UART_AbortReceive_IT 16 static
-stm32l1xx_hal_uart.c:2013:6:HAL_UART_IRQHandler 40 static
-stm32l1xx_hal_uart.c:2159:13:HAL_UART_TxCpltCallback 16 static
-stm32l1xx_hal_uart.c:2174:13:HAL_UART_TxHalfCpltCallback 16 static
-stm32l1xx_hal_uart.c:2189:13:HAL_UART_RxCpltCallback 16 static
-stm32l1xx_hal_uart.c:2204:13:HAL_UART_RxHalfCpltCallback 16 static
-stm32l1xx_hal_uart.c:2219:13:HAL_UART_ErrorCallback 16 static
-stm32l1xx_hal_uart.c:2233:13:HAL_UART_AbortCpltCallback 16 static
-stm32l1xx_hal_uart.c:2248:13:HAL_UART_AbortTransmitCpltCallback 16 static
-stm32l1xx_hal_uart.c:2263:13:HAL_UART_AbortReceiveCpltCallback 16 static
-stm32l1xx_hal_uart.c:2302:19:HAL_LIN_SendBreak 16 static
-stm32l1xx_hal_uart.c:2329:19:HAL_MultiProcessor_EnterMuteMode 16 static
-stm32l1xx_hal_uart.c:2356:19:HAL_MultiProcessor_ExitMuteMode 16 static
-stm32l1xx_hal_uart.c:2383:19:HAL_HalfDuplex_EnableTransmitter 24 static
-stm32l1xx_hal_uart.c:2418:19:HAL_HalfDuplex_EnableReceiver 24 static
-stm32l1xx_hal_uart.c:2475:23:HAL_UART_GetState 24 static
-stm32l1xx_hal_uart.c:2490:10:HAL_UART_GetError 16 static
-stm32l1xx_hal_uart.c:2534:13:UART_DMATransmitCplt 24 static
-stm32l1xx_hal_uart.c:2569:13:UART_DMATxHalfCplt 24 static
-stm32l1xx_hal_uart.c:2588:13:UART_DMAReceiveCplt 24 static
-stm32l1xx_hal_uart.c:2622:13:UART_DMARxHalfCplt 24 static
-stm32l1xx_hal_uart.c:2641:13:UART_DMAError 24 static
-stm32l1xx_hal_uart.c:2682:26:UART_WaitOnFlagUntilTimeout 24 static
-stm32l1xx_hal_uart.c:2714:13:UART_EndTxTransfer 16 static
-stm32l1xx_hal_uart.c:2728:13:UART_EndRxTransfer 16 static
-stm32l1xx_hal_uart.c:2745:13:UART_DMAAbortOnError 24 static
-stm32l1xx_hal_uart.c:2769:13:UART_DMATxAbortCallback 24 static
-stm32l1xx_hal_uart.c:2814:13:UART_DMARxAbortCallback 24 static
-stm32l1xx_hal_uart.c:2859:13:UART_DMATxOnlyAbortCallback 24 static
-stm32l1xx_hal_uart.c:2887:13:UART_DMARxOnlyAbortCallback 24 static
-stm32l1xx_hal_uart.c:2912:26:UART_Transmit_IT 24 static
-stm32l1xx_hal_uart.c:2959:26:UART_EndTransmit_IT 16 static
-stm32l1xx_hal_uart.c:2984:26:UART_Receive_IT 24 static
-stm32l1xx_hal_uart.c:3055:13:UART_SetConfig 24 static
diff --git a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/subdir.mk b/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/subdir.mk
deleted file mode 100644
index 29bd11c..0000000
--- a/SD_CARD_SPI/Debug/Drivers/STM32L1xx_HAL_Driver/Src/subdir.mk
+++ /dev/null
@@ -1,104 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-C_SRCS += \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc_ex.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.c \
-../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.c
-
-OBJS += \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc_ex.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.o \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.o
-
-C_DEPS += \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc_ex.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.d \
-./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc_ex.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc_ex.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_adc_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_spi.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.o: ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-
diff --git a/SD_CARD_SPI/Debug/FATFS/App/fatfs.d b/SD_CARD_SPI/Debug/FATFS/App/fatfs.d
deleted file mode 100644
index 2fd259b..0000000
--- a/SD_CARD_SPI/Debug/FATFS/App/fatfs.d
+++ /dev/null
@@ -1,108 +0,0 @@
-FATFS/App/fatfs.o: ../FATFS/App/fatfs.c ../FATFS/App/fatfs.h \
- ../Middlewares/Third_Party/FatFs/src/ff.h \
- ../Middlewares/Third_Party/FatFs/src/integer.h ../FATFS/Target/ffconf.h \
- ../Core/Inc/main.h ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h \
- ../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h \
- ../Middlewares/Third_Party/FatFs/src/diskio.h \
- ../Middlewares/Third_Party/FatFs/src/ff.h ../FATFS/Target/user_diskio.h
-
-../FATFS/App/fatfs.h:
-
-../Middlewares/Third_Party/FatFs/src/ff.h:
-
-../Middlewares/Third_Party/FatFs/src/integer.h:
-
-../FATFS/Target/ffconf.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
-
-../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h:
-
-../Middlewares/Third_Party/FatFs/src/diskio.h:
-
-../Middlewares/Third_Party/FatFs/src/ff.h:
-
-../FATFS/Target/user_diskio.h:
diff --git a/SD_CARD_SPI/Debug/FATFS/App/fatfs.o b/SD_CARD_SPI/Debug/FATFS/App/fatfs.o
deleted file mode 100644
index f5acb4d..0000000
Binary files a/SD_CARD_SPI/Debug/FATFS/App/fatfs.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/FATFS/App/fatfs.su b/SD_CARD_SPI/Debug/FATFS/App/fatfs.su
deleted file mode 100644
index d8f9fe5..0000000
--- a/SD_CARD_SPI/Debug/FATFS/App/fatfs.su
+++ /dev/null
@@ -1,2 +0,0 @@
-fatfs.c:30:6:MX_FATFS_Init 8 static
-fatfs.c:45:7:get_fattime 4 static
diff --git a/SD_CARD_SPI/Debug/FATFS/App/subdir.mk b/SD_CARD_SPI/Debug/FATFS/App/subdir.mk
deleted file mode 100644
index b859252..0000000
--- a/SD_CARD_SPI/Debug/FATFS/App/subdir.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-C_SRCS += \
-../FATFS/App/fatfs.c
-
-OBJS += \
-./FATFS/App/fatfs.o
-
-C_DEPS += \
-./FATFS/App/fatfs.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-FATFS/App/fatfs.o: ../FATFS/App/fatfs.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"FATFS/App/fatfs.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-
diff --git a/SD_CARD_SPI/Debug/FATFS/Target/subdir.mk b/SD_CARD_SPI/Debug/FATFS/Target/subdir.mk
deleted file mode 100644
index 7b98404..0000000
--- a/SD_CARD_SPI/Debug/FATFS/Target/subdir.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-C_SRCS += \
-../FATFS/Target/user_diskio.c
-
-OBJS += \
-./FATFS/Target/user_diskio.o
-
-C_DEPS += \
-./FATFS/Target/user_diskio.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-FATFS/Target/user_diskio.o: ../FATFS/Target/user_diskio.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"FATFS/Target/user_diskio.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-
diff --git a/SD_CARD_SPI/Debug/FATFS/Target/user_diskio.d b/SD_CARD_SPI/Debug/FATFS/Target/user_diskio.d
deleted file mode 100644
index b891f2b..0000000
--- a/SD_CARD_SPI/Debug/FATFS/Target/user_diskio.d
+++ /dev/null
@@ -1,101 +0,0 @@
-FATFS/Target/user_diskio.o: ../FATFS/Target/user_diskio.c \
- ../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h \
- ../Middlewares/Third_Party/FatFs/src/diskio.h \
- ../Middlewares/Third_Party/FatFs/src/integer.h \
- ../Middlewares/Third_Party/FatFs/src/ff.h ../FATFS/Target/ffconf.h \
- ../Core/Inc/main.h ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h:
-
-../Middlewares/Third_Party/FatFs/src/diskio.h:
-
-../Middlewares/Third_Party/FatFs/src/integer.h:
-
-../Middlewares/Third_Party/FatFs/src/ff.h:
-
-../FATFS/Target/ffconf.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/FATFS/Target/user_diskio.o b/SD_CARD_SPI/Debug/FATFS/Target/user_diskio.o
deleted file mode 100644
index d3c879d..0000000
Binary files a/SD_CARD_SPI/Debug/FATFS/Target/user_diskio.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/FATFS/Target/user_diskio.su b/SD_CARD_SPI/Debug/FATFS/Target/user_diskio.su
deleted file mode 100644
index 7c34bcb..0000000
--- a/SD_CARD_SPI/Debug/FATFS/Target/user_diskio.su
+++ /dev/null
@@ -1,5 +0,0 @@
-user_diskio.c:80:9:USER_initialize 16 static
-user_diskio.c:96:9:USER_status 16 static
-user_diskio.c:115:9:USER_read 24 static
-user_diskio.c:137:9:USER_write 24 static
-user_diskio.c:160:9:USER_ioctl 16 static
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/diskio.d b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/diskio.d
deleted file mode 100644
index 6bd8f38..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/diskio.d
+++ /dev/null
@@ -1,102 +0,0 @@
-Middlewares/Third_Party/FatFs/src/diskio.o: \
- ../Middlewares/Third_Party/FatFs/src/diskio.c \
- ../Middlewares/Third_Party/FatFs/src/diskio.h \
- ../Middlewares/Third_Party/FatFs/src/integer.h \
- ../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h \
- ../Middlewares/Third_Party/FatFs/src/ff.h ../FATFS/Target/ffconf.h \
- ../Core/Inc/main.h ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Middlewares/Third_Party/FatFs/src/diskio.h:
-
-../Middlewares/Third_Party/FatFs/src/integer.h:
-
-../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h:
-
-../Middlewares/Third_Party/FatFs/src/ff.h:
-
-../FATFS/Target/ffconf.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/diskio.o b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/diskio.o
deleted file mode 100644
index ccaa67a..0000000
Binary files a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/diskio.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/diskio.su b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/diskio.su
deleted file mode 100644
index 4a820f9..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/diskio.su
+++ /dev/null
@@ -1,6 +0,0 @@
-diskio.c:36:9:disk_status 24 static
-diskio.c:51:9:disk_initialize 24 static
-diskio.c:73:9:disk_read 40 static
-diskio.c:95:9:disk_write 40 static
-diskio.c:117:9:disk_ioctl 24 static
-diskio.c:135:14:get_fattime 4 static
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff.d b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff.d
deleted file mode 100644
index ac1c499..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff.d
+++ /dev/null
@@ -1,99 +0,0 @@
-Middlewares/Third_Party/FatFs/src/ff.o: \
- ../Middlewares/Third_Party/FatFs/src/ff.c \
- ../Middlewares/Third_Party/FatFs/src/ff.h \
- ../Middlewares/Third_Party/FatFs/src/integer.h ../FATFS/Target/ffconf.h \
- ../Core/Inc/main.h ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h \
- ../Middlewares/Third_Party/FatFs/src/diskio.h
-
-../Middlewares/Third_Party/FatFs/src/ff.h:
-
-../Middlewares/Third_Party/FatFs/src/integer.h:
-
-../FATFS/Target/ffconf.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
-
-../Middlewares/Third_Party/FatFs/src/diskio.h:
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff.o b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff.o
deleted file mode 100644
index c699493..0000000
Binary files a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff.su b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff.su
deleted file mode 100644
index e3fccc0..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff.su
+++ /dev/null
@@ -1,67 +0,0 @@
-ff.c:613:6:ld_word 24 static
-ff.c:623:7:ld_dword 24 static
-ff.c:654:6:st_word 16 static
-ff.c:661:6:st_dword 16 static
-ff.c:693:6:mem_cpy 32 static
-ff.c:706:6:mem_set 32 static
-ff.c:716:5:mem_cmp 40 static
-ff.c:729:5:chk_chr 16 static
-ff.c:771:9:chk_lock 24 static
-ff.c:798:5:enq_lock 16 static
-ff.c:808:6:inc_lock 24 static
-ff.c:840:9:dec_lock 24 static
-ff.c:863:6:clear_lock 24 static
-ff.c:883:9:sync_window 32 static
-ff.c:912:9:move_window 24 static
-ff.c:944:9:sync_fs 24 static
-ff.c:983:7:clust2sect 16 static
-ff.c:1001:7:get_fat 32 static
-ff.c:1081:9:put_fat 48 static
-ff.c:1271:9:remove_chain 40 static
-ff.c:1351:7:create_chain 40 static
-ff.c:1440:7:clmt_clust 32 static
-ff.c:1470:9:dir_sdi 32 static
-ff.c:1519:9:dir_next 32 static
-ff.c:1589:9:dir_alloc 32 static
-ff.c:1632:7:ld_clust 24 static
-ff.c:1650:6:st_clust 24 static
-ff.c:1677:5:cmp_lfn 40 static
-ff.c:1713:5:pick_lfn 32 static
-ff.c:1751:6:put_lfn 40 static
-ff.c:1789:6:gen_numname 56 static
-ff.c:1848:6:sum_sfn 24 static
-ff.c:2131:9:dir_read 32 static
-ff.c:2210:9:dir_find 32 static
-ff.c:2292:9:dir_register 56 static
-ff.c:2396:9:dir_remove 32 static
-ff.c:2444:6:get_fileinfo 40 static
-ff.c:2618:9:create_name 48 static
-ff.c:2813:9:follow_path 32 static
-ff.c:2904:5:get_ldnumber 32 static
-ff.c:2965:6:check_fs 16 static
-ff.c:2993:9:find_volume 96 static
-ff.c:3216:9:validate 24 static
-ff.c:3260:9:f_mount 40 static
-ff.c:3308:9:f_open 112 static
-ff.c:3511:9:f_read 64 static
-ff.c:3611:9:f_write 56 static
-ff.c:3732:9:f_sync 32 static
-ff.c:3813:9:f_close 24 static
-ff.c:4001:9:f_lseek 72 static
-ff.c:4162:9:f_opendir 32 static
-ff.c:4232:9:f_closedir 24 static
-ff.c:4265:9:f_readdir 24 static
-ff.c:4353:9:f_stat 72 static
-ff.c:4388:9:f_getfree 80 static
-ff.c:4475:9:f_truncate 32 static
-ff.c:4525:9:f_unlink 136 static
-ff.c:4620:9:f_mkdir 104 static
-ff.c:4717:9:f_rename 168 static
-ff.c:5301:9:f_mkfs 128 static
-ff.c:5830:8:f_gets 40 static
-ff.c:5917:6:putc_bfd 24 static
-ff.c:5973:5:putc_flush 24 static
-ff.c:5987:6:putc_init 16 static
-ff.c:5998:5:f_putc 96 static
-ff.c:6018:5:f_puts 96 static
-ff.c:6038:5:f_printf 164 static
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff_gen_drv.d b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff_gen_drv.d
deleted file mode 100644
index 9e432ae..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff_gen_drv.d
+++ /dev/null
@@ -1,102 +0,0 @@
-Middlewares/Third_Party/FatFs/src/ff_gen_drv.o: \
- ../Middlewares/Third_Party/FatFs/src/ff_gen_drv.c \
- ../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h \
- ../Middlewares/Third_Party/FatFs/src/diskio.h \
- ../Middlewares/Third_Party/FatFs/src/integer.h \
- ../Middlewares/Third_Party/FatFs/src/ff.h ../FATFS/Target/ffconf.h \
- ../Core/Inc/main.h ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Middlewares/Third_Party/FatFs/src/ff_gen_drv.h:
-
-../Middlewares/Third_Party/FatFs/src/diskio.h:
-
-../Middlewares/Third_Party/FatFs/src/integer.h:
-
-../Middlewares/Third_Party/FatFs/src/ff.h:
-
-../FATFS/Target/ffconf.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff_gen_drv.o b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff_gen_drv.o
deleted file mode 100644
index 62aa07c..0000000
Binary files a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff_gen_drv.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff_gen_drv.su b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff_gen_drv.su
deleted file mode 100644
index cae5228..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/ff_gen_drv.su
+++ /dev/null
@@ -1,5 +0,0 @@
-ff_gen_drv.c:39:9:FATFS_LinkDriverEx 32 static
-ff_gen_drv.c:68:9:FATFS_LinkDriver 16 static
-ff_gen_drv.c:80:9:FATFS_UnLinkDriverEx 24 static
-ff_gen_drv.c:106:9:FATFS_UnLinkDriver 16 static
-ff_gen_drv.c:116:9:FATFS_GetAttachedDriversNbr 4 static
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/ccsbcs.d b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/ccsbcs.d
deleted file mode 100644
index 930a35d..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/ccsbcs.d
+++ /dev/null
@@ -1,97 +0,0 @@
-Middlewares/Third_Party/FatFs/src/option/ccsbcs.o: \
- ../Middlewares/Third_Party/FatFs/src/option/ccsbcs.c \
- ../Middlewares/Third_Party/FatFs/src/option/../ff.h \
- ../Middlewares/Third_Party/FatFs/src/option/../integer.h \
- ../FATFS/Target/ffconf.h ../Core/Inc/main.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Middlewares/Third_Party/FatFs/src/option/../ff.h:
-
-../Middlewares/Third_Party/FatFs/src/option/../integer.h:
-
-../FATFS/Target/ffconf.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/ccsbcs.o b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/ccsbcs.o
deleted file mode 100644
index 105d327..0000000
Binary files a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/ccsbcs.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/ccsbcs.su b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/ccsbcs.su
deleted file mode 100644
index 4c88fff..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/ccsbcs.su
+++ /dev/null
@@ -1,2 +0,0 @@
-ccsbcs.c:275:7:ff_convert 24 static
-ccsbcs.c:303:7:ff_wtoupper 32 static
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/subdir.mk b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/subdir.mk
deleted file mode 100644
index 0d479f0..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/subdir.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-C_SRCS += \
-../Middlewares/Third_Party/FatFs/src/option/ccsbcs.c \
-../Middlewares/Third_Party/FatFs/src/option/syscall.c
-
-OBJS += \
-./Middlewares/Third_Party/FatFs/src/option/ccsbcs.o \
-./Middlewares/Third_Party/FatFs/src/option/syscall.o
-
-C_DEPS += \
-./Middlewares/Third_Party/FatFs/src/option/ccsbcs.d \
-./Middlewares/Third_Party/FatFs/src/option/syscall.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-Middlewares/Third_Party/FatFs/src/option/ccsbcs.o: ../Middlewares/Third_Party/FatFs/src/option/ccsbcs.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FatFs/src/option/ccsbcs.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Middlewares/Third_Party/FatFs/src/option/syscall.o: ../Middlewares/Third_Party/FatFs/src/option/syscall.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FatFs/src/option/syscall.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/syscall.d b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/syscall.d
deleted file mode 100644
index 2355e49..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/syscall.d
+++ /dev/null
@@ -1,97 +0,0 @@
-Middlewares/Third_Party/FatFs/src/option/syscall.o: \
- ../Middlewares/Third_Party/FatFs/src/option/syscall.c \
- ../Middlewares/Third_Party/FatFs/src/option/../ff.h \
- ../Middlewares/Third_Party/FatFs/src/option/../integer.h \
- ../FATFS/Target/ffconf.h ../Core/Inc/main.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
- ../Core/Inc/stm32l1xx_hal_conf.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
- ../Drivers/CMSIS/Include/core_cm3.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Include/mpu_armv7.h \
- ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h \
- ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
-
-../Middlewares/Third_Party/FatFs/src/option/../ff.h:
-
-../Middlewares/Third_Party/FatFs/src/option/../integer.h:
-
-../FATFS/Target/ffconf.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
-
-../Core/Inc/stm32l1xx_hal_conf.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
-
-../Drivers/CMSIS/Include/core_cm3.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Include/mpu_armv7.h:
-
-../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_adc_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_spi.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_uart.h:
-
-../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/syscall.o b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/syscall.o
deleted file mode 100644
index 6bbba08..0000000
Binary files a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/syscall.o and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/syscall.su b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/option/syscall.su
deleted file mode 100644
index e69de29..0000000
diff --git a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/subdir.mk b/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/subdir.mk
deleted file mode 100644
index 7af2440..0000000
--- a/SD_CARD_SPI/Debug/Middlewares/Third_Party/FatFs/src/subdir.mk
+++ /dev/null
@@ -1,29 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-C_SRCS += \
-../Middlewares/Third_Party/FatFs/src/diskio.c \
-../Middlewares/Third_Party/FatFs/src/ff.c \
-../Middlewares/Third_Party/FatFs/src/ff_gen_drv.c
-
-OBJS += \
-./Middlewares/Third_Party/FatFs/src/diskio.o \
-./Middlewares/Third_Party/FatFs/src/ff.o \
-./Middlewares/Third_Party/FatFs/src/ff_gen_drv.o
-
-C_DEPS += \
-./Middlewares/Third_Party/FatFs/src/diskio.d \
-./Middlewares/Third_Party/FatFs/src/ff.d \
-./Middlewares/Third_Party/FatFs/src/ff_gen_drv.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-Middlewares/Third_Party/FatFs/src/diskio.o: ../Middlewares/Third_Party/FatFs/src/diskio.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FatFs/src/diskio.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Middlewares/Third_Party/FatFs/src/ff.o: ../Middlewares/Third_Party/FatFs/src/ff.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FatFs/src/ff.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Middlewares/Third_Party/FatFs/src/ff_gen_drv.o: ../Middlewares/Third_Party/FatFs/src/ff_gen_drv.c
- arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32L152xE -DDEBUG -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -I../FATFS/Target -I../FATFS/App -I../Middlewares/Third_Party/FatFs/src -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FatFs/src/ff_gen_drv.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-
diff --git a/SD_CARD_SPI/Debug/SD_CARD_SPI.bin b/SD_CARD_SPI/Debug/SD_CARD_SPI.bin
deleted file mode 100644
index b2e8c7b..0000000
Binary files a/SD_CARD_SPI/Debug/SD_CARD_SPI.bin and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/SD_CARD_SPI.elf b/SD_CARD_SPI/Debug/SD_CARD_SPI.elf
deleted file mode 100644
index ac53020..0000000
Binary files a/SD_CARD_SPI/Debug/SD_CARD_SPI.elf and /dev/null differ
diff --git a/SD_CARD_SPI/Debug/SD_CARD_SPI.list b/SD_CARD_SPI/Debug/SD_CARD_SPI.list
deleted file mode 100644
index 97dd086..0000000
--- a/SD_CARD_SPI/Debug/SD_CARD_SPI.list
+++ /dev/null
@@ -1,19482 +0,0 @@
-
-SD_CARD_SPI.elf: file format elf32-littlearm
-
-Sections:
-Idx Name Size VMA LMA File off Algn
- 0 .isr_vector 0000013c 08000000 08000000 00010000 2**0
- CONTENTS, ALLOC, LOAD, READONLY, DATA
- 1 .text 00007914 0800013c 0800013c 0001013c 2**2
- CONTENTS, ALLOC, LOAD, READONLY, CODE
- 2 .rodata 000005a8 08007a50 08007a50 00017a50 2**2
- CONTENTS, ALLOC, LOAD, READONLY, DATA
- 3 .ARM.extab 00000000 08007ff8 08007ff8 00020088 2**0
- CONTENTS
- 4 .ARM 00000008 08007ff8 08007ff8 00017ff8 2**2
- CONTENTS, ALLOC, LOAD, READONLY, DATA
- 5 .preinit_array 00000000 08008000 08008000 00020088 2**0
- CONTENTS, ALLOC, LOAD, DATA
- 6 .init_array 00000004 08008000 08008000 00018000 2**2
- CONTENTS, ALLOC, LOAD, DATA
- 7 .fini_array 00000004 08008004 08008004 00018004 2**2
- CONTENTS, ALLOC, LOAD, DATA
- 8 .data 00000088 20000000 08008008 00020000 2**2
- CONTENTS, ALLOC, LOAD, DATA
- 9 .bss 000044cc 20000088 08008090 00020088 2**2
- ALLOC
- 10 ._user_heap_stack 00000604 20004554 08008090 00024554 2**0
- ALLOC
- 11 .ARM.attributes 00000029 00000000 00000000 00020088 2**0
- CONTENTS, READONLY
- 12 .debug_info 000113b4 00000000 00000000 000200b1 2**0
- CONTENTS, READONLY, DEBUGGING
- 13 .debug_abbrev 00002754 00000000 00000000 00031465 2**0
- CONTENTS, READONLY, DEBUGGING
- 14 .debug_aranges 00000cd8 00000000 00000000 00033bc0 2**3
- CONTENTS, READONLY, DEBUGGING
- 15 .debug_ranges 00000ba0 00000000 00000000 00034898 2**3
- CONTENTS, READONLY, DEBUGGING
- 16 .debug_macro 0001807c 00000000 00000000 00035438 2**0
- CONTENTS, READONLY, DEBUGGING
- 17 .debug_line 0000cbe7 00000000 00000000 0004d4b4 2**0
- CONTENTS, READONLY, DEBUGGING
- 18 .debug_str 0008e5ed 00000000 00000000 0005a09b 2**0
- CONTENTS, READONLY, DEBUGGING
- 19 .comment 0000007b 00000000 00000000 000e8688 2**0
- CONTENTS, READONLY
- 20 .debug_frame 0000375c 00000000 00000000 000e8704 2**2
- CONTENTS, READONLY, DEBUGGING
-
-Disassembly of section .text:
-
-0800013c <__do_global_dtors_aux>:
- 800013c: b510 push {r4, lr}
- 800013e: 4c05 ldr r4, [pc, #20] ; (8000154 <__do_global_dtors_aux+0x18>)
- 8000140: 7823 ldrb r3, [r4, #0]
- 8000142: b933 cbnz r3, 8000152 <__do_global_dtors_aux+0x16>
- 8000144: 4b04 ldr r3, [pc, #16] ; (8000158 <__do_global_dtors_aux+0x1c>)
- 8000146: b113 cbz r3, 800014e <__do_global_dtors_aux+0x12>
- 8000148: 4804 ldr r0, [pc, #16] ; (800015c <__do_global_dtors_aux+0x20>)
- 800014a: f3af 8000 nop.w
- 800014e: 2301 movs r3, #1
- 8000150: 7023 strb r3, [r4, #0]
- 8000152: bd10 pop {r4, pc}
- 8000154: 20000088 .word 0x20000088
- 8000158: 00000000 .word 0x00000000
- 800015c: 08007a38 .word 0x08007a38
-
-08000160 :
- 8000160: b508 push {r3, lr}
- 8000162: 4b03 ldr r3, [pc, #12] ; (8000170 )
- 8000164: b11b cbz r3, 800016e
- 8000166: 4903 ldr r1, [pc, #12] ; (8000174 )
- 8000168: 4803 ldr r0, [pc, #12] ; (8000178 )
- 800016a: f3af 8000 nop.w
- 800016e: bd08 pop {r3, pc}
- 8000170: 00000000 .word 0x00000000
- 8000174: 2000008c .word 0x2000008c
- 8000178: 08007a38 .word 0x08007a38
-
-0800017c :
- 800017c: 4603 mov r3, r0
- 800017e: f813 2b01 ldrb.w r2, [r3], #1
- 8000182: 2a00 cmp r2, #0
- 8000184: d1fb bne.n 800017e
- 8000186: 1a18 subs r0, r3, r0
- 8000188: 3801 subs r0, #1
- 800018a: 4770 bx lr
-
-0800018c <__aeabi_uldivmod>:
- 800018c: b953 cbnz r3, 80001a4 <__aeabi_uldivmod+0x18>
- 800018e: b94a cbnz r2, 80001a4 <__aeabi_uldivmod+0x18>
- 8000190: 2900 cmp r1, #0
- 8000192: bf08 it eq
- 8000194: 2800 cmpeq r0, #0
- 8000196: bf1c itt ne
- 8000198: f04f 31ff movne.w r1, #4294967295
- 800019c: f04f 30ff movne.w r0, #4294967295
- 80001a0: f000 b974 b.w 800048c <__aeabi_idiv0>
- 80001a4: f1ad 0c08 sub.w ip, sp, #8
- 80001a8: e96d ce04 strd ip, lr, [sp, #-16]!
- 80001ac: f000 f806 bl 80001bc <__udivmoddi4>
- 80001b0: f8dd e004 ldr.w lr, [sp, #4]
- 80001b4: e9dd 2302 ldrd r2, r3, [sp, #8]
- 80001b8: b004 add sp, #16
- 80001ba: 4770 bx lr
-
-080001bc <__udivmoddi4>:
- 80001bc: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
- 80001c0: 468c mov ip, r1
- 80001c2: 4604 mov r4, r0
- 80001c4: 9e08 ldr r6, [sp, #32]
- 80001c6: 2b00 cmp r3, #0
- 80001c8: d14b bne.n 8000262 <__udivmoddi4+0xa6>
- 80001ca: 428a cmp r2, r1
- 80001cc: 4615 mov r5, r2
- 80001ce: d967 bls.n 80002a0 <__udivmoddi4+0xe4>
- 80001d0: fab2 f282 clz r2, r2
- 80001d4: b14a cbz r2, 80001ea <__udivmoddi4+0x2e>
- 80001d6: f1c2 0720 rsb r7, r2, #32
- 80001da: fa01 f302 lsl.w r3, r1, r2
- 80001de: fa20 f707 lsr.w r7, r0, r7
- 80001e2: 4095 lsls r5, r2
- 80001e4: ea47 0c03 orr.w ip, r7, r3
- 80001e8: 4094 lsls r4, r2
- 80001ea: ea4f 4e15 mov.w lr, r5, lsr #16
- 80001ee: fbbc f7fe udiv r7, ip, lr
- 80001f2: fa1f f885 uxth.w r8, r5
- 80001f6: fb0e c317 mls r3, lr, r7, ip
- 80001fa: fb07 f908 mul.w r9, r7, r8
- 80001fe: 0c21 lsrs r1, r4, #16
- 8000200: ea41 4303 orr.w r3, r1, r3, lsl #16
- 8000204: 4599 cmp r9, r3
- 8000206: d909 bls.n 800021c <__udivmoddi4+0x60>
- 8000208: 18eb adds r3, r5, r3
- 800020a: f107 31ff add.w r1, r7, #4294967295
- 800020e: f080 811c bcs.w 800044a <__udivmoddi4+0x28e>
- 8000212: 4599 cmp r9, r3
- 8000214: f240 8119 bls.w 800044a <__udivmoddi4+0x28e>
- 8000218: 3f02 subs r7, #2
- 800021a: 442b add r3, r5
- 800021c: eba3 0309 sub.w r3, r3, r9
- 8000220: fbb3 f0fe udiv r0, r3, lr
- 8000224: fb0e 3310 mls r3, lr, r0, r3
- 8000228: fb00 f108 mul.w r1, r0, r8
- 800022c: b2a4 uxth r4, r4
- 800022e: ea44 4403 orr.w r4, r4, r3, lsl #16
- 8000232: 42a1 cmp r1, r4
- 8000234: d909 bls.n 800024a <__udivmoddi4+0x8e>
- 8000236: 192c adds r4, r5, r4
- 8000238: f100 33ff add.w r3, r0, #4294967295
- 800023c: f080 8107 bcs.w 800044e <__udivmoddi4+0x292>
- 8000240: 42a1 cmp r1, r4
- 8000242: f240 8104 bls.w 800044e <__udivmoddi4+0x292>
- 8000246: 3802 subs r0, #2
- 8000248: 442c add r4, r5
- 800024a: ea40 4007 orr.w r0, r0, r7, lsl #16
- 800024e: 2700 movs r7, #0
- 8000250: 1a64 subs r4, r4, r1
- 8000252: b11e cbz r6, 800025c <__udivmoddi4+0xa0>
- 8000254: 2300 movs r3, #0
- 8000256: 40d4 lsrs r4, r2
- 8000258: e9c6 4300 strd r4, r3, [r6]
- 800025c: 4639 mov r1, r7
- 800025e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc}
- 8000262: 428b cmp r3, r1
- 8000264: d909 bls.n 800027a <__udivmoddi4+0xbe>
- 8000266: 2e00 cmp r6, #0
- 8000268: f000 80ec beq.w 8000444 <__udivmoddi4+0x288>
- 800026c: 2700 movs r7, #0
- 800026e: e9c6 0100 strd r0, r1, [r6]
- 8000272: 4638 mov r0, r7
- 8000274: 4639 mov r1, r7
- 8000276: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc}
- 800027a: fab3 f783 clz r7, r3
- 800027e: 2f00 cmp r7, #0
- 8000280: d148 bne.n 8000314 <__udivmoddi4+0x158>
- 8000282: 428b cmp r3, r1
- 8000284: d302 bcc.n 800028c <__udivmoddi4+0xd0>
- 8000286: 4282 cmp r2, r0
- 8000288: f200 80fb bhi.w 8000482 <__udivmoddi4+0x2c6>
- 800028c: 1a84 subs r4, r0, r2
- 800028e: eb61 0303 sbc.w r3, r1, r3
- 8000292: 2001 movs r0, #1
- 8000294: 469c mov ip, r3
- 8000296: 2e00 cmp r6, #0
- 8000298: d0e0 beq.n 800025c <__udivmoddi4+0xa0>
- 800029a: e9c6 4c00 strd r4, ip, [r6]
- 800029e: e7dd b.n 800025c <__udivmoddi4+0xa0>
- 80002a0: b902 cbnz r2, 80002a4 <__udivmoddi4+0xe8>
- 80002a2: deff udf #255 ; 0xff
- 80002a4: fab2 f282 clz r2, r2
- 80002a8: 2a00 cmp r2, #0
- 80002aa: f040 808f bne.w 80003cc <__udivmoddi4+0x210>
- 80002ae: 2701 movs r7, #1
- 80002b0: 1b49 subs r1, r1, r5
- 80002b2: ea4f 4815 mov.w r8, r5, lsr #16
- 80002b6: fa1f f985 uxth.w r9, r5
- 80002ba: fbb1 fef8 udiv lr, r1, r8
- 80002be: fb08 111e mls r1, r8, lr, r1
- 80002c2: fb09 f00e mul.w r0, r9, lr
- 80002c6: ea4f 4c14 mov.w ip, r4, lsr #16
- 80002ca: ea4c 4301 orr.w r3, ip, r1, lsl #16
- 80002ce: 4298 cmp r0, r3
- 80002d0: d907 bls.n 80002e2 <__udivmoddi4+0x126>
- 80002d2: 18eb adds r3, r5, r3
- 80002d4: f10e 31ff add.w r1, lr, #4294967295
- 80002d8: d202 bcs.n 80002e0 <__udivmoddi4+0x124>
- 80002da: 4298 cmp r0, r3
- 80002dc: f200 80cd bhi.w 800047a <__udivmoddi4+0x2be>
- 80002e0: 468e mov lr, r1
- 80002e2: 1a1b subs r3, r3, r0
- 80002e4: fbb3 f0f8 udiv r0, r3, r8
- 80002e8: fb08 3310 mls r3, r8, r0, r3
- 80002ec: fb09 f900 mul.w r9, r9, r0
- 80002f0: b2a4 uxth r4, r4
- 80002f2: ea44 4403 orr.w r4, r4, r3, lsl #16
- 80002f6: 45a1 cmp r9, r4
- 80002f8: d907 bls.n 800030a <__udivmoddi4+0x14e>
- 80002fa: 192c adds r4, r5, r4
- 80002fc: f100 33ff add.w r3, r0, #4294967295
- 8000300: d202 bcs.n 8000308 <__udivmoddi4+0x14c>
- 8000302: 45a1 cmp r9, r4
- 8000304: f200 80b6 bhi.w 8000474 <__udivmoddi4+0x2b8>
- 8000308: 4618 mov r0, r3
- 800030a: eba4 0409 sub.w r4, r4, r9
- 800030e: ea40 400e orr.w r0, r0, lr, lsl #16
- 8000312: e79e b.n 8000252 <__udivmoddi4+0x96>
- 8000314: f1c7 0520 rsb r5, r7, #32
- 8000318: 40bb lsls r3, r7
- 800031a: fa22 fc05 lsr.w ip, r2, r5
- 800031e: ea4c 0c03 orr.w ip, ip, r3
- 8000322: fa21 f405 lsr.w r4, r1, r5
- 8000326: ea4f 4e1c mov.w lr, ip, lsr #16
- 800032a: fbb4 f9fe udiv r9, r4, lr
- 800032e: fa1f f88c uxth.w r8, ip
- 8000332: fb0e 4419 mls r4, lr, r9, r4
- 8000336: fa20 f305 lsr.w r3, r0, r5
- 800033a: 40b9 lsls r1, r7
- 800033c: fb09 fa08 mul.w sl, r9, r8
- 8000340: 4319 orrs r1, r3
- 8000342: 0c0b lsrs r3, r1, #16
- 8000344: ea43 4404 orr.w r4, r3, r4, lsl #16
- 8000348: 45a2 cmp sl, r4
- 800034a: fa02 f207 lsl.w r2, r2, r7
- 800034e: fa00 f307 lsl.w r3, r0, r7
- 8000352: d90b bls.n 800036c <__udivmoddi4+0x1b0>
- 8000354: eb1c 0404 adds.w r4, ip, r4
- 8000358: f109 30ff add.w r0, r9, #4294967295
- 800035c: f080 8088 bcs.w 8000470 <__udivmoddi4+0x2b4>
- 8000360: 45a2 cmp sl, r4
- 8000362: f240 8085 bls.w 8000470 <__udivmoddi4+0x2b4>
- 8000366: f1a9 0902 sub.w r9, r9, #2
- 800036a: 4464 add r4, ip
- 800036c: eba4 040a sub.w r4, r4, sl
- 8000370: fbb4 f0fe udiv r0, r4, lr
- 8000374: fb0e 4410 mls r4, lr, r0, r4
- 8000378: fb00 fa08 mul.w sl, r0, r8
- 800037c: b289 uxth r1, r1
- 800037e: ea41 4404 orr.w r4, r1, r4, lsl #16
- 8000382: 45a2 cmp sl, r4
- 8000384: d908 bls.n 8000398 <__udivmoddi4+0x1dc>
- 8000386: eb1c 0404 adds.w r4, ip, r4
- 800038a: f100 31ff add.w r1, r0, #4294967295
- 800038e: d26b bcs.n 8000468 <__udivmoddi4+0x2ac>
- 8000390: 45a2 cmp sl, r4
- 8000392: d969 bls.n 8000468 <__udivmoddi4+0x2ac>
- 8000394: 3802 subs r0, #2
- 8000396: 4464 add r4, ip
- 8000398: ea40 4009 orr.w r0, r0, r9, lsl #16
- 800039c: fba0 8902 umull r8, r9, r0, r2
- 80003a0: eba4 040a sub.w r4, r4, sl
- 80003a4: 454c cmp r4, r9
- 80003a6: 4641 mov r1, r8
- 80003a8: 46ce mov lr, r9
- 80003aa: d354 bcc.n 8000456 <__udivmoddi4+0x29a>
- 80003ac: d051 beq.n 8000452 <__udivmoddi4+0x296>
- 80003ae: 2e00 cmp r6, #0
- 80003b0: d069 beq.n 8000486 <__udivmoddi4+0x2ca>
- 80003b2: 1a5a subs r2, r3, r1
- 80003b4: eb64 040e sbc.w r4, r4, lr
- 80003b8: fa04 f505 lsl.w r5, r4, r5
- 80003bc: fa22 f307 lsr.w r3, r2, r7
- 80003c0: 40fc lsrs r4, r7
- 80003c2: 431d orrs r5, r3
- 80003c4: e9c6 5400 strd r5, r4, [r6]
- 80003c8: 2700 movs r7, #0
- 80003ca: e747 b.n 800025c <__udivmoddi4+0xa0>
- 80003cc: 4095 lsls r5, r2
- 80003ce: f1c2 0320 rsb r3, r2, #32
- 80003d2: fa21 f003 lsr.w r0, r1, r3
- 80003d6: ea4f 4815 mov.w r8, r5, lsr #16
- 80003da: fbb0 f7f8 udiv r7, r0, r8
- 80003de: fa1f f985 uxth.w r9, r5
- 80003e2: fb08 0017 mls r0, r8, r7, r0
- 80003e6: fa24 f303 lsr.w r3, r4, r3
- 80003ea: 4091 lsls r1, r2
- 80003ec: fb07 fc09 mul.w ip, r7, r9
- 80003f0: 430b orrs r3, r1
- 80003f2: 0c19 lsrs r1, r3, #16
- 80003f4: ea41 4100 orr.w r1, r1, r0, lsl #16
- 80003f8: 458c cmp ip, r1
- 80003fa: fa04 f402 lsl.w r4, r4, r2
- 80003fe: d907 bls.n 8000410 <__udivmoddi4+0x254>
- 8000400: 1869 adds r1, r5, r1
- 8000402: f107 30ff add.w r0, r7, #4294967295
- 8000406: d231 bcs.n 800046c <__udivmoddi4+0x2b0>
- 8000408: 458c cmp ip, r1
- 800040a: d92f bls.n 800046c <__udivmoddi4+0x2b0>
- 800040c: 3f02 subs r7, #2
- 800040e: 4429 add r1, r5
- 8000410: eba1 010c sub.w r1, r1, ip
- 8000414: fbb1 f0f8 udiv r0, r1, r8
- 8000418: fb08 1c10 mls ip, r8, r0, r1
- 800041c: fb00 fe09 mul.w lr, r0, r9
- 8000420: b299 uxth r1, r3
- 8000422: ea41 410c orr.w r1, r1, ip, lsl #16
- 8000426: 458e cmp lr, r1
- 8000428: d907 bls.n 800043a <__udivmoddi4+0x27e>
- 800042a: 1869 adds r1, r5, r1
- 800042c: f100 33ff add.w r3, r0, #4294967295
- 8000430: d218 bcs.n 8000464 <__udivmoddi4+0x2a8>
- 8000432: 458e cmp lr, r1
- 8000434: d916 bls.n 8000464 <__udivmoddi4+0x2a8>
- 8000436: 3802 subs r0, #2
- 8000438: 4429 add r1, r5
- 800043a: eba1 010e sub.w r1, r1, lr
- 800043e: ea40 4707 orr.w r7, r0, r7, lsl #16
- 8000442: e73a b.n 80002ba <__udivmoddi4+0xfe>
- 8000444: 4637 mov r7, r6
- 8000446: 4630 mov r0, r6
- 8000448: e708 b.n 800025c <__udivmoddi4+0xa0>
- 800044a: 460f mov r7, r1
- 800044c: e6e6 b.n 800021c <__udivmoddi4+0x60>
- 800044e: 4618 mov r0, r3
- 8000450: e6fb b.n 800024a <__udivmoddi4+0x8e>
- 8000452: 4543 cmp r3, r8
- 8000454: d2ab bcs.n 80003ae <__udivmoddi4+0x1f2>
- 8000456: ebb8 0102 subs.w r1, r8, r2
- 800045a: eb69 020c sbc.w r2, r9, ip
- 800045e: 3801 subs r0, #1
- 8000460: 4696 mov lr, r2
- 8000462: e7a4 b.n 80003ae <__udivmoddi4+0x1f2>
- 8000464: 4618 mov r0, r3
- 8000466: e7e8 b.n 800043a <__udivmoddi4+0x27e>
- 8000468: 4608 mov r0, r1
- 800046a: e795 b.n 8000398 <__udivmoddi4+0x1dc>
- 800046c: 4607 mov r7, r0
- 800046e: e7cf b.n 8000410 <__udivmoddi4+0x254>
- 8000470: 4681 mov r9, r0
- 8000472: e77b b.n 800036c <__udivmoddi4+0x1b0>
- 8000474: 3802 subs r0, #2
- 8000476: 442c add r4, r5
- 8000478: e747 b.n 800030a <__udivmoddi4+0x14e>
- 800047a: f1ae 0e02 sub.w lr, lr, #2
- 800047e: 442b add r3, r5
- 8000480: e72f b.n 80002e2 <__udivmoddi4+0x126>
- 8000482: 4638 mov r0, r7
- 8000484: e707 b.n 8000296 <__udivmoddi4+0xda>
- 8000486: 4637 mov r7, r6
- 8000488: e6e8 b.n 800025c <__udivmoddi4+0xa0>
- 800048a: bf00 nop
-
-0800048c <__aeabi_idiv0>:
- 800048c: 4770 bx lr
- 800048e: bf00 nop
-
-08000490 :
- * SPI functions
- **************************************/
-
-/* slave select */
-static void SELECT(void)
-{
- 8000490: b580 push {r7, lr}
- 8000492: af00 add r7, sp, #0
- HAL_GPIO_WritePin(SD_CS_PORT, SD_CS_PIN, GPIO_PIN_RESET);
- 8000494: 2200 movs r2, #0
- 8000496: 2140 movs r1, #64 ; 0x40
- 8000498: 4803 ldr r0, [pc, #12] ; (80004a8 )
- 800049a: f002 f807 bl 80024ac
- HAL_Delay(1);
- 800049e: 2001 movs r0, #1
- 80004a0: f001 f966 bl 8001770
-}
- 80004a4: bf00 nop
- 80004a6: bd80 pop {r7, pc}
- 80004a8: 40020400 .word 0x40020400
-
-080004ac :
-
-/* slave deselect */
-static void DESELECT(void)
-{
- 80004ac: b580 push {r7, lr}
- 80004ae: af00 add r7, sp, #0
- HAL_GPIO_WritePin(SD_CS_PORT, SD_CS_PIN, GPIO_PIN_SET);
- 80004b0: 2201 movs r2, #1
- 80004b2: 2140 movs r1, #64 ; 0x40
- 80004b4: 4803 ldr r0, [pc, #12] ; (80004c4 )
- 80004b6: f001 fff9 bl 80024ac
- HAL_Delay(1);
- 80004ba: 2001 movs r0, #1
- 80004bc: f001 f958 bl 8001770
-}
- 80004c0: bf00 nop
- 80004c2: bd80 pop {r7, pc}
- 80004c4: 40020400 .word 0x40020400
-
-080004c8 :
-
-/* SPI transmit a byte */
-static void SPI_TxByte(uint8_t data)
-{
- 80004c8: b580 push {r7, lr}
- 80004ca: b082 sub sp, #8
- 80004cc: af00 add r7, sp, #0
- 80004ce: 4603 mov r3, r0
- 80004d0: 71fb strb r3, [r7, #7]
- while(!__HAL_SPI_GET_FLAG(HSPI_SDCARD, SPI_FLAG_TXE));
- 80004d2: bf00 nop
- 80004d4: 4b08 ldr r3, [pc, #32] ; (80004f8 )
- 80004d6: 681b ldr r3, [r3, #0]
- 80004d8: 689b ldr r3, [r3, #8]
- 80004da: f003 0302 and.w r3, r3, #2
- 80004de: 2b02 cmp r3, #2
- 80004e0: d1f8 bne.n 80004d4
- HAL_SPI_Transmit(HSPI_SDCARD, &data, 1, SPI_TIMEOUT);
- 80004e2: 1df9 adds r1, r7, #7
- 80004e4: 2364 movs r3, #100 ; 0x64
- 80004e6: 2201 movs r2, #1
- 80004e8: 4803 ldr r0, [pc, #12] ; (80004f8 )
- 80004ea: f002 fe40 bl 800316e
-}
- 80004ee: bf00 nop
- 80004f0: 3708 adds r7, #8
- 80004f2: 46bd mov sp, r7
- 80004f4: bd80 pop {r7, pc}
- 80004f6: bf00 nop
- 80004f8: 200013a0 .word 0x200013a0
-
-080004fc :
-
-/* SPI transmit buffer */
-static void SPI_TxBuffer(uint8_t *buffer, uint16_t len)
-{
- 80004fc: b580 push {r7, lr}
- 80004fe: b082 sub sp, #8
- 8000500: af00 add r7, sp, #0
- 8000502: 6078 str r0, [r7, #4]
- 8000504: 460b mov r3, r1
- 8000506: 807b strh r3, [r7, #2]
- while(!__HAL_SPI_GET_FLAG(HSPI_SDCARD, SPI_FLAG_TXE));
- 8000508: bf00 nop
- 800050a: 4b08 ldr r3, [pc, #32] ; (800052c )
- 800050c: 681b ldr r3, [r3, #0]
- 800050e: 689b ldr r3, [r3, #8]
- 8000510: f003 0302 and.w r3, r3, #2
- 8000514: 2b02 cmp r3, #2
- 8000516: d1f8 bne.n 800050a
- HAL_SPI_Transmit(HSPI_SDCARD, buffer, len, SPI_TIMEOUT);
- 8000518: 887a ldrh r2, [r7, #2]
- 800051a: 2364 movs r3, #100 ; 0x64
- 800051c: 6879 ldr r1, [r7, #4]
- 800051e: 4803 ldr r0, [pc, #12] ; (800052c )
- 8000520: f002 fe25 bl 800316e
-}
- 8000524: bf00 nop
- 8000526: 3708 adds r7, #8
- 8000528: 46bd mov sp, r7
- 800052a: bd80 pop {r7, pc}
- 800052c: 200013a0 .word 0x200013a0
-
-08000530 :
-
-/* SPI receive a byte */
-static uint8_t SPI_RxByte(void)
-{
- 8000530: b580 push {r7, lr}
- 8000532: b084 sub sp, #16
- 8000534: af02 add r7, sp, #8
- uint8_t dummy, data;
- dummy = 0xFF;
- 8000536: 23ff movs r3, #255 ; 0xff
- 8000538: 71fb strb r3, [r7, #7]
-
- while(!__HAL_SPI_GET_FLAG(HSPI_SDCARD, SPI_FLAG_TXE));
- 800053a: bf00 nop
- 800053c: 4b09 ldr r3, [pc, #36] ; (8000564 )
- 800053e: 681b ldr r3, [r3, #0]
- 8000540: 689b ldr r3, [r3, #8]
- 8000542: f003 0302 and.w r3, r3, #2
- 8000546: 2b02 cmp r3, #2
- 8000548: d1f8 bne.n 800053c
- HAL_SPI_TransmitReceive(HSPI_SDCARD, &dummy, &data, 1, SPI_TIMEOUT);
- 800054a: 1dba adds r2, r7, #6
- 800054c: 1df9 adds r1, r7, #7
- 800054e: 2364 movs r3, #100 ; 0x64
- 8000550: 9300 str r3, [sp, #0]
- 8000552: 2301 movs r3, #1
- 8000554: 4803 ldr r0, [pc, #12] ; (8000564 )
- 8000556: f002 ff46 bl 80033e6
-
- return data;
- 800055a: 79bb ldrb r3, [r7, #6]
-}
- 800055c: 4618 mov r0, r3
- 800055e: 3708 adds r7, #8
- 8000560: 46bd mov sp, r7
- 8000562: bd80 pop {r7, pc}
- 8000564: 200013a0 .word 0x200013a0
-
-08000568 :
-
-/* SPI receive a byte via pointer */
-static void SPI_RxBytePtr(uint8_t *buff)
-{
- 8000568: b580 push {r7, lr}
- 800056a: b082 sub sp, #8
- 800056c: af00 add r7, sp, #0
- 800056e: 6078 str r0, [r7, #4]
- *buff = SPI_RxByte();
- 8000570: f7ff ffde bl 8000530
- 8000574: 4603 mov r3, r0
- 8000576: 461a mov r2, r3
- 8000578: 687b ldr r3, [r7, #4]
- 800057a: 701a strb r2, [r3, #0]
-}
- 800057c: bf00 nop
- 800057e: 3708 adds r7, #8
- 8000580: 46bd mov sp, r7
- 8000582: bd80 pop {r7, pc}
-
-08000584 :
- * SD functions
- **************************************/
-
-/* wait SD ready */
-static uint8_t SD_ReadyWait(void)
-{
- 8000584: b580 push {r7, lr}
- 8000586: b082 sub sp, #8
- 8000588: af00 add r7, sp, #0
- uint8_t res;
-
- /* timeout 500ms */
- Timer2 = 500;
- 800058a: 4b0a ldr r3, [pc, #40] ; (80005b4 )
- 800058c: f44f 72fa mov.w r2, #500 ; 0x1f4
- 8000590: 801a strh r2, [r3, #0]
-
- /* if SD goes ready, receives 0xFF */
- do {
- res = SPI_RxByte();
- 8000592: f7ff ffcd bl 8000530
- 8000596: 4603 mov r3, r0
- 8000598: 71fb strb r3, [r7, #7]
- } while ((res != 0xFF) && Timer2);
- 800059a: 79fb ldrb r3, [r7, #7]
- 800059c: 2bff cmp r3, #255 ; 0xff
- 800059e: d003 beq.n 80005a8
- 80005a0: 4b04 ldr r3, [pc, #16] ; (80005b4 )
- 80005a2: 881b ldrh r3, [r3, #0]
- 80005a4: 2b00 cmp r3, #0
- 80005a6: d1f4 bne.n 8000592
-
- return res;
- 80005a8: 79fb ldrb r3, [r7, #7]
-}
- 80005aa: 4618 mov r0, r3
- 80005ac: 3708 adds r7, #8
- 80005ae: 46bd mov sp, r7
- 80005b0: bd80 pop {r7, pc}
- 80005b2: bf00 nop
- 80005b4: 200002e8 .word 0x200002e8
-
-080005b8 :
-
-/* power on */
-static void SD_PowerOn(void)
-{
- 80005b8: b580 push {r7, lr}
- 80005ba: b084 sub sp, #16
- 80005bc: af00 add r7, sp, #0
- uint8_t args[6];
- uint32_t cnt = 0x1FFF;
- 80005be: f641 73ff movw r3, #8191 ; 0x1fff
- 80005c2: 60fb str r3, [r7, #12]
-
- /* transmit bytes to wake up */
- DESELECT();
- 80005c4: f7ff ff72 bl 80004ac
- for(int i = 0; i < 10; i++)
- 80005c8: 2300 movs r3, #0
- 80005ca: 60bb str r3, [r7, #8]
- 80005cc: e005 b.n 80005da
- {
- SPI_TxByte(0xFF);
- 80005ce: 20ff movs r0, #255 ; 0xff
- 80005d0: f7ff ff7a bl 80004c8
- for(int i = 0; i < 10; i++)
- 80005d4: 68bb ldr r3, [r7, #8]
- 80005d6: 3301 adds r3, #1
- 80005d8: 60bb str r3, [r7, #8]
- 80005da: 68bb ldr r3, [r7, #8]
- 80005dc: 2b09 cmp r3, #9
- 80005de: ddf6 ble.n 80005ce
- }
-
- /* slave select */
- SELECT();
- 80005e0: f7ff ff56 bl 8000490
-
- /* make idle state */
- args[0] = CMD0; /* CMD0:GO_IDLE_STATE */
- 80005e4: 2340 movs r3, #64 ; 0x40
- 80005e6: 703b strb r3, [r7, #0]
- args[1] = 0;
- 80005e8: 2300 movs r3, #0
- 80005ea: 707b strb r3, [r7, #1]
- args[2] = 0;
- 80005ec: 2300 movs r3, #0
- 80005ee: 70bb strb r3, [r7, #2]
- args[3] = 0;
- 80005f0: 2300 movs r3, #0
- 80005f2: 70fb strb r3, [r7, #3]
- args[4] = 0;
- 80005f4: 2300 movs r3, #0
- 80005f6: 713b strb r3, [r7, #4]
- args[5] = 0x95; /* CRC */
- 80005f8: 2395 movs r3, #149 ; 0x95
- 80005fa: 717b strb r3, [r7, #5]
-
- SPI_TxBuffer(args, sizeof(args));
- 80005fc: 463b mov r3, r7
- 80005fe: 2106 movs r1, #6
- 8000600: 4618 mov r0, r3
- 8000602: f7ff ff7b bl 80004fc
-
- /* wait response */
- while ((SPI_RxByte() != 0x01) && cnt)
- 8000606: e002 b.n 800060e
- {
- cnt--;
- 8000608: 68fb ldr r3, [r7, #12]
- 800060a: 3b01 subs r3, #1
- 800060c: 60fb str r3, [r7, #12]
- while ((SPI_RxByte() != 0x01) && cnt)
- 800060e: f7ff ff8f bl 8000530
- 8000612: 4603 mov r3, r0
- 8000614: 2b01 cmp r3, #1
- 8000616: d002 beq.n 800061e
- 8000618: 68fb ldr r3, [r7, #12]
- 800061a: 2b00 cmp r3, #0
- 800061c: d1f4 bne.n 8000608
- }
-
- DESELECT();
- 800061e: f7ff ff45 bl 80004ac
- SPI_TxByte(0XFF);
- 8000622: 20ff movs r0, #255 ; 0xff
- 8000624: f7ff ff50 bl 80004c8
-
- PowerFlag = 1;
- 8000628: 4b03 ldr r3, [pc, #12] ; (8000638 )
- 800062a: 2201 movs r2, #1
- 800062c: 701a strb r2, [r3, #0]
-}
- 800062e: bf00 nop
- 8000630: 3710 adds r7, #16
- 8000632: 46bd mov sp, r7
- 8000634: bd80 pop {r7, pc}
- 8000636: bf00 nop
- 8000638: 200000a5 .word 0x200000a5
-
-0800063c :
-
-/* power off */
-static void SD_PowerOff(void)
-{
- 800063c: b480 push {r7}
- 800063e: af00 add r7, sp, #0
- PowerFlag = 0;
- 8000640: 4b03 ldr r3, [pc, #12] ; (8000650 )
- 8000642: 2200 movs r2, #0
- 8000644: 701a strb r2, [r3, #0]
-}
- 8000646: bf00 nop
- 8000648: 46bd mov sp, r7
- 800064a: bc80 pop {r7}
- 800064c: 4770 bx lr
- 800064e: bf00 nop
- 8000650: 200000a5 .word 0x200000a5
-
-08000654 :
-
-/* check power flag */
-static uint8_t SD_CheckPower(void)
-{
- 8000654: b480 push {r7}
- 8000656: af00 add r7, sp, #0
- return PowerFlag;
- 8000658: 4b02 ldr r3, [pc, #8] ; (8000664 )
- 800065a: 781b ldrb r3, [r3, #0]
-}
- 800065c: 4618 mov r0, r3
- 800065e: 46bd mov sp, r7
- 8000660: bc80 pop {r7}
- 8000662: 4770 bx lr
- 8000664: 200000a5 .word 0x200000a5
-
-08000668 :
-
-/* receive data block */
-static bool SD_RxDataBlock(BYTE *buff, UINT len)
-{
- 8000668: b580 push {r7, lr}
- 800066a: b084 sub sp, #16
- 800066c: af00 add r7, sp, #0
- 800066e: 6078 str r0, [r7, #4]
- 8000670: 6039 str r1, [r7, #0]
- uint8_t token;
-
- /* timeout 200ms */
- Timer1 = 200;
- 8000672: 4b13 ldr r3, [pc, #76] ; (80006c0 )
- 8000674: 22c8 movs r2, #200 ; 0xc8
- 8000676: 801a strh r2, [r3, #0]
-
- /* loop until receive a response or timeout */
- do {
- token = SPI_RxByte();
- 8000678: f7ff ff5a bl 8000530
- 800067c: 4603 mov r3, r0
- 800067e: 73fb strb r3, [r7, #15]
- } while((token == 0xFF) && Timer1);
- 8000680: 7bfb ldrb r3, [r7, #15]
- 8000682: 2bff cmp r3, #255 ; 0xff
- 8000684: d103 bne.n 800068e
- 8000686: 4b0e ldr r3, [pc, #56] ; (80006c0 )
- 8000688: 881b ldrh r3, [r3, #0]
- 800068a: 2b00 cmp r3, #0
- 800068c: d1f4 bne.n 8000678
-
- /* invalid response */
- if(token != 0xFE) return FALSE;
- 800068e: 7bfb ldrb r3, [r7, #15]
- 8000690: 2bfe cmp r3, #254 ; 0xfe
- 8000692: d001 beq.n 8000698
- 8000694: 2300 movs r3, #0
- 8000696: e00f b.n 80006b8
-
- /* receive data */
- do {
- SPI_RxBytePtr(buff++);
- 8000698: 687b ldr r3, [r7, #4]
- 800069a: 1c5a adds r2, r3, #1
- 800069c: 607a str r2, [r7, #4]
- 800069e: 4618 mov r0, r3
- 80006a0: f7ff ff62 bl 8000568
- } while(len--);
- 80006a4: 683b ldr r3, [r7, #0]
- 80006a6: 1e5a subs r2, r3, #1
- 80006a8: 603a str r2, [r7, #0]
- 80006aa: 2b00 cmp r3, #0
- 80006ac: d1f4 bne.n 8000698
-
- /* discard CRC */
- SPI_RxByte();
- 80006ae: f7ff ff3f bl 8000530
- SPI_RxByte();
- 80006b2: f7ff ff3d bl 8000530
-
- return TRUE;
- 80006b6: 2301 movs r3, #1
-}
- 80006b8: 4618 mov r0, r3
- 80006ba: 3710 adds r7, #16
- 80006bc: 46bd mov sp, r7
- 80006be: bd80 pop {r7, pc}
- 80006c0: 200002ea .word 0x200002ea
-
-080006c4 :
-
-/* transmit data block */
-#if _USE_WRITE == 1
-static bool SD_TxDataBlock(const uint8_t *buff, BYTE token)
-{
- 80006c4: b580 push {r7, lr}
- 80006c6: b084 sub sp, #16
- 80006c8: af00 add r7, sp, #0
- 80006ca: 6078 str r0, [r7, #4]
- 80006cc: 460b mov r3, r1
- 80006ce: 70fb strb r3, [r7, #3]
- uint8_t resp;
- uint8_t i = 0;
- 80006d0: 2300 movs r3, #0
- 80006d2: 73bb strb r3, [r7, #14]
-
- /* wait SD ready */
- if (SD_ReadyWait() != 0xFF) return FALSE;
- 80006d4: f7ff ff56 bl 8000584
- 80006d8: 4603 mov r3, r0
- 80006da: 2bff cmp r3, #255 ; 0xff
- 80006dc: d001 beq.n 80006e2
- 80006de: 2300 movs r3, #0
- 80006e0: e02f b.n 8000742
-
- /* transmit token */
- SPI_TxByte(token);
- 80006e2: 78fb ldrb r3, [r7, #3]
- 80006e4: 4618 mov r0, r3
- 80006e6: f7ff feef bl 80004c8
-
- /* if it's not STOP token, transmit data */
- if (token != 0xFD)
- 80006ea: 78fb ldrb r3, [r7, #3]
- 80006ec: 2bfd cmp r3, #253 ; 0xfd
- 80006ee: d020 beq.n 8000732
- {
- SPI_TxBuffer((uint8_t*)buff, 512);
- 80006f0: f44f 7100 mov.w r1, #512 ; 0x200
- 80006f4: 6878 ldr r0, [r7, #4]
- 80006f6: f7ff ff01 bl 80004fc
-
- /* discard CRC */
- SPI_RxByte();
- 80006fa: f7ff ff19 bl 8000530
- SPI_RxByte();
- 80006fe: f7ff ff17 bl 8000530
-
- /* receive response */
- while (i <= 64)
- 8000702: e00b b.n 800071c
- {
- resp = SPI_RxByte();
- 8000704: f7ff ff14 bl 8000530
- 8000708: 4603 mov r3, r0
- 800070a: 73fb strb r3, [r7, #15]
-
- /* transmit 0x05 accepted */
- if ((resp & 0x1F) == 0x05) break;
- 800070c: 7bfb ldrb r3, [r7, #15]
- 800070e: f003 031f and.w r3, r3, #31
- 8000712: 2b05 cmp r3, #5
- 8000714: d006 beq.n 8000724
- i++;
- 8000716: 7bbb ldrb r3, [r7, #14]
- 8000718: 3301 adds r3, #1
- 800071a: 73bb strb r3, [r7, #14]
- while (i <= 64)
- 800071c: 7bbb ldrb r3, [r7, #14]
- 800071e: 2b40 cmp r3, #64 ; 0x40
- 8000720: d9f0 bls.n 8000704
- 8000722: e000 b.n 8000726
- if ((resp & 0x1F) == 0x05) break;
- 8000724: bf00 nop
- }
-
- /* recv buffer clear */
- while (SPI_RxByte() == 0);
- 8000726: bf00 nop
- 8000728: f7ff ff02 bl 8000530
- 800072c: 4603 mov r3, r0
- 800072e: 2b00 cmp r3, #0
- 8000730: d0fa beq.n 8000728
- }
-
- /* transmit 0x05 accepted */
- if ((resp & 0x1F) == 0x05) return TRUE;
- 8000732: 7bfb ldrb r3, [r7, #15]
- 8000734: f003 031f and.w r3, r3, #31
- 8000738: 2b05 cmp r3, #5
- 800073a: d101 bne.n 8000740
- 800073c: 2301 movs r3, #1
- 800073e: e000 b.n 8000742
-
- return FALSE;
- 8000740: 2300 movs r3, #0
-}
- 8000742: 4618 mov r0, r3
- 8000744: 3710 adds r7, #16
- 8000746: 46bd mov sp, r7
- 8000748: bd80 pop {r7, pc}
-
-0800074a :
-#endif /* _USE_WRITE */
-
-/* transmit command */
-static BYTE SD_SendCmd(BYTE cmd, uint32_t arg)
-{
- 800074a: b580 push {r7, lr}
- 800074c: b084 sub sp, #16
- 800074e: af00 add r7, sp, #0
- 8000750: 4603 mov r3, r0
- 8000752: 6039 str r1, [r7, #0]
- 8000754: 71fb strb r3, [r7, #7]
- uint8_t crc, res;
-
- /* wait SD ready */
- if (SD_ReadyWait() != 0xFF) return 0xFF;
- 8000756: f7ff ff15 bl 8000584
- 800075a: 4603 mov r3, r0
- 800075c: 2bff cmp r3, #255 ; 0xff
- 800075e: d001 beq.n 8000764
- 8000760: 23ff movs r3, #255 ; 0xff
- 8000762: e042 b.n 80007ea
-
- /* transmit command */
- SPI_TxByte(cmd); /* Command */
- 8000764: 79fb ldrb r3, [r7, #7]
- 8000766: 4618 mov r0, r3
- 8000768: f7ff feae bl 80004c8
- SPI_TxByte((uint8_t)(arg >> 24)); /* Argument[31..24] */
- 800076c: 683b ldr r3, [r7, #0]
- 800076e: 0e1b lsrs r3, r3, #24
- 8000770: b2db uxtb r3, r3
- 8000772: 4618 mov r0, r3
- 8000774: f7ff fea8 bl 80004c8
- SPI_TxByte((uint8_t)(arg >> 16)); /* Argument[23..16] */
- 8000778: 683b ldr r3, [r7, #0]
- 800077a: 0c1b lsrs r3, r3, #16
- 800077c: b2db uxtb r3, r3
- 800077e: 4618 mov r0, r3
- 8000780: f7ff fea2 bl 80004c8
- SPI_TxByte((uint8_t)(arg >> 8)); /* Argument[15..8] */
- 8000784: 683b ldr r3, [r7, #0]
- 8000786: 0a1b lsrs r3, r3, #8
- 8000788: b2db uxtb r3, r3
- 800078a: 4618 mov r0, r3
- 800078c: f7ff fe9c bl 80004c8
- SPI_TxByte((uint8_t)arg); /* Argument[7..0] */
- 8000790: 683b ldr r3, [r7, #0]
- 8000792: b2db uxtb r3, r3
- 8000794: 4618 mov r0, r3
- 8000796: f7ff fe97 bl 80004c8
-
- /* prepare CRC */
- if(cmd == CMD0) crc = 0x95; /* CRC for CMD0(0) */
- 800079a: 79fb ldrb r3, [r7, #7]
- 800079c: 2b40 cmp r3, #64 ; 0x40
- 800079e: d102 bne.n 80007a6
- 80007a0: 2395 movs r3, #149 ; 0x95
- 80007a2: 73fb strb r3, [r7, #15]
- 80007a4: e007 b.n 80007b6
- else if(cmd == CMD8) crc = 0x87; /* CRC for CMD8(0x1AA) */
- 80007a6: 79fb ldrb r3, [r7, #7]
- 80007a8: 2b48 cmp r3, #72 ; 0x48
- 80007aa: d102 bne.n 80007b2
- 80007ac: 2387 movs r3, #135 ; 0x87
- 80007ae: 73fb strb r3, [r7, #15]
- 80007b0: e001 b.n 80007b6
- else crc = 1;
- 80007b2: 2301 movs r3, #1
- 80007b4: 73fb strb r3, [r7, #15]
-
- /* transmit CRC */
- SPI_TxByte(crc);
- 80007b6: 7bfb ldrb r3, [r7, #15]
- 80007b8: 4618 mov r0, r3
- 80007ba: f7ff fe85 bl 80004c8
-
- /* Skip a stuff byte when STOP_TRANSMISSION */
- if (cmd == CMD12) SPI_RxByte();
- 80007be: 79fb ldrb r3, [r7, #7]
- 80007c0: 2b4c cmp r3, #76 ; 0x4c
- 80007c2: d101 bne.n 80007c8
- 80007c4: f7ff feb4 bl 8000530
-
- /* receive response */
- uint8_t n = 10;
- 80007c8: 230a movs r3, #10
- 80007ca: 73bb strb r3, [r7, #14]
- do {
- res = SPI_RxByte();
- 80007cc: f7ff feb0 bl 8000530
- 80007d0: 4603 mov r3, r0
- 80007d2: 737b strb r3, [r7, #13]
- } while ((res & 0x80) && --n);
- 80007d4: f997 300d ldrsb.w r3, [r7, #13]
- 80007d8: 2b00 cmp r3, #0
- 80007da: da05 bge.n 80007e8
- 80007dc: 7bbb ldrb r3, [r7, #14]
- 80007de: 3b01 subs r3, #1
- 80007e0: 73bb strb r3, [r7, #14]
- 80007e2: 7bbb ldrb r3, [r7, #14]
- 80007e4: 2b00 cmp r3, #0
- 80007e6: d1f1 bne.n 80007cc
-
- return res;
- 80007e8: 7b7b ldrb r3, [r7, #13]
-}
- 80007ea: 4618 mov r0, r3
- 80007ec: 3710 adds r7, #16
- 80007ee: 46bd mov sp, r7
- 80007f0: bd80 pop {r7, pc}
- ...
-
-080007f4 :
- * user_diskio.c functions
- **************************************/
-
-/* initialize SD */
-DSTATUS SD_disk_initialize(BYTE drv)
-{
- 80007f4: b590 push {r4, r7, lr}
- 80007f6: b085 sub sp, #20
- 80007f8: af00 add r7, sp, #0
- 80007fa: 4603 mov r3, r0
- 80007fc: 71fb strb r3, [r7, #7]
- uint8_t n, type, ocr[4];
-
- /* single drive, drv should be 0 */
- if(drv) return STA_NOINIT;
- 80007fe: 79fb ldrb r3, [r7, #7]
- 8000800: 2b00 cmp r3, #0
- 8000802: d001 beq.n 8000808
- 8000804: 2301 movs r3, #1
- 8000806: e0d1 b.n 80009ac
-
- /* no disk */
- if(Stat & STA_NODISK) return Stat;
- 8000808: 4b6a ldr r3, [pc, #424] ; (80009b4 )
- 800080a: 781b ldrb r3, [r3, #0]
- 800080c: b2db uxtb r3, r3
- 800080e: f003 0302 and.w r3, r3, #2
- 8000812: 2b00 cmp r3, #0
- 8000814: d003 beq.n 800081e
- 8000816: 4b67 ldr r3, [pc, #412] ; (80009b4 )
- 8000818: 781b ldrb r3, [r3, #0]
- 800081a: b2db uxtb r3, r3
- 800081c: e0c6 b.n 80009ac
-
- /* power on */
- SD_PowerOn();
- 800081e: f7ff fecb bl 80005b8
-
- /* slave select */
- SELECT();
- 8000822: f7ff fe35 bl 8000490
-
- /* check disk type */
- type = 0;
- 8000826: 2300 movs r3, #0
- 8000828: 73bb strb r3, [r7, #14]
-
- /* send GO_IDLE_STATE command */
- if (SD_SendCmd(CMD0, 0) == 1)
- 800082a: 2100 movs r1, #0
- 800082c: 2040 movs r0, #64 ; 0x40
- 800082e: f7ff ff8c bl 800074a
- 8000832: 4603 mov r3, r0
- 8000834: 2b01 cmp r3, #1
- 8000836: f040 80a1 bne.w 800097c
- {
- /* timeout 1 sec */
- Timer1 = 1000;
- 800083a: 4b5f ldr r3, [pc, #380] ; (80009b8 )
- 800083c: f44f 727a mov.w r2, #1000 ; 0x3e8
- 8000840: 801a strh r2, [r3, #0]
-
- /* SDC V2+ accept CMD8 command, http://elm-chan.org/docs/mmc/mmc_e.html */
- if (SD_SendCmd(CMD8, 0x1AA) == 1)
- 8000842: f44f 71d5 mov.w r1, #426 ; 0x1aa
- 8000846: 2048 movs r0, #72 ; 0x48
- 8000848: f7ff ff7f bl 800074a
- 800084c: 4603 mov r3, r0
- 800084e: 2b01 cmp r3, #1
- 8000850: d155 bne.n 80008fe
- {
- /* operation condition register */
- for (n = 0; n < 4; n++)
- 8000852: 2300 movs r3, #0
- 8000854: 73fb strb r3, [r7, #15]
- 8000856: e00c b.n 8000872
- {
- ocr[n] = SPI_RxByte();
- 8000858: 7bfc ldrb r4, [r7, #15]
- 800085a: f7ff fe69 bl 8000530
- 800085e: 4603 mov r3, r0
- 8000860: 461a mov r2, r3
- 8000862: f107 0310 add.w r3, r7, #16
- 8000866: 4423 add r3, r4
- 8000868: f803 2c08 strb.w r2, [r3, #-8]
- for (n = 0; n < 4; n++)
- 800086c: 7bfb ldrb r3, [r7, #15]
- 800086e: 3301 adds r3, #1
- 8000870: 73fb strb r3, [r7, #15]
- 8000872: 7bfb ldrb r3, [r7, #15]
- 8000874: 2b03 cmp r3, #3
- 8000876: d9ef bls.n 8000858
- }
-
- /* voltage range 2.7-3.6V */
- if (ocr[2] == 0x01 && ocr[3] == 0xAA)
- 8000878: 7abb ldrb r3, [r7, #10]
- 800087a: 2b01 cmp r3, #1
- 800087c: d17e bne.n 800097c
- 800087e: 7afb ldrb r3, [r7, #11]
- 8000880: 2baa cmp r3, #170 ; 0xaa
- 8000882: d17b bne.n 800097c
- {
- /* ACMD41 with HCS bit */
- do {
- if (SD_SendCmd(CMD55, 0) <= 1 && SD_SendCmd(CMD41, 1UL << 30) == 0) break;
- 8000884: 2100 movs r1, #0
- 8000886: 2077 movs r0, #119 ; 0x77
- 8000888: f7ff ff5f bl 800074a
- 800088c: 4603 mov r3, r0
- 800088e: 2b01 cmp r3, #1
- 8000890: d807 bhi.n 80008a2
- 8000892: f04f 4180 mov.w r1, #1073741824 ; 0x40000000
- 8000896: 2069 movs r0, #105 ; 0x69
- 8000898: f7ff ff57 bl 800074a
- 800089c: 4603 mov r3, r0
- 800089e: 2b00 cmp r3, #0
- 80008a0: d004 beq.n 80008ac
- } while (Timer1);
- 80008a2: 4b45 ldr r3, [pc, #276] ; (80009b8 )
- 80008a4: 881b ldrh r3, [r3, #0]
- 80008a6: 2b00 cmp r3, #0
- 80008a8: d1ec bne.n 8000884
- 80008aa: e000 b.n 80008ae
- if (SD_SendCmd(CMD55, 0) <= 1 && SD_SendCmd(CMD41, 1UL << 30) == 0) break;
- 80008ac: bf00 nop
-
- /* READ_OCR */
- if (Timer1 && SD_SendCmd(CMD58, 0) == 0)
- 80008ae: 4b42 ldr r3, [pc, #264] ; (80009b8 )
- 80008b0: 881b ldrh r3, [r3, #0]
- 80008b2: 2b00 cmp r3, #0
- 80008b4: d062 beq.n 800097c
- 80008b6: 2100 movs r1, #0
- 80008b8: 207a movs r0, #122 ; 0x7a
- 80008ba: f7ff ff46 bl 800074a
- 80008be: 4603 mov r3, r0
- 80008c0: 2b00 cmp r3, #0
- 80008c2: d15b bne.n 800097c
- {
- /* Check CCS bit */
- for (n = 0; n < 4; n++)
- 80008c4: 2300 movs r3, #0
- 80008c6: 73fb strb r3, [r7, #15]
- 80008c8: e00c b.n 80008e4
- {
- ocr[n] = SPI_RxByte();
- 80008ca: 7bfc ldrb r4, [r7, #15]
- 80008cc: f7ff fe30 bl 8000530
- 80008d0: 4603 mov r3, r0
- 80008d2: 461a mov r2, r3
- 80008d4: f107 0310 add.w r3, r7, #16
- 80008d8: 4423 add r3, r4
- 80008da: f803 2c08 strb.w r2, [r3, #-8]
- for (n = 0; n < 4; n++)
- 80008de: 7bfb ldrb r3, [r7, #15]
- 80008e0: 3301 adds r3, #1
- 80008e2: 73fb strb r3, [r7, #15]
- 80008e4: 7bfb ldrb r3, [r7, #15]
- 80008e6: 2b03 cmp r3, #3
- 80008e8: d9ef bls.n 80008ca
- }
-
- /* SDv2 (HC or SC) */
- type = (ocr[0] & 0x40) ? CT_SD2 | CT_BLOCK : CT_SD2;
- 80008ea: 7a3b ldrb r3, [r7, #8]
- 80008ec: f003 0340 and.w r3, r3, #64 ; 0x40
- 80008f0: 2b00 cmp r3, #0
- 80008f2: d001 beq.n 80008f8
- 80008f4: 230c movs r3, #12
- 80008f6: e000 b.n 80008fa
- 80008f8: 2304 movs r3, #4
- 80008fa: 73bb strb r3, [r7, #14]
- 80008fc: e03e b.n 800097c
- }
- }
- else
- {
- /* SDC V1 or MMC */
- type = (SD_SendCmd(CMD55, 0) <= 1 && SD_SendCmd(CMD41, 0) <= 1) ? CT_SD1 : CT_MMC;
- 80008fe: 2100 movs r1, #0
- 8000900: 2077 movs r0, #119 ; 0x77
- 8000902: f7ff ff22 bl 800074a
- 8000906: 4603 mov r3, r0
- 8000908: 2b01 cmp r3, #1
- 800090a: d808 bhi.n 800091e
- 800090c: 2100 movs r1, #0
- 800090e: 2069 movs r0, #105 ; 0x69
- 8000910: f7ff ff1b bl 800074a
- 8000914: 4603 mov r3, r0
- 8000916: 2b01 cmp r3, #1
- 8000918: d801 bhi.n 800091e
- 800091a: 2302 movs r3, #2
- 800091c: e000 b.n 8000920
- 800091e: 2301 movs r3, #1
- 8000920: 73bb strb r3, [r7, #14]
-
- do
- {
- if (type == CT_SD1)
- 8000922: 7bbb ldrb r3, [r7, #14]
- 8000924: 2b02 cmp r3, #2
- 8000926: d10e bne.n 8000946
- {
- if (SD_SendCmd(CMD55, 0) <= 1 && SD_SendCmd(CMD41, 0) == 0) break; /* ACMD41 */
- 8000928: 2100 movs r1, #0
- 800092a: 2077 movs r0, #119 ; 0x77
- 800092c: f7ff ff0d bl 800074a
- 8000930: 4603 mov r3, r0
- 8000932: 2b01 cmp r3, #1
- 8000934: d80e bhi.n 8000954
- 8000936: 2100 movs r1, #0
- 8000938: 2069 movs r0, #105 ; 0x69
- 800093a: f7ff ff06 bl 800074a
- 800093e: 4603 mov r3, r0
- 8000940: 2b00 cmp r3, #0
- 8000942: d107 bne.n 8000954
- 8000944: e00c b.n 8000960
- }
- else
- {
- if (SD_SendCmd(CMD1, 0) == 0) break; /* CMD1 */
- 8000946: 2100 movs r1, #0
- 8000948: 2041 movs r0, #65 ; 0x41
- 800094a: f7ff fefe bl 800074a
- 800094e: 4603 mov r3, r0
- 8000950: 2b00 cmp r3, #0
- 8000952: d004 beq.n 800095e
- }
-
- } while (Timer1);
- 8000954: 4b18 ldr r3, [pc, #96] ; (80009b8 )
- 8000956: 881b ldrh r3, [r3, #0]
- 8000958: 2b00 cmp r3, #0
- 800095a: d1e2 bne.n 8000922
- 800095c: e000 b.n 8000960
- if (SD_SendCmd(CMD1, 0) == 0) break; /* CMD1 */
- 800095e: bf00 nop
-
- /* SET_BLOCKLEN */
- if (!Timer1 || SD_SendCmd(CMD16, 512) != 0) type = 0;
- 8000960: 4b15 ldr r3, [pc, #84] ; (80009b8 )
- 8000962: 881b ldrh r3, [r3, #0]
- 8000964: 2b00 cmp r3, #0
- 8000966: d007 beq.n 8000978
- 8000968: f44f 7100 mov.w r1, #512 ; 0x200
- 800096c: 2050 movs r0, #80 ; 0x50
- 800096e: f7ff feec bl 800074a
- 8000972: 4603 mov r3, r0
- 8000974: 2b00 cmp r3, #0
- 8000976: d001 beq.n 800097c
- 8000978: 2300 movs r3, #0
- 800097a: 73bb strb r3, [r7, #14]
- }
- }
-
- CardType = type;
- 800097c: 4a0f ldr r2, [pc, #60] ; (80009bc )
- 800097e: 7bbb ldrb r3, [r7, #14]
- 8000980: 7013 strb r3, [r2, #0]
-
- /* Idle */
- DESELECT();
- 8000982: f7ff fd93 bl 80004ac
- SPI_RxByte();
- 8000986: f7ff fdd3 bl 8000530
-
- /* Clear STA_NOINIT */
- if (type)
- 800098a: 7bbb ldrb r3, [r7, #14]
- 800098c: 2b00 cmp r3, #0
- 800098e: d008 beq.n 80009a2
- {
- Stat &= ~STA_NOINIT;
- 8000990: 4b08 ldr r3, [pc, #32] ; (80009b4 )
- 8000992: 781b ldrb r3, [r3, #0]
- 8000994: b2db uxtb r3, r3
- 8000996: f023 0301 bic.w r3, r3, #1
- 800099a: b2da uxtb r2, r3
- 800099c: 4b05 ldr r3, [pc, #20] ; (80009b4 )
- 800099e: 701a strb r2, [r3, #0]
- 80009a0: e001 b.n 80009a6
- }
- else
- {
- /* Initialization failed */
- SD_PowerOff();
- 80009a2: f7ff fe4b bl 800063c
- }
-
- return Stat;
- 80009a6: 4b03 ldr r3, [pc, #12] ; (80009b4 )
- 80009a8: 781b ldrb r3, [r3, #0]
- 80009aa: b2db uxtb r3, r3
-}
- 80009ac: 4618 mov r0, r3
- 80009ae: 3714 adds r7, #20
- 80009b0: 46bd mov sp, r7
- 80009b2: bd90 pop {r4, r7, pc}
- 80009b4: 20000000 .word 0x20000000
- 80009b8: 200002ea .word 0x200002ea
- 80009bc: 200000a4 .word 0x200000a4
-
-080009c0 :
-
-/* return disk status */
-DSTATUS SD_disk_status(BYTE drv)
-{
- 80009c0: b480 push {r7}
- 80009c2: b083 sub sp, #12
- 80009c4: af00 add r7, sp, #0
- 80009c6: 4603 mov r3, r0
- 80009c8: 71fb strb r3, [r7, #7]
- if (drv) return STA_NOINIT;
- 80009ca: 79fb ldrb r3, [r7, #7]
- 80009cc: 2b00 cmp r3, #0
- 80009ce: d001 beq.n 80009d4
- 80009d0: 2301 movs r3, #1
- 80009d2: e002 b.n 80009da
- return Stat;
- 80009d4: 4b03 ldr r3, [pc, #12] ; (80009e4 )
- 80009d6: 781b ldrb r3, [r3, #0]
- 80009d8: b2db uxtb r3, r3
-}
- 80009da: 4618 mov r0, r3
- 80009dc: 370c adds r7, #12
- 80009de: 46bd mov sp, r7
- 80009e0: bc80 pop {r7}
- 80009e2: 4770 bx lr
- 80009e4: 20000000 .word 0x20000000
-
-080009e8 :
-
-/* read sector */
-DRESULT SD_disk_read(BYTE pdrv, BYTE* buff, DWORD sector, UINT count)
-{
- 80009e8: b580 push {r7, lr}
- 80009ea: b084 sub sp, #16
- 80009ec: af00 add r7, sp, #0
- 80009ee: 60b9 str r1, [r7, #8]
- 80009f0: 607a str r2, [r7, #4]
- 80009f2: 603b str r3, [r7, #0]
- 80009f4: 4603 mov r3, r0
- 80009f6: 73fb strb r3, [r7, #15]
- /* pdrv should be 0 */
- if (pdrv || !count) return RES_PARERR;
- 80009f8: 7bfb ldrb r3, [r7, #15]
- 80009fa: 2b00 cmp r3, #0
- 80009fc: d102 bne.n 8000a04
- 80009fe: 683b ldr r3, [r7, #0]
- 8000a00: 2b00 cmp r3, #0
- 8000a02: d101 bne.n 8000a08
- 8000a04: 2304 movs r3, #4
- 8000a06: e051 b.n 8000aac
-
- /* no disk */
- if (Stat & STA_NOINIT) return RES_NOTRDY;
- 8000a08: 4b2a ldr r3, [pc, #168] ; (8000ab4 )
- 8000a0a: 781b ldrb r3, [r3, #0]
- 8000a0c: b2db uxtb r3, r3
- 8000a0e: f003 0301 and.w r3, r3, #1
- 8000a12: 2b00 cmp r3, #0
- 8000a14: d001 beq.n 8000a1a
- 8000a16: 2303 movs r3, #3
- 8000a18: e048 b.n 8000aac
-
- /* convert to byte address */
- if (!(CardType & CT_SD2)) sector *= 512;
- 8000a1a: 4b27 ldr r3, [pc, #156] ; (8000ab8 )
- 8000a1c: 781b ldrb r3, [r3, #0]
- 8000a1e: f003 0304 and.w r3, r3, #4
- 8000a22: 2b00 cmp r3, #0
- 8000a24: d102 bne.n 8000a2c
- 8000a26: 687b ldr r3, [r7, #4]
- 8000a28: 025b lsls r3, r3, #9
- 8000a2a: 607b str r3, [r7, #4]
-
- SELECT();
- 8000a2c: f7ff fd30 bl 8000490
-
- if (count == 1)
- 8000a30: 683b ldr r3, [r7, #0]
- 8000a32: 2b01 cmp r3, #1
- 8000a34: d111 bne.n 8000a5a
- {
- /* READ_SINGLE_BLOCK */
- if ((SD_SendCmd(CMD17, sector) == 0) && SD_RxDataBlock(buff, 512)) count = 0;
- 8000a36: 6879 ldr r1, [r7, #4]
- 8000a38: 2051 movs r0, #81 ; 0x51
- 8000a3a: f7ff fe86 bl 800074a
- 8000a3e: 4603 mov r3, r0
- 8000a40: 2b00 cmp r3, #0
- 8000a42: d129 bne.n 8000a98
- 8000a44: f44f 7100 mov.w r1, #512 ; 0x200
- 8000a48: 68b8 ldr r0, [r7, #8]
- 8000a4a: f7ff fe0d bl 8000668
- 8000a4e: 4603 mov r3, r0
- 8000a50: 2b00 cmp r3, #0
- 8000a52: d021 beq.n 8000a98
- 8000a54: 2300 movs r3, #0
- 8000a56: 603b str r3, [r7, #0]
- 8000a58: e01e b.n 8000a98
- }
- else
- {
- /* READ_MULTIPLE_BLOCK */
- if (SD_SendCmd(CMD18, sector) == 0)
- 8000a5a: 6879 ldr r1, [r7, #4]
- 8000a5c: 2052 movs r0, #82 ; 0x52
- 8000a5e: f7ff fe74 bl 800074a
- 8000a62: 4603 mov r3, r0
- 8000a64: 2b00 cmp r3, #0
- 8000a66: d117 bne.n 8000a98
- {
- do {
- if (!SD_RxDataBlock(buff, 512)) break;
- 8000a68: f44f 7100 mov.w r1, #512 ; 0x200
- 8000a6c: 68b8 ldr r0, [r7, #8]
- 8000a6e: f7ff fdfb bl 8000668
- 8000a72: 4603 mov r3, r0
- 8000a74: 2b00 cmp r3, #0
- 8000a76: d00a beq.n 8000a8e
- buff += 512;
- 8000a78: 68bb ldr r3, [r7, #8]
- 8000a7a: f503 7300 add.w r3, r3, #512 ; 0x200
- 8000a7e: 60bb str r3, [r7, #8]
- } while (--count);
- 8000a80: 683b ldr r3, [r7, #0]
- 8000a82: 3b01 subs r3, #1
- 8000a84: 603b str r3, [r7, #0]
- 8000a86: 683b ldr r3, [r7, #0]
- 8000a88: 2b00 cmp r3, #0
- 8000a8a: d1ed bne.n 8000a68
- 8000a8c: e000 b.n 8000a90
- if (!SD_RxDataBlock(buff, 512)) break;
- 8000a8e: bf00 nop
-
- /* STOP_TRANSMISSION */
- SD_SendCmd(CMD12, 0);
- 8000a90: 2100 movs r1, #0
- 8000a92: 204c movs r0, #76 ; 0x4c
- 8000a94: f7ff fe59 bl 800074a
- }
- }
-
- /* Idle */
- DESELECT();
- 8000a98: f7ff fd08 bl 80004ac
- SPI_RxByte();
- 8000a9c: f7ff fd48 bl 8000530
-
- return count ? RES_ERROR : RES_OK;
- 8000aa0: 683b ldr r3, [r7, #0]
- 8000aa2: 2b00 cmp r3, #0
- 8000aa4: bf14 ite ne
- 8000aa6: 2301 movne r3, #1
- 8000aa8: 2300 moveq r3, #0
- 8000aaa: b2db uxtb r3, r3
-}
- 8000aac: 4618 mov r0, r3
- 8000aae: 3710 adds r7, #16
- 8000ab0: 46bd mov sp, r7
- 8000ab2: bd80 pop {r7, pc}
- 8000ab4: 20000000 .word 0x20000000
- 8000ab8: 200000a4 .word 0x200000a4
-
-08000abc :
-
-/* write sector */
-#if _USE_WRITE == 1
-DRESULT SD_disk_write(BYTE pdrv, const BYTE* buff, DWORD sector, UINT count)
-{
- 8000abc: b580 push {r7, lr}
- 8000abe: b084 sub sp, #16
- 8000ac0: af00 add r7, sp, #0
- 8000ac2: 60b9 str r1, [r7, #8]
- 8000ac4: 607a str r2, [r7, #4]
- 8000ac6: 603b str r3, [r7, #0]
- 8000ac8: 4603 mov r3, r0
- 8000aca: 73fb strb r3, [r7, #15]
- /* pdrv should be 0 */
- if (pdrv || !count) return RES_PARERR;
- 8000acc: 7bfb ldrb r3, [r7, #15]
- 8000ace: 2b00 cmp r3, #0
- 8000ad0: d102 bne.n 8000ad8
- 8000ad2: 683b ldr r3, [r7, #0]
- 8000ad4: 2b00 cmp r3, #0
- 8000ad6: d101 bne.n 8000adc
- 8000ad8: 2304 movs r3, #4
- 8000ada: e06b b.n 8000bb4
-
- /* no disk */
- if (Stat & STA_NOINIT) return RES_NOTRDY;
- 8000adc: 4b37 ldr r3, [pc, #220] ; (8000bbc )
- 8000ade: 781b ldrb r3, [r3, #0]
- 8000ae0: b2db uxtb r3, r3
- 8000ae2: f003 0301 and.w r3, r3, #1
- 8000ae6: 2b00 cmp r3, #0
- 8000ae8: d001 beq.n 8000aee
- 8000aea: 2303 movs r3, #3
- 8000aec: e062 b.n 8000bb4
-
- /* write protection */
- if (Stat & STA_PROTECT) return RES_WRPRT;
- 8000aee: 4b33 ldr r3, [pc, #204] ; (8000bbc )
- 8000af0: 781b ldrb r3, [r3, #0]
- 8000af2: b2db uxtb r3, r3
- 8000af4: f003 0304 and.w r3, r3, #4
- 8000af8: 2b00 cmp r3, #0
- 8000afa: d001 beq.n 8000b00
- 8000afc: 2302 movs r3, #2
- 8000afe: e059 b.n 8000bb4
-
- /* convert to byte address */
- if (!(CardType & CT_SD2)) sector *= 512;
- 8000b00: 4b2f ldr r3, [pc, #188] ; (8000bc0 )
- 8000b02: 781b ldrb r3, [r3, #0]
- 8000b04: f003 0304 and.w r3, r3, #4
- 8000b08: 2b00 cmp r3, #0
- 8000b0a: d102 bne.n 8000b12
- 8000b0c: 687b ldr r3, [r7, #4]
- 8000b0e: 025b lsls r3, r3, #9
- 8000b10: 607b str r3, [r7, #4]
-
- SELECT();
- 8000b12: f7ff fcbd bl 8000490
-
- if (count == 1)
- 8000b16: 683b ldr r3, [r7, #0]
- 8000b18: 2b01 cmp r3, #1
- 8000b1a: d110 bne.n 8000b3e
- {
- /* WRITE_BLOCK */
- if ((SD_SendCmd(CMD24, sector) == 0) && SD_TxDataBlock(buff, 0xFE))
- 8000b1c: 6879 ldr r1, [r7, #4]
- 8000b1e: 2058 movs r0, #88 ; 0x58
- 8000b20: f7ff fe13 bl 800074a
- 8000b24: 4603 mov r3, r0
- 8000b26: 2b00 cmp r3, #0
- 8000b28: d13a bne.n 8000ba0
- 8000b2a: 21fe movs r1, #254 ; 0xfe
- 8000b2c: 68b8 ldr r0, [r7, #8]
- 8000b2e: f7ff fdc9 bl 80006c4
- 8000b32: 4603 mov r3, r0
- 8000b34: 2b00 cmp r3, #0
- 8000b36: d033 beq.n 8000ba0
- count = 0;
- 8000b38: 2300 movs r3, #0
- 8000b3a: 603b str r3, [r7, #0]
- 8000b3c: e030 b.n 8000ba0
- }
- else
- {
- /* WRITE_MULTIPLE_BLOCK */
- if (CardType & CT_SD1)
- 8000b3e: 4b20 ldr r3, [pc, #128] ; (8000bc0 )
- 8000b40: 781b ldrb r3, [r3, #0]
- 8000b42: f003 0302 and.w r3, r3, #2
- 8000b46: 2b00 cmp r3, #0
- 8000b48: d007 beq.n 8000b5a
- {
- SD_SendCmd(CMD55, 0);
- 8000b4a: 2100 movs r1, #0
- 8000b4c: 2077 movs r0, #119 ; 0x77
- 8000b4e: f7ff fdfc bl 800074a
- SD_SendCmd(CMD23, count); /* ACMD23 */
- 8000b52: 6839 ldr r1, [r7, #0]
- 8000b54: 2057 movs r0, #87 ; 0x57
- 8000b56: f7ff fdf8 bl 800074a
- }
-
- if (SD_SendCmd(CMD25, sector) == 0)
- 8000b5a: 6879 ldr r1, [r7, #4]
- 8000b5c: 2059 movs r0, #89 ; 0x59
- 8000b5e: f7ff fdf4 bl 800074a
- 8000b62: 4603 mov r3, r0
- 8000b64: 2b00 cmp r3, #0
- 8000b66: d11b bne.n 8000ba0
- {
- do {
- if(!SD_TxDataBlock(buff, 0xFC)) break;
- 8000b68: 21fc movs r1, #252 ; 0xfc
- 8000b6a: 68b8 ldr r0, [r7, #8]
- 8000b6c: f7ff fdaa bl 80006c4
- 8000b70: 4603 mov r3, r0
- 8000b72: 2b00 cmp r3, #0
- 8000b74: d00a beq.n 8000b8c
- buff += 512;
- 8000b76: 68bb ldr r3, [r7, #8]
- 8000b78: f503 7300 add.w r3, r3, #512 ; 0x200
- 8000b7c: 60bb str r3, [r7, #8]
- } while (--count);
- 8000b7e: 683b ldr r3, [r7, #0]
- 8000b80: 3b01 subs r3, #1
- 8000b82: 603b str r3, [r7, #0]
- 8000b84: 683b ldr r3, [r7, #0]
- 8000b86: 2b00 cmp r3, #0
- 8000b88: d1ee bne.n 8000b68
- 8000b8a: e000 b.n 8000b8e
- if(!SD_TxDataBlock(buff, 0xFC)) break;
- 8000b8c: bf00 nop
-
- /* STOP_TRAN token */
- if(!SD_TxDataBlock(0, 0xFD))
- 8000b8e: 21fd movs r1, #253 ; 0xfd
- 8000b90: 2000 movs r0, #0
- 8000b92: f7ff fd97 bl 80006c4
- 8000b96: 4603 mov r3, r0
- 8000b98: 2b00 cmp r3, #0
- 8000b9a: d101 bne.n 8000ba0
- {
- count = 1;
- 8000b9c: 2301 movs r3, #1
- 8000b9e: 603b str r3, [r7, #0]
- }
- }
- }
-
- /* Idle */
- DESELECT();
- 8000ba0: f7ff fc84 bl 80004ac
- SPI_RxByte();
- 8000ba4: f7ff fcc4 bl 8000530
-
- return count ? RES_ERROR : RES_OK;
- 8000ba8: 683b ldr r3, [r7, #0]
- 8000baa: 2b00 cmp r3, #0
- 8000bac: bf14 ite ne
- 8000bae: 2301 movne r3, #1
- 8000bb0: 2300 moveq r3, #0
- 8000bb2: b2db uxtb r3, r3
-}
- 8000bb4: 4618 mov r0, r3
- 8000bb6: 3710 adds r7, #16
- 8000bb8: 46bd mov sp, r7
- 8000bba: bd80 pop {r7, pc}
- 8000bbc: 20000000 .word 0x20000000
- 8000bc0: 200000a4 .word 0x200000a4
-
-08000bc4 :
-#endif /* _USE_WRITE */
-
-/* ioctl */
-DRESULT SD_disk_ioctl(BYTE drv, BYTE ctrl, void *buff)
-{
- 8000bc4: b590 push {r4, r7, lr}
- 8000bc6: b08b sub sp, #44 ; 0x2c
- 8000bc8: af00 add r7, sp, #0
- 8000bca: 4603 mov r3, r0
- 8000bcc: 603a str r2, [r7, #0]
- 8000bce: 71fb strb r3, [r7, #7]
- 8000bd0: 460b mov r3, r1
- 8000bd2: 71bb strb r3, [r7, #6]
- DRESULT res;
- uint8_t n, csd[16], *ptr = buff;
- 8000bd4: 683b ldr r3, [r7, #0]
- 8000bd6: 623b str r3, [r7, #32]
- WORD csize;
-
- /* pdrv should be 0 */
- if (drv) return RES_PARERR;
- 8000bd8: 79fb ldrb r3, [r7, #7]
- 8000bda: 2b00 cmp r3, #0
- 8000bdc: d001 beq.n 8000be2
- 8000bde: 2304 movs r3, #4
- 8000be0: e113 b.n 8000e0a
- res = RES_ERROR;
- 8000be2: 2301 movs r3, #1
- 8000be4: f887 3027 strb.w r3, [r7, #39] ; 0x27
-
- if (ctrl == CTRL_POWER)
- 8000be8: 79bb ldrb r3, [r7, #6]
- 8000bea: 2b05 cmp r3, #5
- 8000bec: d121 bne.n 8000c32
- {
- switch (*ptr)
- 8000bee: 6a3b ldr r3, [r7, #32]
- 8000bf0: 781b ldrb r3, [r3, #0]
- 8000bf2: 2b01 cmp r3, #1
- 8000bf4: d009 beq.n 8000c0a
- 8000bf6: 2b02 cmp r3, #2
- 8000bf8: d00d beq.n 8000c16
- 8000bfa: 2b00 cmp r3, #0
- 8000bfc: d115 bne.n 8000c2a
- {
- case 0:
- SD_PowerOff(); /* Power Off */
- 8000bfe: f7ff fd1d bl 800063c
- res = RES_OK;
- 8000c02: 2300 movs r3, #0
- 8000c04: f887 3027 strb.w r3, [r7, #39] ; 0x27
- break;
- 8000c08: e0fd b.n 8000e06
- case 1:
- SD_PowerOn(); /* Power On */
- 8000c0a: f7ff fcd5 bl 80005b8
- res = RES_OK;
- 8000c0e: 2300 movs r3, #0
- 8000c10: f887 3027 strb.w r3, [r7, #39] ; 0x27
- break;
- 8000c14: e0f7 b.n 8000e06
- case 2:
- *(ptr + 1) = SD_CheckPower();
- 8000c16: 6a3b ldr r3, [r7, #32]
- 8000c18: 1c5c adds r4, r3, #1
- 8000c1a: f7ff fd1b bl 8000654