Skip to content
This repository was archived by the owner on Aug 19, 2021. It is now read-only.

Using mbed.h instead of direct include of blockdevice #38

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/sstest.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#include "BlockDevice.h"
#include "mbed.h"

BlockDevice* sstest_indirection();
2 changes: 1 addition & 1 deletion options/fat_filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include "BlockDevice.h"
#include "mbed.h"
#include "FATFileSystem.h"

FATFileSystem* _filesystem_selector_FAT(const char* mount, BlockDevice* bd, unsigned int instance_num) {
Expand Down
2 changes: 1 addition & 1 deletion options/fat_filesystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef STORAGE_SELECTOR_FAT_FILESYSTEM_H
#define STORAGE_SELECTOR_FAT_FILESYSTEM_H

#include "BlockDevice.h"
#include "mbed.h"
#include "FATFileSystem.h"

FATFileSystem* _filesystem_selector_FAT(const char* mount, BlockDevice* bd, unsigned int instance_num);
Expand Down
2 changes: 1 addition & 1 deletion options/heap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include "HeapBlockDevice.h"
#include "mbed.h"

HeapBlockDevice* _storage_selector_HEAP() {
static HeapBlockDevice bd(MBED_CONF_STORAGE_SELECTOR_HEAP_SIZE);
Expand Down
2 changes: 1 addition & 1 deletion options/heap.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef _HEAP_H_
#define _HEAP_H_

#include "HeapBlockDevice.h"
#include "mbed.h"

HeapBlockDevice* _storage_selector_HEAP();

Expand Down
2 changes: 1 addition & 1 deletion options/little_filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include "BlockDevice.h"
#include "mbed.h"
#include "LittleFileSystem.h"

LittleFileSystem* _filesystem_selector_LITTLE(const char* mount, BlockDevice* bd, unsigned int instance_num) {
Expand Down
2 changes: 1 addition & 1 deletion options/little_filesystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef STORAGE_SELECTOR_LITTLE_FILESYSTEM_H
#define STORAGE_SELECTOR_LITTLE_FILESYSTEM_H

#include "BlockDevice.h"
#include "mbed.h"
#include "LittleFileSystem.h"

LittleFileSystem* _filesystem_selector_LITTLE(const char* mount, BlockDevice* bd, unsigned int instance_num);
Expand Down
2 changes: 1 addition & 1 deletion storage-selector.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef _STORAGE_SELECTOR_H_
#define _STORAGE_SELECTOR_H_

#include "BlockDevice.h"
#include "mbed.h"
#include "filesystem/FileSystem.h"

BlockDevice* storage_selector();
Expand Down