Hi all, I'm now porting NFFS code to Zephyr and in order to avoid forking this code into two separate projects I'd like to propose to move NFFS code into its own repository (i.e. mynewt-nffs) and basically make it a bit more generic so it can be used by other projects.
Here's my work done so far in Zephyr: https://github.com/ zephyrproject-rtos/zephyr/pull/1288 As you can see major changes are: - small glue layer introduced which abstracts memory and flash calls - OS filesystem calls are then implemented using NFFS API which is now basically everything that nffs_priv.h exposed so far - heap memory is changes to static buffers In case of Mynewt, there's not much to do since everything is already implemented and just needs to be copied from one place to another. The API can be polished over time and memory usage (heap vs. static) can be made configurable. Of course the new repository would be compatible with Mynewt ootb, the changes in code are to make "copying" it to other OS-es as straightforward as possible so code can be updated to new release easily. Comments are welcome! Best regards, Andrzej
