FAT project settings

Configure project Menu > View > Command Palette > Type: “ESP-IDF: SDK Configuration editor” (or use CTRL+E then G)Wait for it to load Scroll down to the “FAT Filesystem support” section

Read More

.USB memory stick general

Documentation Espressif USB Host USB Host MSC (Mass Storage Class) Driver USB Mass Storage Class example Espressif sample project ESP-IDF sample project > USB > host > msc You can use this to prove your hardware works with the USB memory stick. Adding USB MSC to an existing project Adding the component See https://components.espressif.com/components/espressif/usb_host_msc and […]

Read More

Encryption libraries

ESP-IDF comes with the mbedtls library. Getting started with Mbed TLS. Apparently, you can also swap in wolfSSL instead – see here.

Read More

Long file names

There is a “ESP-IDF: SDK Configuration editor” setting to enable Long filename support. Open menuconfig (see here for how to) Component config > FAT Filesystem support > Long filename support Choosing heap or stack to store long filenames? Both are stored in RAM so arguably it doesn’t matter too much. A general guide though is […]

Read More

.SD/MMC Card general

Documentation SD/SDIO/MMC Driver FAT Filesystem Support FatFs library API Support Good, startoff with the Espressif sample project as a way to get up and running writing and reading a card simply. Supports 1bit and 4bit SD card interfaces. Raw Access The API provides functions that can read and write sectors directly if you don’t want […]

Read More

eMMC memory

From the protocol layer’s perspective, eMMC memory chips behave exactly like SD memory cards. The terminology for SD cards can still be applied to eMMC due to the similarity of the protocol. See here.

Read More