Refactor storage COMPONENT_xx directory

pull/13445/head
Rajkumar Kanagaraj 2020-08-17 16:42:56 +01:00
parent 83fa12183b
commit bf58572c4d
26 changed files with 10 additions and 10 deletions

View File

@ -32,23 +32,23 @@
#define TRACE_GROUP "KVCFG"
#if COMPONENT_FLASHIAP
#include "storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.h"
#include "FlashIAPBlockDevice.h"
#endif
#if COMPONENT_QSPIF
#include "storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.h"
#include "QSPIFBlockDevice.h"
#endif
#if COMPONENT_SPIF
#include "storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h"
#include "SPIFBlockDevice.h"
#endif
#if COMPONENT_DATAFLASH
#include "storage/blockdevice/COMPONENT_DATAFLASH/DataFlashBlockDevice.h"
#include "DataFlashBlockDevice.h"
#endif
#if COMPONENT_SD
#include "storage/blockdevice/COMPONENT_SD/SDBlockDevice.h"
#include "SDBlockDevice.h"
#if (STATIC_PINMAP_READY)
const spi_pinmap_t static_spi_pinmap = get_spi_pinmap(MBED_CONF_SD_SPI_MOSI, MBED_CONF_SD_SPI_MISO, MBED_CONF_SD_SPI_CLK, NC);

View File

@ -21,19 +21,19 @@
#if COMPONENT_SPIF
#include "storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h"
#include "SPIFBlockDevice.h"
#endif
#if COMPONENT_QSPIF
#include "storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.h"
#include "QSPIFBlockDevice.h"
#endif
#if COMPONENT_DATAFLASH
#include "storage/blockdevice/COMPONENT_DATAFLASH/DataFlashBlockDevice.h"
#include "DataFlashBlockDevice.h"
#endif
#if COMPONENT_SD
#include "storage/blockdevice/COMPONENT_SD/SDBlockDevice.h"
#include "SDBlockDevice.h"
#if (STATIC_PINMAP_READY)
const spi_pinmap_t static_spi_pinmap = get_spi_pinmap(MBED_CONF_SD_SPI_MOSI, MBED_CONF_SD_SPI_MISO, MBED_CONF_SD_SPI_CLK, NC);
@ -41,7 +41,7 @@ const spi_pinmap_t static_spi_pinmap = get_spi_pinmap(MBED_CONF_SD_SPI_MOSI, MBE
#endif
#if COMPONENT_FLASHIAP
#include "storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.h"
#include "FlashIAPBlockDevice.h"
#endif
using namespace mbed;