oyama / pico-vfs

Thin virtual file system for Raspberry Pi Pico
Other
5 stars 0 forks source link

Unit test using PICO_PLATFORM=host and heap block devices #33

Closed oyama closed 3 weeks ago

oyama commented 3 weeks ago

Hardware-dependent tests should be performed on the actual device, and independent code should be tested on the host build. Heap blockdevice can be used for all upper layer tests.

oyama commented 3 weeks ago

A way to trick the host into making system calls such as open. pico-vfs relies heavily on Newlib to provide these. This is useful for testing heap block devices and the FatFs and littlefs filesystem abstraction layers. However, the current (relatively) thorough testing of real machines does not find it worthwhile to develop a test environment with these limitations.

oyama commented 3 weeks ago

I will work on new proprietary file systems and virtual block devices should the need arise to develop them. This issue close.