From 4d6fb16b1c2a2803de6f91862bd4747cd1f4ce18 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sun, 3 May 2020 13:44:52 +0200 Subject: [PATCH] platformio project structure --- content/snippets/esp32/platformio/index.en.md | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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 +```