Skip to content

Commit

Permalink
fs: Update external FAT FS source with new rev 0.12b
Browse files Browse the repository at this point in the history
Update elm-chan FAT FS with latest sources. Updated README with changes
made to default configurations.

Change-Id: I3c868479506042d174ac7df360ce62931d8ac5af
Jira: ZEP-1338
Signed-off-by: Ramesh Thomas <[email protected]>
  • Loading branch information
ramesh-thomas authored and galak committed Jan 25, 2017
1 parent 9fb0c2a commit 4c5fd88
Show file tree
Hide file tree
Showing 14 changed files with 231 additions and 413 deletions.
10 changes: 9 additions & 1 deletion ext/fs/fat/README
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ an interface to physical storage management through its disk io
API in diskio.c. The disk io interfaces are updated to interface
with Zephyr flash memory management.

Current revision in the tree is 0.12a
Current revision in the tree is 0.12b

The file system provides options to configure the source. The configurations
are stored in include/ffconf.h. Following configurations are updated.

_USE_MKFS 1
_CODE_PAGE 1
_FS_TINY 1
_FS_NORTC 1
20 changes: 1 addition & 19 deletions ext/fs/fat/diskio.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,6 @@
/* This is an example of glue functions to attach various exsisting */
/* storage control modules to the FatFs module with a defined API. */
/*-----------------------------------------------------------------------*/
/*----------------------------------------------------------------------------/
/ FatFs - Generic FAT file system module R0.12a /
/-----------------------------------------------------------------------------/
/
/ Copyright (C) 2016, ChaN, all right reserved.
/
/ FatFs module is an open source software. Redistribution and use of FatFs in
/ source and binary forms, with or without modification, are permitted provided
/ that the following condition is met:
/ 1. Redistributions of source code must retain the above copyright notice,
/ this condition and the following disclaimer.
/
/ This software is provided by the copyright holder and contributors "AS IS"
/ and any warranties related to this software are DISCLAIMED.
/ The copyright owner or contributors be NOT LIABLE for any damages caused
/ by use of this software.
/----------------------------------------------------------------------------*/

#include "diskio.h" /* FatFs lower layer API */

Expand Down Expand Up @@ -59,7 +41,7 @@ DSTATUS disk_status (

return stat;

case DEB_USB :
case DEV_USB :
result = USB_disk_status();

// translate the reslut code here
Expand Down
Loading

0 comments on commit 4c5fd88

Please sign in to comment.