SD card in SDIO mode

It's all about the code!
Post Reply
Piter.W
Posts: 4
Joined: Tue May 04, 2021 7:57 pm
Github Username: Piter.W

SD card in SDIO mode

Post by Piter.W »

I am working with the STM32F407 board. Same as the link: https://github.com/mcauser/BLACK_F407VE. Is it possible to use an SD card in SDIO mode? (The board does not support SPI for SD CARD). Do you need to change anything in the FW? I found this link but it doesn't tell me much https://github.com/rusefi/rusefi/issues/683. Thank you.
mck1117
running engine in first post
running engine in first post
Posts: 875
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: SD card in SDIO mode

Post by mck1117 »

Yes, the firmware is compiled for either SDIO or SPI. You need to define EFI_SDC_DEVICE when compiling, and configure the pins to the correct alternate function in board.h.
Piter.W
Posts: 4
Joined: Tue May 04, 2021 7:57 pm
Github Username: Piter.W

Re: SD card in SDIO mode

Post by Piter.W »

Thank you. I can see that board.h file is only in hellen, prometheus, kinetis and subaru config folder. If I would like to compile the firmware with any other board can I just copy board.h file to that folder?

Thank you
Post Reply