[EGD-5070] Change new filesystem in module bt
Due to vfs deprecation there is need to
remove all vfs calls from code.
This PR covers module bluetooth.
[EGD-5070] Review changes.
[EGD-5070] Change new filesystem in module bt
Due to vfs deprecation there is need to
remove all vfs calls from code.
This PR covers module bluetooth
[EGD-4502] Fix and remove old vfs boot
Remove old vfs bootconfig from the vfs which
will be removed in the later commit
[EGD-4758] Add lfs object state sync
Add lfs object state sync.
[EGD-4758] Add Littlefs in the vfscore
Initial concept commit
[EGD-4760] littlefs host tools (#1161)
* [EGD-4760] Remove littlefs sumbmodule
* [EGD-4760] littlefs submodule in new location
* [EGD-4760] Littlefs host tools inital build
* [EGD-4760] Find fdisk
* [EGD-4760] LFS Cmake file changed
* [EGD-4760] GenLittlefs work in progress
* [EGD-4760] Parse args in the tool
* [EGD-4760] Inital version of genlittlefs
* [EGD-4760] genlittle fs seams to be working
It is a first working release for genlittle fs
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4760] genlittle Speed improvement
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4760] genlittlefs verbose flag
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4760] genlittlefs fix file support
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4760] Check if it is a littlefs
* [EGD-4760] Genlittle fs image
* [EGD-4760] Gen image fixed
* [EGD-4760] Final version of genlittlefs
* [EGD-4760] Rename littlefs rootdir.
* [EGD-4760] Code review round #1 fixes
Merge branch 'master' into stable
[EGD-4762] Add littlefs library (#1152)
Create library with littlefs filesystem
[EGD-4499] Create drivers for the VFS (#1128)
* GId modules updated
* Remove module
* Gitmodules update
* [EGD-4499] Global module VFS
* [EGD-4499] vfat driver in progress + fsfat
* [EGD-4499] fffat glue to our implementation.
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4498] Glue logic between ff_fat and disk mgr.
* [EGD-4499] Mount and unmount fat_fs.
* [EGD-4499] Filesystem mount seams to be working
* [EGD-4499] Missing umount volume removal
* [EGD-4499] Code review vol 1
* [EGD-4499] Missing erase element from map
* [EGD-4499] Missing mount umount
* [EGD-4261] Mount and unmount tests
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4499] Initial filesystem implementation
Iterate over directories are not completed yet
* [EGD-4261] unit test fix
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4499] Stat vfs for RT1051
* [EGD-4499] Small fix in the seek
* [EGD-4499] Directory handle fix
* [EGD4499] Completed ffat implementation
It is already completed vfat driver for vfs core
but it is not tested yet.
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD4499] Code review part #1
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD4499] Remove double dynamic allocation of mount point
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD4499] Partition out of range fix
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4499] Handle leak fix
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4499] VFS vfat completed.
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4499] File descriptors from 3 according to POSIX std
0,1,2 fds are reserved for stdin,stdout,stderr
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
Merge branch 'master' into stable
[EGD-4498] Virtual Filesystem Core Framework (#1074)
* [EGD-4498] Registering and unregistering VFS
* [EGD-4498] Mount structures added
* [EGD-4498] Mount filesystem completed
* [EGD-4498] Mount / unmount / and find mount impl
* [EGD-4498] Per thread directory TLS
* [EGD-4489] Absolute paths implementation
* [EGD-4498] Git ignore vim
* [EGD-4498] VFS core functions without cwd
* [EGD-4498] Other syscalls
* [EGD-4498] Code review fixes
* [EGD-4498] Code review #2
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* [EGD-4498] Code review small fixes vol #3
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-4524] Fix unable to build Linux Release tgt (#1093)
Due to the errors in the libiosyscalls it was impossible
to build emulator for Linux Debug target. This commit will fix this
problem.
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-4262] Disk manager (#1025)
* [EGD-4262] Disk manager API draft
* [EGD-4262] New filesystem master user class
* [EGD-4262] Directory fops
* [EGD-4262] Initial version of disk manager API
* [EGD-4261] Registering and finding block devices.
* [EGD-4262] Disk manager without partition parser
* [EGD-4262] Partition parser intial ver.
* [EGD-4262] Disk read driver for Linux
* [EGD-4262] Disk manager unittests.
This unittests should be improved. Currrently it checks
only minimum functionality. Boundary tests should be added
in the next stage.
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-4344] vfs-utils refactor (#1010)
* [EGD-4344] removed vfs-utils.cpp and moved all the functions
to utils or eventStore
* [EGD-4344] removed vfs-utils.cpp and moved all the functions
to utils or eventStore
* [EGD-4344] moved methods to utils::filesystem
* Update module-utils/Utils.cpp
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
* Update module-utils/Utils.cpp
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
* Update module-utils/Utils.cpp
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
* [EGD-4344] test fixes, linux fixes, GUI fixes
* [EGD-4344] rebase fixes
* [EGD-4344] bugfixes for rt1051 and mutex support in EventStore
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
[EGD-4264] directory reordering (#1001)
* [EGD-4264] VFS directory reordering
Currently VFS uses flat directory structure
for disc manager I need more sofisticated directory layout
* [EGD-4264] Remove redundant -Wno
* [EGD-4261] New purefs API
* [EGD-4264] Unittest fixes
* [EGD-4264] Directory relativity
* [EGD-4264] Relative path fixes
* [EGD-4264] Fix RT1051 compile errors
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-4366] Global data cleanup. (#999)
[EGD-4261] stdlib file access syscalls for RT1051 platform (#952)
* [EGD-4261] Initial version of syscalls
* [EGD-4261] CR small fixes
* [EGD-4261] Rename namespace and fsync call
Rename namespace vfs::internal for clarify that syscall functions are for internal use only
* [EGD-4261] Handle manager for stdlib
Handle manager layer for STDIO compatibility.
* [EGD-4261] Initial version of sysscall (old vfs)
* [EGD-4261] Direntry syscalls completed
* [EGD-4261] Fixes in handle manager
* [EGD-4261] Add support for std::filesystem.
libstdc++ from compiler is compiled without <dirent.h>
, so std::directory_iterator doesn't work.
Our implementation fix this issue and override
libstdc++ library code
* [EGD-4261] Compile syscalls only on RT1051 target
* [EGD-4261] RT compile fix
* [EGD-4261] Code review small fixes
* [EGD-4261] Code review fixes
* [EGD-4261] Remove redundant noisy debug log msg.
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-4179] Recursive file list API (#912)
Recursive file list API with callback added
to the freertos FAT implementation
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-4029] File indexer notifier (#862)
* [EGD-4029] Initial version of file notifier in the VFS
* [EGD-4029] File indexer notifier in the VFS
* [EGD-4029] Minor syntax fixes in code
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-4135] FREERTOS vfat ff_fflush implementation (#878)
ff_fflush implementation is needed for sqlite3 when
unexcepted power failure.
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>