Hello,
I’m trying to make the example of the ARMCM3-STM32F107-FATFS work on a STM32F3.
Does someone have experience with this?
Or can somebody give me example code perhaps? One of the errors I have is “too few arguments to function 'f_mount’ ”
Thanks in advance
Example SDC STM32F3
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Example SDC STM32F3
Hi,
You don't five enough info for a meaningful answer, basically it is possible, you need:
1) Attach an SD connector to an SPI using very short wires (most fail here....).
2) Adapt one of the FatFS demos using the driver MMC_SPI to the F3 by changing the paths in the Makefile.
3) Create your board files including all the definitions you need.
4) Adapt the main.c application.
This does not tell me anything except that probably you have too few arguments to function f_mount()...
Giovanni
You don't five enough info for a meaningful answer, basically it is possible, you need:
1) Attach an SD connector to an SPI using very short wires (most fail here....).
2) Adapt one of the FatFS demos using the driver MMC_SPI to the F3 by changing the paths in the Makefile.
3) Create your board files including all the definitions you need.
4) Adapt the main.c application.
NOOB wrote:One of the errors I have is “too few arguments to function 'f_mount’ ”
This does not tell me anything except that probably you have too few arguments to function f_mount()...
Giovanni