Merge pull request #13445 from rajkan01/storage_components_refactoring

Refactor storage COMPONENT_xx directory
pull/13399/head
Martin Kojtal 2020-08-21 10:40:49 +01:00 committed by GitHub
commit 8493200fe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;