Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] MMC DOS FAT16 filesystem source available

2005-11-17 by Tom Walsh

Version 1.2 of the rdcf2 MMC DOS FAT16 filesystem is available on: 
http://openhardware.net

Those of you with Internet Explorer may consider using FireFox to access 
the site.  I don't use IE and recently was told that the site does not 
render properly with IE.  Will I fix that? ... Don't use IE to access 
the site.  ;-)

Changes in v1.2 are that subdirectories are supported and files may be 
renamed.  You may open a file over a directory path in the following 
manner (also see the main2138.c file):

========== fopen path ==========
fopen ("/mmc/logfiles/errorlog.bin", "w");
============ snip ==============

Note the "/" slash instead of the "\" backslash?

Files are renamed with:

=========== rename ===========
rename ("/mmc/logfiles/errlog.bin", "errorlog.txt");
=========== snip =============

Note that no path is given for the new name?  Also, make sure a file 
does not already exist by that name or the rename will fail.

Regards,

TomW



-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.