Commit Graph

310 Commits

Author SHA1 Message Date
Xiao Xufeng
3d76ced5bb fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-08-31 01:37:44 +08:00
sonika.rathi
310502e340 fix(storage): mark storage pytest apps flaky in CI 2026-07-31 08:54:24 +02:00
Samuel Obuch
c33de7ac03 docs(jtag-debugging): add semihosting chapter
Co-authored-by: Shen Mengjing <shenmengjing@espressif.com>
Co-authored-by: Zhang Shu Xian <zhangshuxian@espressif.com>
2026-06-22 13:14:12 +02:00
Martin Vychodil
bc8b411422 Merge branch 'bugfix/nvs-bootloader-pytest-app-log_v5.5' into 'release/v5.5'
test(nvs_bootloader): mark nvs bootloader pytest as flaky (v5.5)

See merge request espressif/esp-idf!48698
2026-05-21 20:08:31 +08:00
sonika.rathi
32cc2c243c test(nvs_bootloader): mark nvs bootloader pytest as flaky 2026-05-19 12:16:22 +02:00
sonika.rathi
964f5f9179 fix(examples): suppress perf_benchmark printf in CI 2026-05-18 11:27:46 +02:00
sonika.rathi
010c4fc448 fix(examples): add flaky reruns to nvs_rw_value pytest for CI flash 2026-05-13 13:35:36 +02:00
sonika.rathi
9897e14e86 fix(examples): rerun flaky perf benchmark spiflash test 2026-05-13 10:35:10 +02:00
harshal.patil
8121f66ec3 feat(cpu_region_protect): Extend PMP memprot for ESP32-P4 V3 2026-05-08 12:43:26 +05:30
morris
962b4687b7 Merge branch 'fix/p4_eco5_enable_special_test_v5.5' into 'release/v5.5'
fix(ci): p4 eco5 enable special test v5.5

See merge request espressif/esp-idf!47550
2026-04-27 10:41:53 +08:00
wanckl
5d37003c47 ci(p4): p4 eco5 enable parts of special tests 2026-04-24 15:09:56 +08:00
Adam Múdry
b70607c08b fix(sdmmc): Multi-block read/writes support refactor + tests and documentation added 2026-04-13 16:17:39 +02:00
Alexey Lapshin
0b3929d0d9 feat(esp_libc): add full support for picolibc 2026-01-30 23:39:53 +07:00
Jiang Jiang Jian
ec8bd67b0b Merge branch 'fix/fatfs_pytest_expecting_typo_v5.5' into 'release/v5.5'
fix(sd): Fixed typo in pytest output expectation (v5.5)

See merge request espressif/esp-idf!44883
2026-01-22 19:28:00 +08:00
Martin Vychodil
bc31174c58 Merge branch 'feat/nvs_iteration_statistics_examples_v5.5' into 'release/v5.5'
feat(examples/storage): add nvs statistics and iteration examples (v5.5)

See merge request espressif/esp-idf!43661
2026-01-20 20:09:39 +08:00
Adam Múdry
3d23fff7e2 fix(examples): Make sd_card examples depend on fatfs component 2026-01-16 11:43:26 +01:00
Jiang Jiang Jian
0fd9f0aa93 Merge branch 'feat/sdspi_option_to_disable_waiting_for_miso_poll_busy_v5.5' into 'release/v5.5'
feat(sdspi): Add an option to modify the waiting time for MISO before sending next command (v5.5)

See merge request espressif/esp-idf!42445
2026-01-16 14:24:53 +08:00
Martin Havlik
15c9aaf3d5 feat(examples/storage): Add NVS iteration example
Add a new example showcasing iterating over NVS entries
of a specific (or any) type, and the info to be obtained from therein.
2025-11-25 15:22:10 +01:00
Martin Havlik
bce129d1ae feat(examples/storage): Add NVS statistics example
Add a new example showcasing how to obtain and interpret statistics
about the usage of an NVS partition.

Also demonstrates how stats change after writing some key-value pairs
in 2 separate namespaces.
2025-11-25 15:21:54 +01:00
armando
304ba1655b fix check test scripts build issue 2025-11-20 11:33:36 +08:00
armando
cdff2570c7 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-20 11:33:36 +08:00
Adam Múdry
b51a9d5965 feat(sdspi): Add an option to modify wait time for MISO before sending next command
Closes https://github.com/espressif/esp-idf/issues/16909
2025-10-15 20:27:30 +08:00
Jiang Jiang Jian
9aa8a1674f Merge branch 'feat/perf_benchmark_support_esp32p4_v5.5' into 'release/v5.5'
feat(storage): Update emmc and perf_benchmark example to work with ESP32-P4 (v5.5)

See merge request espressif/esp-idf!40715
2025-07-24 20:17:17 +08:00
Adam Múdry
5f4eb68c79 feat(storage): Update emmc and perf_benchmark example to work with ESP32-P4 2025-07-21 01:31:12 +02:00
Adam Múdry
4035c8418a fix(storage): Fix storage examples readmes mentioning espotool 2025-06-30 11:19:31 +02:00
Adam Múdry
917755af70 feat(storage): Bump LittleFS to 1.20.0 2025-06-30 11:19:31 +02:00
armando
1cc377a373 fix(sd): fixed menuconfig multi pin definitions issue 2025-05-21 12:43:49 +08:00
Martin Vychodil
d69378cdd5 Merge branch 'update/nvs_example' into 'master'
refactor(nvs_examples): refactor nvs storage examples and add nvs_console example

See merge request espressif/esp-idf!37978
2025-04-07 16:27:06 +08:00
sonika.rathi
b077caeebc refactor(examples/storage): update document links 2025-04-03 14:21:11 +02:00
sonika.rathi
f1ff9e1afc refactor(examples/storage): add nvs_console example 2025-04-03 12:39:20 +02:00
sonika.rathi
24065c6bbd refactor(examples/storage): update nvs_rw_blob and nvs_rw_value examples 2025-04-03 12:39:20 +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
wanckl
51873d46aa feat(driver_spi): add h21 spi drivers supports 2025-04-03 11:27:29 +08:00
Chen Ji Chang
c3a3cc8657 Merge branch 'feat/h4_enable_ci_build' into 'master'
feat(esp32h4): enable ESP32H4 ci build

Closes IDF-12332

See merge request espressif/esp-idf!37921
2025-03-31 23:49:48 +08:00
Chen Jichang
6c4271d4bb feat(esp32h4): disable unsupported build 2025-03-28 14:41:29 +08:00
Chen Jichang
c34b4eb882 feat(esp32h4): enable ESP32H4 ci build 2025-03-28 14:41:28 +08:00
Adam Múdry
4a6b99bc4a feat(nvs): Optimize read-only NVS loading 2025-03-27 12:42:04 +01:00
Adam Múdry
851e869bb2 fix: parttool print subprocess output on fail 2025-03-27 15:50:27 +08:00
Adam Múdry
d8ebca368c feat(nvs): Allow read-only NVS partitions smaller than 0x3000
E.g. for factory settings data

Closes https://github.com/espressif/esp-idf/issues/15317
2025-03-27 15:50:27 +08:00
Roland Dobai
62ce56c542 Merge branch 'fix/fix_kconfig_files' into 'master'
fix(kconfig): Fix issues with Kconfig files

See merge request espressif/esp-idf!36726
2025-03-07 18:24:06 +08:00
igor.udot
daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
Jan Beran
2ccbb2f91d fix(kconfig): Fix issues with Kconfig files 2025-03-03 13:02:41 +01:00
Adam Múdry
fcb1e8ad5c test: Re-enable perf_benchmark test for C61 2025-02-18 13:53:56 +01:00
gaoxu
5ef4f20778 feat(esp32h21): disable unsupported build test 2025-02-06 15:47:51 +08:00
harshal.patil
3b7d71eca2 feat(examples): Extend the bootloader_nvs example to support encrypted NVS reads 2025-01-29 18:51:29 +05:30
Marek Fiala
2c814ef2fa feat(tools): Enforce utf-8 encoding with open() function 2024-12-27 17:12:21 +08:00
Radek Tandler
5b15320600 Merge branch 'bugfix/storage_generic_pytests' into 'master'
fix(ci): Removed storage related entries in known generate test child pipeline warnings

See merge request espressif/esp-idf!35738
2024-12-25 18:37:14 +08:00
radek.tandler
91b231adf6 fix(storage/nvs): Fixed failing test cases in example folder 2024-12-20 19:41:01 +01:00
radek.tandler
df31bc6fdd fix(ci): Removed storage related ignore warnings 2024-12-20 19:40:33 +01:00
Tomáš Rohlínek
0fe0637cfe feat(storage/examples): bump littlefs version to 1.16.0 2024-12-19 14:11:15 +01:00