mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #13445 from rajkan01/storage_components_refactoring
Refactor storage COMPONENT_xx directorypull/13399/head
commit
8493200fe1
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue