Back to Esp Idf

Building

components/spiffs/test_apps/README.md

6.1-dev1.0 KB
Original Source
Supported TargetsESP32ESP32-C2ESP32-C3ESP32-C5ESP32-C6ESP32-C61ESP32-H2ESP32-H21ESP32-H4ESP32-P4ESP32-S2ESP32-S3ESP32-S31

This is a test app for spiffs component.

Building

Several configurations are provided as sdkconfig.ci.XXX and serve as a template.

Example with configuration "release" for target ESP32

bash
rm -rf sdkconfig build
idf.py -DIDF_TARGET=esp32 -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.ci.release" build

Running

To run locally:

bash
idf.py flash monitor

The tests will be executed and the summary will be printed:

-----------------------
21 Tests 0 Failures 0 Ignored
OK

Note, when the Python test script is executed in internal CI, it will test each configuration one by one. When executing this script locally, it will use whichever binary is already built and available in build directory.