Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos mbed-src
Fork of DMSupport by
Diff: DMBoard.h
- Revision:
- 37:07659b5d90ce
- Parent:
- 36:92193dc72995
--- a/DMBoard.h Fri Mar 20 14:44:06 2015 +0000
+++ b/DMBoard.h Mon Mar 23 13:45:16 2015 +0000
@@ -148,6 +148,32 @@
*/
Registry* registry() { return &Registry::instance(); }
#endif
+
+#if defined(DM_BOARD_USE_MCI_FS)
+ /** Returns the MCI File System instance.
+ *
+ * Can be used to call e.g. cardInserted().
+ *
+ * @returns
+ * The file system instance
+ */
+ MCIFileSystem* getMciFS() { return &_mcifs; }
+#else
+ void* getMciFS() { return NULL; }
+#endif
+#if defined(DM_BOARD_USE_QSPI_FS)
+ /** Returns the QSPI File System instance.
+ *
+ * Can be used to call e.g. isformatted() and format().
+ *
+ * @returns
+ * The file system instance
+ */
+ QSPIFileSystem* getQspiFS() { return &_qspifs; }
+#else
+ void* getQspiFS() { return NULL; }
+#endif
+
private:
