[EGD-5074] Add native fscore for emulator This is a first commit when the emulator uses the new filesystem core. libiosyscall library read environment variable IOSYSCALS_REDIRECT_TO_IMAGE When IOSYSCALS_REDIRECT_TO_IMAGE=1 all syscalls are redirected to the image. If env is not defined or set to 0 only paths are translated and redirected to the native linux syscalls [EGD-5074] Remove free rtox library Remove unneeded fat library from the freertos [EGD-5074] Fix freertos mutex as unique Add freertos mutex in the unique_ptr for avoid inclusion of the freertos.h [EGD-5074] Remove frertos-fat submodule Remove uneeded fat freertos submodule [EGD-5074] Add handle types in the vfs_subsystem Add handle types in the vfs subsystem [EGD-5074] Add submodule for hashmap Add submodule for hashmap [EGD-5074] Add support for dirent Add support for dirent for new filesystem [EGD-5074] Fix mutex class Remove mutex in header [EGD-5074] Remove old vfs from file indexer File indexer should be fixed for use new vfs [EGD-5074] Fix unit test vfs Remove unit tests vfs for clas [EGD-5074] Add Posix implementation with new fs Add posix implementation with new fs core [EGD-5074] Fix stdio syscalls Fix all stdio syscalls [EGD-5074] Fix iosyscalls scan family Fix iosyscalls scan family [EGD-5074] Fix native API Fix native api Work in progress some minor fixes [EGD-5074] Fix lib stdio Fix lib stdio [EGD-5074] fix lseek return value in fat driver Fix lseek return value in the fat driver [EGD-5074] Unit test fix Unittest fixes [EGD-5074] Emulator syscalls Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[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>
[EGD-4313] Fix usb_stack submodule path (#969)
[EGD-3688] usb stack as an external module (#906) * [EGD-3688] usb stack as an external module removed old usb code * [EGD-3688] linux fix * [EGD-3688] fixes for new USB code * [EGD-3688] updated submodule
[EGD-3772] added HSP sink and source (#918) Added HSP playback to the BT device and stream of the BT device microphone back to the OS Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
[EGD-4269] fix taglib module paths (#948)
[EGD-4181] move taglib from audio (#932) * [EGD-4181] Move submodule taglib to utils * [EGD-4181] LibTag moved to util lib. Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-4162] fix fat module (#907)
[EGD-4075] Use FATFS in the Linux builds (#843) * [EGD-4075] Use FAT fs in the emulator Add script for genrate base phone image * [EGD-4075] Use FreeRTOS-FAT in emulator initial commit * [EGD-4075] Thread local storage fix Fixing thread local storage when running on the Linux platform in the test mode * [EGD-4075] Improve image generation Improve image generation script on the linux platform * [EGD-4075] Fix all test with FAT fs image Fix all tests with fatfs image * [EGD-4075] Fix calculator utility test * [EGD-4075] Image dependencies fix * Remove uneeded comments * Missing headers in CR * [EGD-4075] Fixed whitespaces Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-3857] Create calculator application
Devel/l.bryndza/freertos fat as a submodule (#828) * [EGD-4016] Remove FREERTOSFAT before submodule add * [EGD-4016] FreeRTOS fat as a submodule Currently VFS class has a separate implementation which uses native Linux filesystem, so currently the filesystem can behave differ on the emulator than in the phone. In the linux emulator VFS should use same FAT code as the phone and emulate block device as a file on the linux platform. Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-2625] added BT scan [EGD-2625] moved btstack to mudita_develop branch
[EGD-3813] magic enums as submodule + update to 0.6.6 release
Egd-3408 Rich text (#712) * EGD-3408 gui::Text Rich text parser added with pugixml tree & tree walker * EGD-3408 Fitted code in
Egd 3709 - Application antenna - added parameter history window. (#713) * [EGD-3709] Applicatgion antenna switch parameters window. * [EGD-3709] Changelog + service-antenna disabled. * [EGD-3709] PR suggestions + missing antenna rquest. Co-authored-by: Kuba Kleczkowski <dd>
[EGD-3637] restoration of Bluetooth stack [EGD-3637] Bluetooth hangup fix
[EGD-3710] Update submodules paths