Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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;
40
mtd_dev_t
*
dev
;
41
mutex_t
lock
;
42
}
lwext4_desc_t
;
43
47
extern
const
vfs_file_system_t
lwext4_file_system
;
48
49
#ifdef __cplusplus
50
}
51
#endif
52
lwext4_file_system
const vfs_file_system_t lwext4_file_system
The littlefs vfs driver.
mutex.h
Mutex for thread synchronization.
lwext4_desc_t
lwext4 descriptor for vfs integration
Definition:
lwext4_fs.h:35
lwext4_desc_t::lock
mutex_t lock
mutex
Definition:
lwext4_fs.h:41
lwext4_desc_t::dev
mtd_dev_t * dev
mtd device to use
Definition:
lwext4_fs.h:40
mtd_dev_t
MTD device descriptor.
Definition:
mtd.h:111
mutex_t
Mutex structure.
Definition:
mutex.h:36
vfs_file_system_t
A file system driver.
Definition:
vfs.h:386
Generated on Mon Nov 24 2025 18:43:16 by
1.9.1