Skip to content

Commit e19aef4

Browse files
committed
Made default_bd compatible with mbed-os-6.2+
1 parent fa824f7 commit e19aef4

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

default_bd.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
#include "BlockDevice.h"
99

1010
#if COMPONENT_SPIF
11-
#include "components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h"
11+
#include "SPIFBlockDevice.h"
1212
#endif
1313

1414
#if COMPONENT_QSPIF
15-
#include "components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.h"
15+
#include "QSPIFBlockDevice.h"
1616
#endif
1717

1818
#if COMPONENT_DATAFLASH
19-
#include "components/storage/blockdevice/COMPONENT_DATAFLASH/DataFlashBlockDevice.h"
19+
#include "DataFlashBlockDevice.h"
2020
#endif
2121

2222
#if COMPONENT_SD
23-
#include "components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h"
23+
#include "SDBlockDevice.h"
2424

2525
#if (STATIC_PINMAP_READY)
2626
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);

user_main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* Author: gdbeckstein
66
*/
77

8-
#include "PinNames.h"
9-
108
/** Enable serial bootloader feature by default */
119
#ifndef MBED_CONF_APP_SERIAL_BOOTLOADER_ENABLE
1210
#define MBED_CONF_APP_SERIAL_BOOTLOADER_ENABLE 1

0 commit comments

Comments
 (0)