The FatFS topic

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
Post Reply
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

The FatFS topic

Post by Giovanni »

I just integrated the latest FatFS 0.9: http://elm-chan.org/fsw/ff/00index_e.html

Now it is better supported and the integration files are shared into ./os/various/fatfs_bindings. The ffconf.h configuration file is now application-specific.

Giovanni
User avatar
barthess
Posts: 861
Joined: Wed Dec 08, 2010 7:55 pm
Been thanked: 7 times

Re: The FatFS topic

Post by barthess »

Why were you deleted ffconf.h and 00readme.txt from archive?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: The FatFS topic

Post by Giovanni »

ffconf because it must be placed in the application directory, it would conflict, the readme... an error, I will add it again.

Giovanni
User avatar
barthess
Posts: 861
Joined: Wed Dec 08, 2010 7:55 pm
Been thanked: 7 times

Re: The FatFS topic

Post by barthess »

Giovanni wrote:ffconf because it must be placed in the application directory

Understand. But we must have default ffconf.h somewhere and let know to users, where file can be found and where it must be placed.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: The FatFS topic

Post by Giovanni »

It is in the demos, anyway, I added it again but renamed.

Giovanni
User avatar
barthess
Posts: 861
Joined: Wed Dec 08, 2010 7:55 pm
Been thanked: 7 times

Re: The FatFS topic

Post by barthess »

I have updated testhal/STM32F4xx/SDC.

Giovanni, what the better value for

Code: Select all

#define _WORD_ACCESS   1
in ffconf.h in context of ChibiOS functionality? Test passes successfully in both cases (0 and 1).
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: The FatFS topic

Post by Giovanni »

I think it works on CM3 but it would fail on ARM7 so I went for the safer option.

Giovanni
User avatar
Badger
Posts: 346
Joined: Mon Apr 18, 2011 6:07 pm

Re: The FatFS topic

Post by Badger »

The latest fatfs archive is named "fatfs-0.9-patched.zip.zip" (two .zip) in the repo. I assume that's not intentional!
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: The FatFS topic

Post by Giovanni »

Fixed :-)

Giovanni
Exeland
Posts: 12
Joined: Sat Jun 06, 2015 4:33 pm

Re: The FatFS topic

Post by Exeland »

The latest fatfs by link, now it support ExtFAT - https://drive.google.com/file/d/0BxuOQR ... sp=sharing
Post Reply