unix, windows: convert all variants to use VFS subsystem and VfsPosix#8394
unix, windows: convert all variants to use VFS subsystem and VfsPosix#8394dpgeorge merged 3 commits intomicropython:masterfrom
Conversation
|
@stinos any idea how to get |
|
Windows doesn't have a true equivalent of that. There are some of the |
All variants now use extmod/moduos.c as their uos module implementation. In particular this means they all have MICROPY_VFS enabled and use 8000 VfsPosix for their filesystem. As part of this, the available functions in uos become more consistent with other ports: - coverage variant gets uos.urandom - minimal and standard variant get: unlink, chdir, getcwd, listdir Signed-off-by: Damien George <damien@micropython.org>
5f793d8 to
313c575
Compare
|
Thanks, I've applied those patches (except made |
|
It seems |
|
My mistake, the original modos.c used but I used |
Following the unix port. Signed-off-by: Damien George <damien@micropython.org>
313c575 to
0149cd6
Compare
Signed-off-by: Damien George <damien@micropython.org>
This PR follows on from #8388.
All unix variants, and the windows port, now use
extmod/moduos.cas their uos module implementation. In particular this means they all haveMICROPY_VFSenabled and useVfsPosixfor their filesystem.As part of this, the available functions in uos become more consistent with other ports:
Reasons for doing this:
uosmoduleuosimplementation