Skip to content

Commit 489a873

Browse files
committed
Add SPIFFS docs
1 parent c6bc70d commit 489a873

File tree

9 files changed

+74
-0
lines changed

9 files changed

+74
-0
lines changed
168 KB
Loading
120 KB
Loading
173 KB
Loading
171 KB
Loading
175 KB
Loading
173 KB
Loading
185 KB
Loading
189 KB
Loading
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: SPIFFS Partition on Nano ESP32
3+
description: Get started with the SPIFFS partition scheme on the Nano ESP32.
4+
author: Hannes Siebeneicher
5+
hardware:
6+
- hardware/03.nano/boards/nano-esp32
7+
tags: [ESP32, SPIFFS, IDE]
8+
---
9+
10+
The SPIFFS (Serial Peripheral Interface Flash File System) is a file system designed to be used with NOR flash memory devices and microcontrollers that support the Serial Peripheral Interface (SPI) protocol such as the ESP32 found on the [Nano ESP32](https://store.arduino.cc/products/nano-esp32?queryID=undefined).
11+
12+
***Before proceeding with the SPIFFS file system setup on Nano ESP, please be aware that the mounting instructions mentioned in a comment on the code from the packaged built-in example are tailored for specific older IDE versions such as IDE 1.8. These instructions might not be relevant to IDE 2.0, as it does not support the utilization of custom tools, unnecessary in this case.***
13+
14+
## Set Up SPIFFS File System
15+
16+
Start by opening the **SPIFFS_Test example** by going to:
17+
18+
- File > Examples > SPIFFS > SPIFFS_Test
19+
20+
![Open Example](./assets/openExample.png)
21+
22+
Select the correct **Partition Scheme** by clicking:
23+
24+
- Tools > Partition Scheme > With SPIFFS partition (advanced)
25+
26+
![Select SPIFFS](./assets/selectSPIFFS.png)
27+
28+
Prepare your following these steps:
29+
30+
- Take your **unplugged** board connect a jumper cable between the **GND** and **B1** pins.
31+
32+
- **Plug it in** and the RGB LED will turn on with a green or blue color.
33+
34+
- While the **GND** and **B1** pins are shorted, press the white **RST** button on the top of the board to reset the board to **firmware download mode**.
35+
36+
- **Remove** the jumper cable. The RGB LED should stay on, in a purple or yellow color.
37+
38+
Select the correct port:
39+
40+
![Select Port](./assets/selectBoard.png)
41+
42+
***If your board shows up as a generic ESP32 device go to Tools > Board and select "Arduino Nano ESP32" as well as the correct port under Tools > Port.***
43+
44+
Select the **Esptool as Programmer** by going to:
45+
46+
- Tools > Programmer > Esptool
47+
48+
![Select Programmer](./assets/selectProgrammer.png)
49+
50+
**Burn the bootloader** by clicking:
51+
52+
- Tools > Burn Bootloader
53+
54+
![Burn Bootloader](./assets/burnBootloader.png)
55+
56+
We have now successfully changed the partition scheme and the final step is to upload a sketch using programmer and reset the board.
57+
58+
Upload the sketch **Using Programmer** by going to:
59+
60+
- Sketch > Upload Using Programmer
61+
62+
![Upload Using Programmer](./assets/uploadProgrammer.png)
63+
64+
After the successfull upload press the white **RST** button on the top of the board. You should see two ports in the drop-down menu, one showing a USB symbol and another one showing a cube.
65+
66+
Select the port next to the USB symbol.
67+
68+
![Select the Correct Port](./assets/twoPorts.png)
69+
70+
Open the serial monitor and you should see the following output:
71+
72+
![Serial Output](./assets/serialOutput.png)
73+
74+
***Note: It might take a short while for the messages to be printed. If you don't see any messages after one minute repeat the process.***

0 commit comments

Comments
 (0)