You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/configuration/Storage.md
+53-99Lines changed: 53 additions & 99 deletions
Original file line number
Diff line number
Diff line change
@@ -11,122 +11,76 @@ Name: filesystem.present
11
11
Macro name: MBED_CONF_FILESYSTEM_PRESENT
12
12
Value: 1 (set by library:filesystem)
13
13
14
-
Name: littlefs.read_size
15
-
Description:
16
-
Minimum size of a block read. This determines the size of read buffers.
17
-
This may be larger than the physical read size to improve performance
18
-
by caching more of the block device.
19
-
20
-
By default, this is set to 64 bytes, which we determined experimentally.
21
-
Note that the LittleFS uses the block device's read size if it is
22
-
larger.
23
-
Defined by: library:littlefs
24
-
Macro name: MBED_LFS_READ_SIZE
25
-
Value: 64 (set by library:littlefs)
26
-
Name: littlefs.prog_size
27
-
Description:
28
-
Minimum size of a block program. This determines the size of the program
29
-
buffers. This may be larger than the physical program size to improve
30
-
performance by caching more of the block device.
31
-
32
-
By default, this is set to 64 bytes, which we determined experimentally.
33
-
Note that the LittleFS uses the block device's program size if it is
34
-
larger.
35
-
Defined by: library:littlefs
36
-
Macro name: MBED_LFS_PROG_SIZE
37
-
Value: 64 (set by library:littlefs)
38
14
Name: littlefs.block_size
39
-
Description:
40
-
Minimum size of an erasable block. This does not affect RAM consumption
41
-
and may be larger than the physical erase size. However, this needs to
42
-
be small because each file takes up an entire block.
43
-
44
-
By default, this is set to 512 bytes. Note that the LittleFS uses the
45
-
block device's erase size if it is larger.
15
+
Description: Size of an erasable block. This does not impact ram consumption and may be larger than the physical erase size. However, this should be kept small as each file currently takes up an entire block.
46
16
Defined by: library:littlefs
47
17
Macro name: MBED_LFS_BLOCK_SIZE
48
18
Value: 512 (set by library:littlefs)
49
-
Name: littlefs.lookahead
50
-
Description:
51
-
Number of blocks to lookahead during block allocation. A larger
52
-
lookahead reduces the number of passes required to allocate a block.
53
-
The lookahead buffer requires only 1 bit per block, so it can be large
54
-
with little effect on RAM. This is a multiple of 32.
55
-
56
-
By default, this is set to 512 blocks (which use 64 bytes of RAM),
57
-
which we determined experimentally.
58
-
Defined by: library:littlefs
59
-
Macro name: MBED_LFS_LOOKAHEAD
60
-
Value: 512 (set by library:littlefs)
61
-
Name: littlefs.enable_info
62
-
Description:
63
-
Enables information logging (true = enabled, false = disabled,
64
-
null = disabled) in release builds.
65
-
66
-
By default, information logging is disabled.
19
+
Name: littlefs.enable_assert
20
+
Description: Enables asserts, true = enabled, false = disabled, null = disabled only in release builds
By default, error logging is enabled unless you are using a release
96
-
build.
38
+
No value set
39
+
Name: littlefs.intrinsics
40
+
Description: Enable intrinsics for bit operations such as ctz, popc, and le32 conversion. Can be disabled to help debug toolchain issues
41
+
Defined by: library:littlefs
42
+
Macro name: MBED_LFS_INTRINSICS
43
+
Value: 1 (set by library:littlefs)
44
+
Name: littlefs.lookahead
45
+
Description: Number of blocks to lookahead during block allocation. A larger lookahead reduces the number of passes required to allocate a block. The lookahead buffer requires only 1 bit per block so it can be quite large with little ram impact. Should be a multiple of 32.
46
+
Defined by: library:littlefs
47
+
Macro name: MBED_LFS_LOOKAHEAD
48
+
Value: 512 (set by library:littlefs)
49
+
Name: littlefs.prog_size
50
+
Description: Minimum size of a block program. This determines the size of program buffers. This may be larger than the physical program size to improve performance by caching more of the block device.
51
+
Defined by: library:littlefs
52
+
Macro name: MBED_LFS_PROG_SIZE
53
+
Value: 64 (set by library:littlefs)
54
+
Name: littlefs.read_size
55
+
Description: Minimum size of a block read. This determines the size of read buffers. This may be larger than the physical read size to improve performance by caching more of the block device.
97
56
Defined by: library:littlefs
98
-
Macro name: MBED_LFS_ENABLE_ERROR
99
-
Value: null (set by library:littlefs)
57
+
Macro name: MBED_LFS_READ_SIZE
58
+
Value: 64 (set by library:littlefs)
100
59
101
-
Name: nvstore.max_keys
102
-
Description:
103
-
Maximal number of allowed NVStore keys.
104
-
Defined by: library:nvstore
105
-
Macro name: NVSTORE_MAX_KEYS
106
-
Value: 16 (set by library:nvstore)
107
60
Name: nvstore.area_1_address
108
-
Description:
109
-
Address of the first NVStore area in flash.
61
+
Description: Area 1 address
110
62
Defined by: library:nvstore
111
-
Macro name: NVSTORE_AREA_1_ADDRESS
112
-
Value: null (set by library:nvstore)
63
+
No value set
113
64
Name: nvstore.area_1_size
114
-
Description:
115
-
Size of the first NVStore area in flash.
65
+
Description: Area 1 size
116
66
Defined by: library:nvstore
117
-
Macro name: NVSTORE_AREA_1_SIZE
118
-
Value: null (set by library:nvstore)
67
+
No value set
119
68
Name: nvstore.area_2_address
120
-
Description:
121
-
Address of the second NVStore area in flash.
69
+
Description: Area 2 address
122
70
Defined by: library:nvstore
123
-
Macro name: NVSTORE_AREA_2_ADDRESS
124
-
Value: null (set by library:nvstore)
71
+
No value set
125
72
Name: nvstore.area_2_size
126
-
Description:
127
-
Size of the second NVStore area in flash.
73
+
Description: Area 2 size
128
74
Defined by: library:nvstore
129
-
Macro name: NVSTORE_AREA_2_SIZE
130
-
Value: null (set by library:nvstore)
131
-
75
+
No value set
76
+
Name: nvstore.enabled
77
+
Description: Enabled
78
+
Defined by: library:nvstore
79
+
Macro name: NVSTORE_ENABLED
80
+
Value: 1 (set by library:nvstore)
81
+
Name: nvstore.max_keys
82
+
Description: Maximal number of allowed NVStore keys
0 commit comments