-
Notifications
You must be signed in to change notification settings - Fork 26
FatFs 1.4.1 & Core 1.3.0 & PR #269 Fails to compile #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
OK so I got a bit further, some silly mistakes by me... Actually enabled the SD device in stm32f4xx_hal_conf.h - DOH! Next - I used the ffconf.h from DISCO_F476NG, the SD device on that board is SDMMC1, I switched this out for SDIO after looking in the CMSIS device define in stm32f407xx.h But now I'm out of my depth because I don't know how to configure the other settings in sdconf.h ie everything except SD_INSTANCE below:
Is there some tooling/docs I need to be using to pull out this magic? |
I had a look at the GENERIC implementation of SDIO and it appears to use the same mechanism as the F7 implementation, but I can only see the above definitions for F7 in CMSIS (specifically stm32f7xx_ll_sdmmc.h). This is all a bit outside of my knowledge now - lots of reading required no doubt |
Sorry for the delay, missed this issue :'( |
@fpistm what's the current status of this? Still awaiting some time? |
@BennehBoy |
If I get time I'll have a tinker and drop the newer HAL definitions into the core - but I expect there are likely other downstream changes required to accommodate those. C'est la vie! |
Hi @BennehBoy
Note that it seems the BlackF407 seems do not have the card detect connected. |
FYI, I will remove the use of sd_conf.h as this could be added directly in the library. Only the SD detect pins will have to be defined in the variant.h if any |
Hi @BennehBoy, Thanks the next STM32SD library 1.1.0 version including #4, there is no more need to add |
I'm trying to add SD support to the BLACK407VE variant.
To do this I have copied the sdconf.h & ffconf.h from DISCO_F746VG's variant folder.
Here are the compilation errors (this is with my own sketch but I also get similar with the Datalogger.ino example). Datalogger.ino compiles fine against DISCO_F746VG board.
I fully expect that I've done something stupid, please educate me :)
The text was updated successfully, but these errors were encountered: