|
@ -99,7 +99,11 @@ platformio device monitor |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
## SPIFFS |
|
|
## SPIFFS |
|
|
create folder `data/` |
|
|
```shell |
|
|
|
|
|
mkdir data/ |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
place your files in the directory `data/` |
|
|
|
|
|
|
|
|
```shell |
|
|
```shell |
|
|
platformio run --target uploadfs |
|
|
platformio run --target uploadfs |
|
@ -141,3 +145,22 @@ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
|
|
|
|
|
|
|
|
0. You just DO WHAT THE FUCK YOU WANT TO. |
|
|
0. You just DO WHAT THE FUCK YOU WANT TO. |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Project structure |
|
|
|
|
|
|
|
|
|
|
|
```text {hl_lines=["2-5",7]} |
|
|
|
|
|
new_project/ |
|
|
|
|
|
├── README.md |
|
|
|
|
|
├── LICENSE |
|
|
|
|
|
├── platformio.ini |
|
|
|
|
|
├── .gitignore |
|
|
|
|
|
├── src |
|
|
|
|
|
│ └── main.cpp |
|
|
|
|
|
├── data |
|
|
|
|
|
├── include |
|
|
|
|
|
│ └── README |
|
|
|
|
|
├── lib |
|
|
|
|
|
│ └── README |
|
|
|
|
|
└── test |
|
|
|
|
|
└── README |
|
|
|
|
|
``` |
|
|