oh David, please excuse me!
On Thu, Jan 30, 2020 at 3:45 PM Embedded Systems
wrote:
> Hello Dave,
>
> Thank you for your response, but if that is correct then the driver do not
> work for imxrt1050 because of following
> #if defined(CONFIG_MMCSD_HAVE_CARDDETECT)
> # if defined(PIN_USDHC1_CD)
>
Hello Dave,
Thank you for your response, but if that is correct then the driver do not
work for imxrt1050 because of following
#if defined(CONFIG_MMCSD_HAVE_CARDDETECT)
# if defined(PIN_USDHC1_CD)
imxrt_config_gpio(PIN_USDHC1_CD);
# else
if (priv->sw_cd_gpio != 0)
{
Hi Ivan,
It is correct. It fixes a bug that was added when the imxrt1020 came in.
Apparently Dave did not wire the CD pin of the IC to the socket (He used a
GPIO). But that change broke the case were the CD pin of the IC is wired to
the socket
Please See
https://github.com/apache/incubator-nuttx