mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 15:50:23 +00:00
Add an optional maxrequest callback at the end of sdio_dev_s. A zero or unset callback adds no host-specific limit; nonzero values are byte limits that apply to all request buffers. Combine the host limit with MMCSD_MULTIBLOCK_LIMIT when splitting block reads and writes. Reject a host limit smaller than one block and oversized raw multi-block commands before starting the transfer. Cancel receive setup after a failed CMD23, attempt CMD12 after failed open-ended multi-block reads, and propagate stop-command failures. Keep these generic MMC/SD changes separate from the STM32H7 driver. Assisted-by: Codex:GPT-6 Signed-off-by: msli-dev <747640013@qq.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| mmcsd.h | ||
| mmcsd_csd.h | ||
| mmcsd_debug.c | ||
| mmcsd_extcsd.h | ||
| mmcsd_procfs.c | ||
| mmcsd_sdio.c | ||
| mmcsd_sdio.h | ||
| mmcsd_spi.c | ||
| mmcsd_spi.h | ||
| sdio.c | ||