fix(esp_flash): fixed issue of escaping boundary check

Also patched corresponding ROM functions
This commit is contained in:
Xiao Xufeng
2025-09-10 16:36:57 +08:00
committed by Michael (XIAO Xufeng)
parent edf60a792f
commit 9cfc314c5b
17 changed files with 208 additions and 47 deletions
@@ -38,3 +38,4 @@ Bugfixes Introduced in ESP-IDF but Not in Chip-ROM
:esp32s3: - Fixed issue that only 16 MB virtual address ranges can be mapped to read-only data on flash.
:esp32c3: - Fixed issue that only 128 KB virtual address ranges can be mapped to instructions on flash.
:esp32c2: - Fixed issue that only at most 128 KB virtual address ranges can be mapped to instructions on flash.
- Fixed issue that address range may escape from checking for erasing and writing function when their sum overflows 32-bit boundary.