Browse Source

platformio project structure

main
Hendrik Langer 4 years ago
parent
commit
4d6fb16b1c
  1. 25
      content/snippets/esp32/platformio/index.en.md

25
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
```

Loading…
Cancel
Save