mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 15:50:23 +00:00
board_spisd_initialize() logged "ERROR: Failed to mount the SDCARD" at every boot when the mount failed. The two usual causes are no card in the slot and a card with no filesystem. Neither is an error: the block device is registered, and the card can be formatted with mkfatfs and mounted later. Log -EINVAL and -ENODEV from nx_mount() with finfo(). Other errors are still logged with ferr(), as the rest of the file does. Also include errno.h, which the file used without including it. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| dummy | ||
| hc/m9s12 | ||
| mips | ||
| misoc/lm32/misoc | ||
| or1k/mor1kx/or1k | ||
| renesas | ||
| risc-v | ||
| sim/sim/sim | ||
| sparc | ||
| tricore | ||
| x86/qemu/qemu-i486 | ||
| x86_64/qemu/qemu-intel64 | ||
| xtensa | ||
| z16/z16f/z16f2800100zcog | ||
| z80 | ||
| .gitignore | ||
| Board.mk | ||
| boardctl.c | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||