Manufacturing Utility - Espressif ESP32-S2 Programming Manual

Table of Contents

Advertisement

Chapter 2. API Reference
void ff_diskio_register_sdmmc(unsigned char pdrv,
Register SD/MMC diskio driver
Parameters
• pdrv: drive number
• card: pointer to
f_mount.
esp_err_t
ff_diskio_register_wl_partition(unsigned char pdrv,
Register spi flash partition
Parameters
• pdrv: drive number
• flash_handle: handle of the wear levelling partition.
esp_err_t
ff_diskio_register_raw_partition(unsigned char pdrv, const
Register spi flash partition
Parameters
• pdrv: drive number
• part_handle: pointer to raw flash partition.

2.5.2 Manufacturing Utility

Introduction
This utility is designed to create instances of factory NVS partition images on a per-device basis for mass manufac-
turing purposes. The NVS partition images are created from CSV files containing user-provided configurations and
values.
Please note that this utility only creates manufacturing binary images which then need to be flashed onto your devices
using:
esptool.py
Flash Download tool
the doc folder.
• Direct flash programming using custom production tools.
Prerequisites
This utility is dependent on esp-idf's NVS partition utility.
• Operating System requirements:
– Linux / MacOS / Windows (standard distributions)
• The following packages are needed to use this utility:
Python
Note:
Before using this utility, please make sure that:
• The path to Python is added to the PATH environment variable.
• You have installed the packages from requirement.txt, the file in the root of the esp-idf directory.
Espressif Systems
sdmmc_card_t
structure describing a card; card should be initialized before calling
(available on Windows only).Just download it, unzip, and follow the instructions inside
Submit Document Feedback
sdmmc_card_t
*card)
wl_handle_t
*part_handle)
700
flash_handle)
esp_partition_t
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF