-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
unix, windows: convert all variants to use VFS subsystem and VfsPosix #8394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 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.c
as their uos module implementation. In particular this means they all haveMICROPY_VFS
enabled and useVfsPosix
for their filesystem.As part of this, the available functions in uos become more consistent with other ports:
Reasons for doing this:
uos
moduleuos
implementation