Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit 1ce44f3

Browse files
committed
docs/uos: Deconditionalize, remove minor port-specific details.
For a couple of ports, there was information which directory is set as current after boot. This information doesn't belong to "uos" module, and is moved to boards' references (which actually already contained information on which directory is chosen for boot, even if without explicit mentioning that it becomes current directory, which is now done).
1 parent 92206a7 commit 1ce44f3

File tree

3 files changed

+5
-22
lines changed

3 files changed

+5
-22
lines changed

docs/library/uos.rst

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,9 @@
44
.. module:: uos
55
:synopsis: basic "operating system" services
66

7-
The ``os`` module contains functions for filesystem access and ``urandom``
7+
The ``uos`` module contains functions for filesystem access and ``urandom``
88
function.
99

10-
Port specifics
11-
--------------
12-
13-
The filesystem has ``/`` as the root directory and the
14-
available physical drives are accessible from here. They are currently:
15-
16-
``/flash`` -- the internal flash filesystem
17-
18-
``/sd`` -- the SD card (if it exists)
19-
20-
.. only:: port_pyboard
21-
22-
On boot up, the current directory is ``/flash`` if no SD card is inserted,
23-
otherwise it is ``/sd``.
24-
25-
.. only:: port_wipy
26-
27-
On boot up, the current directory is ``/flash``.
28-
2910
Functions
3011
---------
3112

docs/pyboard/general.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ is inserted into the slot, it is available as ``/sd``.
1010

1111
When the pyboard boots up, it needs to choose a filesystem to boot from. If
1212
there is no SD card, then it uses the internal filesystem ``/flash`` as the boot
13-
filesystem, otherwise, it uses the SD card ``/sd``.
13+
filesystem, otherwise, it uses the SD card ``/sd``. After the boot, the current
14+
directory is set to one of the directories above.
15+
1416
If needed, you can prevent the use of the SD card by creating an empty file
1517
called ``/flash/SKIPSD``. If this file exists when the pyboard boots
1618
up then the SD card will be skipped and the pyboard will always boot from the

docs/wipy/general.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ which is stored within the external serial flash memory. If a micro SD card
5353
is hooked-up and mounted, it will be available as well.
5454

5555
When the WiPy starts up, it always boots from the ``boot.py`` located in the
56-
``/flash`` file system.
56+
``/flash`` file system. On boot up, the current directory is ``/flash``.
5757

5858
The file system is accessible via the native FTP server running in the WiPy.
5959
Open your FTP client of choice and connect to:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy