diff --git a/content/snippets/esp32/platformio/index.en.md b/content/snippets/esp32/platformio/index.en.md index a260848..ac43ee2 100644 --- a/content/snippets/esp32/platformio/index.en.md +++ b/content/snippets/esp32/platformio/index.en.md @@ -99,7 +99,11 @@ platformio device monitor ``` ## SPIFFS -create folder `data/` +```shell +mkdir data/ +``` + +place your files in the directory `data/` ```shell 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. ``` + +## 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 +```