I agree — the license seems perfectly acceptable for ASF releases, but
it is non-standard. It’s like somebody modified a BSD license to be a
MIT license.
+/*----------------------------------------------------------------------------/
+/ FatFs - Generic FAT file system module R0.12b
/
+/-----------------------------------------------------------------------------/
+/
+/ 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.
+/----------------------------------------------------------------------------*/
On 17 Nov 2016, at 14:38, Niclas Hedhman wrote:
AFAIK, there is no 1-clause BSD... So, can you point to the license?
Downloading http://www.elm-chan.org/fsw/ff/ff12b.zip doesn't seem to
contain license information, and files are instead full of "(C) ChaN,
2015"
On Fri, Nov 18, 2016 at 5:27 AM, Fabio Utzig <ut...@linux.com> wrote:
Hello,
I just opened a new PR adding FAT support:
https://github.com/apache/incubator-mynewt-core/pull/121
This implements: https://issues.apache.org/jira/browse/MYNEWT-318
I've used Elm-Chan's FATFS (kind of de-facto in the embedded world):
http://www.elm-chan.org/fsw/ff/00index_e.html
This is basically 1-clause BSD compatible licensed so should be no
problem to add to repo but correct me if I'm wrong!
For now the implementation is limited to using hal_flash
infrastructure.
Since no sane person would ever format a microcontroller flash using
FAT
(I hope!), I see two options moving forward:
1) Write a MMC driver to access SD-Cards. I think this would rely
only
on having a hal_spi driver.
2) Add support for USB and USB disks. This is much harder but will
have
to be done eventually anyway.
So, what's the suggestion?
Fabio Utzig
--
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java