- Notifications
You must be signed in to change notification settings - Fork 13.3k
Integrated handling for filesystem and gzipped binaries #8266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 19 commits
28c79fa
8c7445b
4f6340e
5509ba4
71d4213
62ca3b6
6091823
158484f
cf02d41
dd93598
f39b549
43f9e21
6849302
d86910c
ea98d66
fc74ac7
b827489
8c06e83
cbc8f4d
87eacb4
32d715a
3380148
311c9c3
b7751e3
9d1ded0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
| @@ -192,8 +192,55 @@ in the specific subdirectory. This mimics the POSIX behavior for | |
directory traversal most C programmers are used to. | ||
| ||
| ||
Uploading files to file system | ||
------------------------------ | ||
Uploading files to file system (new) | ||
| ||
------------------------------------ | ||
| ||
Since PullRequest #8266 Filsystem generation is integrated into the | ||
“compile and/or upload” action of Arduino. | ||
There is no need to download any additional tool. | ||
| ||
This integration is done by adding 3 entries (“Upload”, "Filesystem" and “Export”) | ||
to the tools-menu. These entries are presented just like any other options | ||
for esp8266 (“Upload speed” ... “Non-32-Bit Access”) and placed right after | ||
the last. | ||
d-a-v marked this conversation as resolved. Outdated Show resolved Hide resolved | ||
| ||
Menu-Entry “Upload” let You choose between: | ||
d-a-v marked this conversation as resolved. Outdated Show resolved Hide resolved | ||
- Sketch | ||
- Filesystem | ||
- Both | ||
This Menu controls which parts are uploaded when You choose "Sketch->Upload" | ||
d-a-v marked this conversation as resolved. Outdated Show resolved Hide resolved | ||
(Ctrl-U) from the Arduino Menu. | ||
| ||
Menu-Entry “Filesystem” let You choose between: | ||
- Off | ||
- LitteFs | ||
- SPIFFS | ||
This Menu controls which Fs will be created when You choose "Sketch->Compile" | ||
(Ctrl-R) from the Arduino Menu. The Fs will always be created inside the | ||
"export" dir (see below). | ||
| ||
Menu-Entry “Export” let You choose between: | ||
- Off | ||
- .bin & .bin.signed) | ||
- Create & Export gzipped Binaries too | ||
This Menu controls export & generation of (extra) Sketch-Binaries. | ||
| ||
The "export" dir | ||
................ | ||
After a (successful) compile, the files will be exported to a subdir | ||
“bin/{variant}” of Your sketch directory | ||
(“{variant}” replaced with the name of the board as shown behind | ||
“Tools -> Board:”). | ||
Signed variants of all Binaries are generated similar to the | ||
“automatic signing” done for normal sketch binary. | ||
| ||
As valid for the "old" tools mentioned below, it is nessesary to place | ||
files you want to be inside the generated file system into a directory | ||
named ``data`` inside Your sketch directory. | ||
| ||
| ||
Uploading files to file system (old tools) | ||
------------------------------------------ | ||
| ||
*ESP8266FS* is a tool which integrates into the Arduino IDE. It adds a | ||
menu item to *Tools* menu for uploading the contents of sketch data | ||
|
Uh oh!
There was an error while loading. Please reload this page.