lwext4_fs.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2022 ML!PA Consulting GmbH
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
21 #include <stdalign.h>
22 
23 #include "vfs.h"
24 #include "mtd.h"
25 #include "mutex.h"
26 #include "ext4.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
35 typedef struct {
36  struct ext4_mountpoint mp;
37  struct ext4_blockdev bdev;
38  struct ext4_blockdev_iface iface;
43 
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
const vfs_file_system_t lwext4_file_system
The littlefs vfs driver.
Mutex for thread synchronization.
lwext4 descriptor for vfs integration
Definition: lwext4_fs.h:35
mutex_t lock
mutex
Definition: lwext4_fs.h:41
mtd_dev_t * dev
mtd device to use
Definition: lwext4_fs.h:40
MTD device descriptor.
Definition: mtd.h:111
Mutex structure.
Definition: mutex.h:36
A file system driver.
Definition: vfs.h:386