Commit Graph

10 Commits

Author SHA1 Message Date
Jiang Jiang Jian
474d57d858 Merge branch 'docs/clarify-storage-example-readmes_v6.0' into 'release/v6.0'
docs(storage): clarify example READMEs and when to use each (v6.0)

See merge request espressif/esp-idf!52038
2026-09-03 19:54:21 +08:00
sonika.rathi
c7f7584c7f docs(storage): clarify example READMEs and when to use each
Update storage example docs so FATFS getting_started and wear_levelling
are clearly distinct, refresh the storage index paths, and add
"When to use this example" sections across storage examples.
2026-08-25 12:59:26 +02:00
Adam Múdry
109cd54902 feat(esp_partition): Add esp_partition_flash_binary() CMake function
Add a new CMake function esp_partition_flash_binary() that provides a
unified API for registering partition data binaries to be flashed. It
replaces the direct esptool_py_flash_target calls scattered across
components (spiffs, fatfs, nvs_flash) with a single function that:

- Resolves partition offset from the partition table automatically
- Determines encryption requirements (auto-detect or ALWAYS_PLAINTEXT)
- Creates per-partition flash targets (e.g. idf.py <partition>-flash)
- Optionally includes the binary in `idf.py flash` via FLASH_IN_PROJECT

On the linux target, the function registers binaries for pre-loading
into the emulated flash. A build-time manifest (linux_flash_data.txt)
is generated via file(GENERATE), and partition_linux.c reads it at
runtime to copy each binary into the memory-mapped flash buffer at
the correct offset.

The partition_ops example is updated to use the new function and
includes a custom_partition with pre-built data to demonstrate the
full workflow, including on the linux target.
2026-08-06 14:35:47 +02:00
Jiang Jiang Jian
fd4f77c8e6 Merge branch 'bugfix/nvs-bootloader-pytest-app-log_v6.0' into 'release/v6.0'
test(nvs_bootloader): mark nvs bootloader pytest as flaky (v6.0)

See merge request espressif/esp-idf!48697
2026-06-29 15:31:13 +08:00
Jiang Guang Ming
6eb7f181a2 feat(mbedtls): enable ROM mbedTLS pytest with esp32c2 rev2.0 2026-05-25 10:07:47 +08:00
sonika.rathi
9dd56badbd test(nvs_bootloader): mark nvs bootloader pytest as flaky 2026-05-19 12:15:20 +02:00
sonika.rathi
9535bbe976 fix(examples): hard-reset before nvs_bootloader pytest expectations 2026-04-29 10:26:27 +02:00
Ashish Sharma
a088d2ccdc feat(mbedtls): fix build errors with PSA migration 2025-12-18 21:18:58 +08:00
Marek Fiala
9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
sonika.rathi
e4e56a4687 refactor(examples/storage): move all the nvs examples to 'examples/storeage/nvs' directory 2025-04-03 12:39:20 +02:00