Page 1 of 2
FatFS bindings
Posted: Tue Jun 24, 2014 10:49 am
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
Re: FatFS bindings
Posted: Tue Jun 24, 2014 11:02 am
by Giovanni
The FatFS-related code has not yet been ported to 3.0.
Giovanni
Re: FatFS bindings
Posted: Tue Jun 24, 2014 11:08 am
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
Re: FatFS bindings
Posted: Tue Jun 24, 2014 11:33 am
by Eddie
I have also LwIP ported to chibios 3.0
LwIP and FatFS tested and working
Eddie
Re: FatFS bindings
Posted: Tue Jun 24, 2014 11:39 am
by Giovanni
Hi,
I will try to integrate them, thanks.
Giovanni
Re: FatFS bindings
Posted: Wed Jun 25, 2014 3:34 pm
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.
Re: FatFS bindings
Posted: Wed Jun 25, 2014 3:35 pm
by Giovanni
Weekend I think.
Giovanni
Re: FatFS bindings
Posted: Thu Jun 26, 2014 2:37 pm
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.
Re: FatFS bindings
Posted: Thu Jun 26, 2014 3:12 pm
by Giovanni
Update your copy, this has already been fixed.
Giovanni
Re: FatFS bindings
Posted: Sat Jul 05, 2014 5:11 pm
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