C.S.M
c7dd46e84b
fix(spi_flash): Fix spi_flash leaks release aes-xts in error path
...
(cherry picked from commit 305c5869ee )
2026-07-24 15:00:50 +08:00
Shengyu Qu
352d18b48e
fix(spi_flash): add #if check for s_mxic_set_required_regs()
...
Currently, s_mxic_set_required_regs() lacks checking for
CONFIG_SPI_FLASH_SUPPORT_MXIC_OPI_CHIP. And this causes a defined but not
used warning when MXIC flash driver is disabled in project config. So add
a #if check for this to supress warning.
Signed-off-by: Shengyu Qu <wiagn@4d2.org >
(cherry picked from commit 062c948c18 )
2026-07-24 15:00:50 +08:00
harshal.patil
dc5be9b26d
fix(esp_common/esp_fault): make ESP_FAULT_ASSERT survive optimization
...
ESP_FAULT_ASSERT(C) was silently deleted by the optimizer when C is a cached
flag/status already proven by a preceding `if (!C) return/goto`: the compiler
folds C to a constant and drops all three checks, removing the fault-injection
protection with no warning.
2026-06-22 11:38:55 +05:30
Evgeny Torbin
59f62ad15f
test: format all test scripts
2026-04-17 16:01:00 +02:00
Song Ruo Jing
5ed65cab1a
fix(flash): flash erase operation may fail to raise PMS exception
2026-04-10 15:45:24 +08:00
Xiao Xufeng
a530c91c61
fix(spi_flash): fixed overboundary check skipping of erase and write_encrypted
2026-04-02 17:19:38 +08:00
Xiao Xufeng
e2f3ee5800
refactor(spi_flash): not patching api_funcs on C3 and S3
2026-04-02 17:19:38 +08:00
wuzhenghui
f1285fc8dc
fix(esp_rom): sync spi_flash_disable/enable_cache patches to rom implementation
2026-03-10 14:26:00 +08:00
morris
bc9a96bd47
refactor(tests): add missing sdkconfig files in the driver test
2026-01-06 16:16:05 +08:00
armando
80a7d826b5
fix(cache): fixed cache sync ops concurrent call issue
...
Closes https://github.com/espressif/esp-idf/issues/18023
2025-12-25 10:01:08 +08:00
Xiao Xufeng
0cb4e3dfe1
fix(esp_flash): fixed issue of escaping boundary check
...
Also patched corresponding ROM functions
2025-06-25 01:40:40 +08:00
laokaiyao
39591137c8
ci(esp32c5): bypass the build failure
2025-06-04 11:21:28 +08:00
Armando
21bd94f116
fix(linker): fixed extern linker symbol type from int to char
2025-05-21 15:36:40 +05:30
C.S.M
2881da7024
fix(spi_flash): Add suspend check on esp32c6 and esp32h2 for some reason
2025-04-09 10:14:26 +08:00
C.S.M
0e7fa10217
fix(spi_flash): Return false directly in suspend caps check
2025-04-07 15:26:21 +08:00
C.S.M
e691cbef4d
fix(spi_flash): Fix flash encryption write verify,
...
Closes https://github.com/espressif/esp-idf/issues/15380
2025-04-07 15:26:14 +08:00
armando
9dfbc9a59c
fix(cache): fixed l2 cache suspended/frozen but l1cache triggers l2 writeback issue
2025-04-02 18:11:02 +08:00
armando
7948c53dde
Revert "fix(cache): disable branch predictor when cache freeze"
...
This reverts commit 6bb78e4573 .
2025-04-02 18:07:40 +08:00
armando
6bb78e4573
fix(cache): disable branch predictor when cache freeze
2025-03-26 18:59:37 +08:00
morris
cac01ada13
Merge branch 'fix/build_when_rom_patch_disable_v5.3' into 'release/v5.3'
...
fix(spi_flash): Fix build fail when rom_patch config disabled (backport v5.3)
See merge request espressif/esp-idf!37104
2025-02-20 13:54:38 +08:00
morris
03a2fca29d
Merge branch 'feature/flash_software_resume_v5.3' into 'release/v5.3'
...
feat(spi_flash): Add config for adding auto check status after suspend to improve performance (backport v5.3)
See merge request espressif/esp-idf!36526
2025-02-20 11:01:11 +08:00
C.S.M
1800d14dc1
refactor(spi_flash): remove redundent flash suspend check
2025-02-19 16:55:27 +08:00
C.S.M
d96f71c5cc
fix(spi_flash): Fix build fail when rom_patch config disabled,
...
Closes https://github.com/espressif/esp-idf/issues/15229
2025-02-19 16:54:37 +08:00
Armando
04708898a2
test(flash_mmap): added psram enabled test for esp32p4 as mmu is per target
2025-02-19 14:07:47 +08:00
Michael (XIAO Xufeng)
0d73471a9d
Merge branch 'test/add_cache2phys_xip_tests_v5.3' into 'release/v5.3'
...
fix(mmap): fixed spi_flash_phys2cache, spi_flash_cache2phys return addr in PSRAM issue (v5.3)
See merge request espressif/esp-idf!33628
2025-01-30 23:08:33 +08:00
harshal.patil
ae4e693cfc
feat(hal/spi_flash_encrypted): Enable pseudo rounds function during XTS-AES operations
2025-01-23 14:06:16 +05:30
wuzhenghui
12db9e4225
fix(esp_hw_support): fix branch predictor access flash after cache disabled
2025-01-22 19:27:37 +08:00
C.S.M
4b86e6424b
fix(spi_flash): Fix issue that bit_length is wrong on suspend chip because not judge idle correctly
2025-01-21 17:39:39 +08:00
C.S.M
d756e6d208
feat(spi_flash): Add config for adding auto check status after suspend to improve performance
2025-01-21 15:04:21 +08:00
C.S.M
d772cb3055
feat(spi_flash): support software resume after suspend in unicore
2025-01-21 15:02:22 +08:00
morris
2d432ab856
Merge branch 'feat/xmc_32d_support_v5.3' into 'release/v5.3'
...
feat(spi_flash): support 120M on xmc25q32d flash (backport v5.3)
See merge request espressif/esp-idf!36079
2025-01-02 14:17:13 +08:00
C.S.M
768f746036
feat(spi_flash): support 120M on xmc25q32d flash
2024-12-31 11:34:27 +08:00
Xiao Xufeng
91964c9ad5
ci(app_update): move test_apps to subfolder with a name
2024-12-28 02:01:16 +08:00
Xiao Xufeng
4d75a8118f
ci(spi_flash): add tests for cache2phys with XIP
2024-12-27 18:04:51 +08:00
Xiao Xufeng
a4886829f5
fix(mmap): fixed spi_flash_phys2cache return addr in PSRAM issue
...
When SPIRAM_FETCH_INSTRUCTIONS or SPIRAM_RODATA enabled
2024-12-27 18:04:51 +08:00
Xiao Xufeng
c4cccdedd0
fix(mmap): fixed spi_flash_cache2phys return addr in PSRAM issue
...
When SPIRAM_FETCH_INSTRUCTIONS or SPIRAM_RODATA enabled
2024-12-27 18:04:51 +08:00
laokaiyao
fa118a24cd
fix(gpio_reserve): reserve the mspi pin regarding line mode
2024-12-25 11:07:01 +08:00
Armando
1f982e3ded
fix(spi_flash): fixed no_os flash API not consider branch predictor on c5/c61
2024-12-20 14:06:19 +08:00
Armando
5b6191195f
fix(spi_flash): fixed no_os flash API not consider cache states issue on h2/p4/c6/c5/c61
2024-12-20 14:06:19 +08:00
morris
c7529d7c94
Merge branch 'bugfix/test_esp_flash_write_v5.3' into 'release/v5.3'
...
fix(spi_flash): Fix Test esp_flash_write (v5.3)
See merge request espressif/esp-idf!35385
2024-12-09 10:20:32 +08:00
Konstantin Kondrashov
3e4fa69113
fix(spi_flash): Fix Test esp_flash_write
2024-12-03 09:55:18 +02:00
C.S.M
ee6f31b279
test(spi_flash): Fix some failing test related to spi flash
2024-11-25 14:28:01 +08:00
C.S.M
922777118b
patch(spi_flash): cleanup XMC flash chip usage according to new information
2024-10-23 17:34:16 +08:00
C.S.M
8890286468
feat(spi_flash): Add new xmc chip id
2024-10-23 17:34:16 +08:00
Chen Jichang
84f024478c
fix(ci): rerun pre-commit to fix readme files
2024-09-27 11:12:55 +08:00
morris
5589d8cbf4
Merge branch 'feat/flash_32bit_support_p4_v5.3' into 'release/v5.3'
...
feature(spi_flash): Add 32bit address support for esp32p4 eco1 (backport v5.3)
See merge request espressif/esp-idf!31262
2024-09-12 11:45:14 +08:00
morris
29b43f3f1a
Merge branch 'feat/ldo_channel_reserve_v5.3' into 'release/v5.3'
...
feat(ldo): reserve the LDO1 and LDO2 (v5.3)
See merge request espressif/esp-idf!32836
2024-09-04 11:28:28 +08:00
Armando
13c30981b9
fix(cache): disable branch predictor before disable cache
...
branch predictor will start cache request
2024-08-16 10:25:43 +08:00
morris
479c835d1a
feat(ldo): add config to let hardware control the ldo output
...
If LDO1 is used by spi flash, then we recommend to give the ownership to
the hardware. Software just read the parameters from the efuse and set
to PMU.
2024-08-14 10:25:04 +08:00
C.S.M
5b8da6f327
fix(spi_flash): Add external flash support on esp32c6,esp32h2,esp32p4
2024-08-05 11:47:55 +08:00