Skip to content
Commit 2c2b8c34 authored by Ivan Herrera Olivares's avatar Ivan Herrera Olivares Committed by Anas Nashif
Browse files

SD: Implement sdhc_card_busy in SDHC SPI-driver

Currently, the sdhc_card_busy function is unimplemented in the
SDHC SPI-driver. This causes some functions which rely on f_sync(),
such as fs_close(), to fail as it will timeout the busy-check. This PR
implements sdhc_card_busy by checking if the MISO-line is kept high to
check if the SD-card is idle (not busy).

Solves https://github.com/zephyrproject-rtos/zephyr/issues/49982



Signed-off-by: default avatarIvan Herrera Olivares <ivan.herreraolivares@uantwerpen.be>
parent 0d0f2e94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment