You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/05/26 12:03:41 UTC

[GitHub] [incubator-nuttx] ddkn commented on issue #3783: SPI SD card on Nucleo-F767zi unable to compile

ddkn commented on issue #3783:
URL: https://github.com/apache/incubator-nuttx/issues/3783#issuecomment-848711795


   Hi @acassis,
   
   Are those your videos? Very helpful! So I did previously attach my .config as config.txt, and double checking it (and my build one just in case), it currently says:
   
   `# CONFIG_STM32F7_SDMMC is not set`
   
   I also double checked some relevant lines and explicitly set them to `=n`
   ```
   CONFIG_MMCSD=y # stm32_sdio.c checks for this
   ...
   CONFIG_STM32F7_HAVE_SDIO=n
   ...
   CONFIG_STM32F7_SDMMC=n
   CONFIG_STM32F7_SDMMC1=n # nucleo-144.h checks for this
   CONFIG_STM32F7_SDMMC2=n # nucleo-144.h checks for this
   ```
   
   I tried adding this to the top of stm32_sdio.c,
   ```
   -#ifdef CONFIG_MMCSD
   +#if defined(CONFIG_MMCSD) && defined(CONFIG_STM32F7_SDMMC)
   ```
   
   But it errors out with `stm32_appinitialize.c:195 undefined reference to stm32_sdio_initialize`
   
   I think before I am able to set the CS pin, maybe getting it to build first may be worth it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org