Skip to content

Commit 8e8b5c0

Browse files
committed
Create README.md
1 parent 18bb3c4 commit 8e8b5c0

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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+

0 commit comments

Comments
 (0)