FatFS bindings

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

FatFS bindings

Post by Tectu »

Hello Giovanni,

I just checked out the latest repository state and I have hard times finding out what happened to the /ext directory and the FatFS bindings. I also don't find the FatFS demos anymore. What happened there?


~ Tectu
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: FatFS bindings

Post by Giovanni »

The FatFS-related code has not yet been ported to 3.0.

Giovanni
Eddie
Posts: 44
Joined: Sat Mar 16, 2013 5:57 pm
Has thanked: 2 times
Been thanked: 6 times

Re: FatFS bindings

Post by Eddie »

Giovanni wrote:The FatFS-related code has not yet been ported to 3.0.

Giovanni


Hello, here is FatFS related code ported to 3.0, FatFS updated to 10b version ;)

Eddie
Attachments
fatfs_bindings.zip
(3.26 KiB) Downloaded 572 times
fatfs-0.10b-patched.zip
(885.8 KiB) Downloaded 549 times
Eddie
Posts: 44
Joined: Sat Mar 16, 2013 5:57 pm
Has thanked: 2 times
Been thanked: 6 times

Re: FatFS bindings

Post by Eddie »

I have also LwIP ported to chibios 3.0

LwIP and FatFS tested and working 8-)


Eddie
Attachments
lwip-1.4.1_patched.zip
(617.97 KiB) Downloaded 563 times
os_lwip_port.zip
(31.08 KiB) Downloaded 574 times
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: FatFS bindings

Post by Giovanni »

Hi,

I will try to integrate them, thanks.

Giovanni
Legath
Posts: 21
Joined: Thu Oct 17, 2013 3:24 pm

Re: FatFS bindings

Post by Legath »

Hi,
when are you plain to merge this?
i ask because i make fork of rusEfi project on 3.0 , and do not want make double job.
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: FatFS bindings

Post by Giovanni »

Weekend I think.

Giovanni
Legath
Posts: 21
Joined: Thu Oct 17, 2013 3:24 pm

Re: FatFS bindings

Post by Legath »

Hi,
i have found that mmc_spi.c still use CH_FAILED and CH_SUCCESS. i made two definitions

Code: Select all

#define CH_FAILED HAL_FAILED
#define CH_SUCCESS HAL_SUCCESS

but i think it is not right way. do you have any special plan for this file or i can change values and make pull request.
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: FatFS bindings

Post by Giovanni »

Update your copy, this has already been fixed.

Giovanni
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: FatFS bindings

Post by Giovanni »

Hi,

I committed the code, thanks Eddie, few notes:
1) The MAC driver is not entirely CH-free, semaphores can be replaced with OSAL thread queues.
2) The lwIP system module can now be improved using the 3.0 API, specifically, the recursive locks.
3) Some demos should be ported too from 2.6.x.

I will look into this at some point if there isn't somebody faster than me :)

Giovanni
Post Reply