mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 06:45:19 +00:00
While the bootrom erases or programs the flash, the QMI is in direct mode, and an access to the XIP space (flash or PSRAM) gives a bus fault. The flash MTD driver accessed it in two cases: - The data to program was in flash or PSRAM. flash_range_program() read it during the operation. Now the driver copies each such page to an SRAM buffer first. - The caller's stack was in PSRAM. This is the normal case with RP23XX_PSRAM_HEAP_USER, and possible with RP23XX_PSRAM_HEAP_SINGLE. The operation pushed to that stack. Now the driver switches to a small SRAM stack for the operation if the stack is in the XIP space. The operation data is static (SRAM) since the previous commit. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||