Reading through the docs, it seems that this filesystem is cleverly designed,
system. It is also using a limited amount of RAM, which is interesting.
it from scratch.
Post by ***@yahoo.com [nuttx]
Any version of LittleFS that works with the NuttX VFS will certainly be a
different design.Â Whether you start with a Snapshot of LittleFS or
re-implement from specification as Sebastien suggests.Â Either is a complete
break from mbed.
So in this case, I am less concerned about a fork in the NuttX repository:Â
There will never be updates; no bug fixes or enhancements from mbed will every
be brought in.Â It becomes a maintenance responsibility of the NuttX
community.Â [I personally will not support it.Â I have enough on my plate.Â So
I hope you would also be signing up for lifetime support].
Sebastien is correct that any code brought in must be 100% compatible with the
NuttX coding style or it will be declined.Â So don't waste any effort on this
unless you are willing to take that on.Â There is a crappy tool at
tools/indent.sh that might help.Â I also don't mind putting code a branch and
helping you with interface and code compatibility issues before merging to master.
The other issue is licensing.Â All of the mbed code uses the Apache license
which is not 100% compatible with the NuttX BSD license.Â Both are free and
open licenses but with subtle differences.Â The biggest is that the Apache
license is long and written in incomprehensible legal-ese so I don't think
anyone really knows what it says... not until you end up on court due to a
license violation and the judge carefully explains it to you.
So the long term difference between taking a snaphot and re-implementing from
specs is the license.Â I advertise NuttX as a BSD licensed OS and so I cannot
include incompatibly licensed code like Apache.
I have been thinking about adding a configuration option that would permit
inclusion of Apache licensed code.Â So you would do 'make menuconfig', select
Apache licensing, swear an oath, then you could mix apache code with NuttX.
There are other motivations to do this:Â Then we could include the Samsung
Journaling enhancement to SmartFS (Apache) and we could include the MyNewt
Bluetooth BLE stack (nimBLE).