nuttx/drivers/mmcsd
msli-dev 844ef9c678 mmcsd: Honor optional SDIO host request limits.
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>
2026-10-09 18:26:12 +08:00
..
CMakeLists.txt drivers/mmcsd: Aligned Cmake with Make 2025-12-09 14:25:40 -03:00
Kconfig mmcsd: Honor optional SDIO host request limits. 2026-10-09 18:26:12 +08:00
Make.defs
mmcsd.h drivers/mmcsd: Switch SD cards into high speed. 2026-08-18 09:38:45 +08:00
mmcsd_csd.h
mmcsd_debug.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mmcsd_extcsd.h
mmcsd_procfs.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
mmcsd_sdio.c mmcsd: Honor optional SDIO host request limits. 2026-10-09 18:26:12 +08:00
mmcsd_sdio.h
mmcsd_spi.c libs/libc: Fix divide-by-zero in stat() with large filesystem block sizes 2026-07-16 23:37:22 +08:00
mmcsd_spi.h
sdio.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00