sdcErase() in HAL 3.0
Posted: Tue Mar 17, 2015 2:45 am
Hi everyone,
I'm currently playing around with the current git revision of ChibiOS 3.x to see if I can port my source code once it will be released (with 3.0 using the ST USB host library is not a giant pain any more!).
One issue I encountered is that in this commit https://github.com/mabl/ChibiOS/commit/145cae7d32bb11a842820b15c621526fce2c524e the sdcErase() function was removed from the SDC HAL entirely.
Is there a specific reason why it will not be included in the 3.x release? I indeed use it in some of my filesystem code and believe it should be significantly more efficient than overwriting with 0x00 / 0xFF blocks. I believe it might also be relevant to some wear levelling implementations. Currently the CMD_ERASE does not seem to be used anywhere in the sourcecode at all.
Thanks & Best regards,
Uli
I'm currently playing around with the current git revision of ChibiOS 3.x to see if I can port my source code once it will be released (with 3.0 using the ST USB host library is not a giant pain any more!).
One issue I encountered is that in this commit https://github.com/mabl/ChibiOS/commit/145cae7d32bb11a842820b15c621526fce2c524e the sdcErase() function was removed from the SDC HAL entirely.
Is there a specific reason why it will not be included in the 3.x release? I indeed use it in some of my filesystem code and believe it should be significantly more efficient than overwriting with 0x00 / 0xFF blocks. I believe it might also be relevant to some wear levelling implementations. Currently the CMD_ERASE does not seem to be used anywhere in the sourcecode at all.
Thanks & Best regards,
Uli