summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/os.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/os.rst')
-rw-r--r--docs/library/os.rst16
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/library/os.rst b/docs/library/os.rst
index e9b7d40bf5..e32a409f53 100644
--- a/docs/library/os.rst
+++ b/docs/library/os.rst
@@ -16,8 +16,14 @@ available physical drives are accessible from here. They are currently:
``/sd`` -- the SD card (if it exists)
-On boot up, the current directory is ``/flash`` if no SD card is inserted,
-otherwise it is ``/sd``.
+.. only:: port_pyboard
+
+ On boot up, the current directory is ``/flash`` if no SD card is inserted,
+ otherwise it is ``/sd``.
+
+.. only:: port_wipy
+
+ On boot up, the current directory is ``/flash``.
Functions
---------
@@ -63,6 +69,12 @@ Functions
Return a bytes object with n random bytes, generated by the hardware
random number generator.
+.. only:: port_wipy
+
+ .. function:: mkfs(drive)
+
+ Formats the specified drive, must be either ``/flash`` or ``/sd``.
+
Constants
---------