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/25 20:30:24 UTC

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

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


   Hi @ddkn currently SDIO_MINOR is only defined when native SD/MMC is enabled, see boards/arm/stm32f7/nucleo-144/src/nucleo-144.h
   
   Double check you disabled CONFIG_STM32F7_SDMMC if you want to use SD card ove SPI
   
   Seams like boards/arm/stm32f7/nucleo-144/src/stm32_sdio.c is compiled even when CONFIG_STM32F7_SDMMC is disabled, it is an error.
   
   Also keep in mind that you need to prepare the SPI CS pin to work with your SDCard, please take a look at boards/arm/stm32/stm32f103-minimum/src/stm32_spi.c as reference, pay attention to CONFIG_MMCSD_SPI lines, etc. And then adapt boards/arm/stm32f7/nucleo-144/src/stm32_spi.c to have same support to enable CS pin.
   
   


-- 
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