Example SDC STM32F3

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
NOOB
Posts: 1
Joined: Tue Dec 24, 2013 1:04 am

Example SDC STM32F3

Post by NOOB »

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

Post by Giovanni »

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.

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