fs/spiffs: Still uses some internal error codes that should be replaced with errors from errno.h. For now, I just added a mapping function before any value is returned to the caller: And of these detailed internal errors are simply mapped to -EFTYPE. Most are related to improper internal data structures so -ETYPE is possibly appropriate. Aslo SPIFFs is no longer is EXPERIMENTAL. Many things work but I the code is very immature and many things will not work.

This commit is contained in:
Gregory Nutt
2018-09-27 11:33:09 -06:00
parent 554745946d
commit 65ef3acf70
4 changed files with 54 additions and 35 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ config FS_SPIFFS
default n
select FS_READABLE
select FS_WRITABLE
depends on !DISABLE_MOUNTPOINT && EXPERIMENTAL
depends on !DISABLE_MOUNTPOINT
---help---
Build the SPIFFS file system. This is a port of version 0.3.7 of
the SPIFFS file system by Peter Andersson. It was originally