File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ # mkspiffs
2
+ Tool to build and unpack [ SPIFFS] ( https://github.com/pellepl/spiffs ) images.
3
+
4
+
5
+
6
+ ## Usage
7
+
8
+ ```
9
+
10
+ ./make_spiffs {-c <pack_dir>|-l} [-s <number>] [--] [--version] [-h]
11
+ <image_file>
12
+
13
+
14
+ Where:
15
+
16
+ -c <pack_dir>, --create <pack_dir>
17
+ (OR required) create spiffs image from a directory
18
+ -- OR --
19
+ -l, --list
20
+ (OR required) list spiffs image to a directory
21
+
22
+
23
+ -s <number>, --fs_size <number>
24
+ fs image size, in bytes
25
+
26
+ --, --ignore_rest
27
+ Ignores the rest of the labeled arguments following this flag.
28
+
29
+ --version
30
+ Displays version information and exits.
31
+
32
+ -h, --help
33
+ Displays usage information and exits.
34
+
35
+ <image_file>
36
+ (required) spiffs image file
37
+
38
+ ```
39
+
40
+ ## License
41
+
42
+ MIT
43
+
44
+ ## To do
45
+
46
+ - Error handling
47
+ - Block and page size are hardcoded
48
+ - Determing the image size automatically when opening a file
49
+ - Unpack
50
+ - Automated builds
51
+ - Code cleanup
52
+
You can’t perform that action at this time.
0 commit comments