mirror of https://github.com/ARMmbed/mbed-os.git
Filesystem: Integrate filesystem classes with common mbed.h entry point
parent
eea5c9f08a
commit
c6b1fcbfa5
|
|
@ -0,0 +1,39 @@
|
||||||
|
/* filesystem
|
||||||
|
* Copyright (c) 2016 ARM Limited
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
#ifndef MBED_FILESYSTEM_API_H
|
||||||
|
#define MBED_FILESYSTEM_API_H
|
||||||
|
/** \addtogroup filesystem */
|
||||||
|
/** @{*/
|
||||||
|
|
||||||
|
|
||||||
|
// Standard types
|
||||||
|
#include "platform/platform.h"
|
||||||
|
|
||||||
|
// FileSystem classes
|
||||||
|
#include "filesystem/FileSystem.h"
|
||||||
|
#include "filesystem/File.h"
|
||||||
|
#include "filesystem/Dir.h"
|
||||||
|
|
||||||
|
// BlockDevice classes
|
||||||
|
#include "bd/BlockDevice.h"
|
||||||
|
#include "bd/BlockDevice.h"
|
||||||
|
#include "bd/ChainingBlockDevice.h"
|
||||||
|
#include "bd/SlicingBlockDevice.h"
|
||||||
|
#include "bd/HeapBlockDevice.h"
|
||||||
|
|
||||||
|
|
||||||
|
/** @}*/
|
||||||
|
#endif
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"name": "filesystem",
|
||||||
|
"config": {
|
||||||
|
"present": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
4
mbed.h
4
mbed.h
|
|
@ -47,6 +47,10 @@
|
||||||
#include "events/mbed_events.h"
|
#include "events/mbed_events.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if MBED_CONF_FILESYSTEM_PRESENT
|
||||||
|
#include "filesystem/mbed_filesystem.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "platform/mbed_toolchain.h"
|
#include "platform/mbed_toolchain.h"
|
||||||
#include "platform/platform.h"
|
#include "platform/platform.h"
|
||||||
#include "platform/mbed_application.h"
|
#include "platform/mbed_application.h"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue