Différences entre versions de « MicroPython.pyboard.généralités »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
(Page créée avec « xxx {{MicroPython.pyboard.généralités-TRAILER}} »)
 
Ligne 1 : Ligne 1 :
xxx
+
 
 +
== Système de fichier local et carte SD ==
 +
 
 +
There is a small internal filesystem (a drive) on the pyboard, called /flash, which is stored within the microcontroller’s flash memory. If a micro SD card is inserted into the slot, it is available as /sd.
 +
 
 +
 
 +
When the pyboard boots up, it needs to choose a filesystem to boot from. If there is no SD card, then it uses the internal filesystem /flash as the boot filesystem, otherwise, it uses the SD card /sd.
 +
 
 +
(Note that on older versions of the board, /flash is called 0:/ and /sd is called 1:/).
 +
 
 +
The boot filesystem is used for 2 things: it is the filesystem from which the boot.py and main.py files are searched for, and it is the filesystem which is made available on your PC over the USB cable.
 +
 
 +
The filesystem will be available as a USB flash drive on your PC. You can save files to the drive, and edit boot.py and main.py.
 +
 
 +
Remember to eject (on Linux, unmount) the USB drive before you reset your pyboard.
 +
 
 +
 
 
{{MicroPython.pyboard.généralités-TRAILER}}
 
{{MicroPython.pyboard.généralités-TRAILER}}

Version du 25 janvier 2015 à 10:16

Système de fichier local et carte SD

There is a small internal filesystem (a drive) on the pyboard, called /flash, which is stored within the microcontroller’s flash memory. If a micro SD card is inserted into the slot, it is available as /sd.


When the pyboard boots up, it needs to choose a filesystem to boot from. If there is no SD card, then it uses the internal filesystem /flash as the boot filesystem, otherwise, it uses the SD card /sd.

(Note that on older versions of the board, /flash is called 0:/ and /sd is called 1:/).

The boot filesystem is used for 2 things: it is the filesystem from which the boot.py and main.py files are searched for, and it is the filesystem which is made available on your PC over the USB cable.

The filesystem will be available as a USB flash drive on your PC. You can save files to the drive, and edit boot.py and main.py.

Remember to eject (on Linux, unmount) the USB drive before you reset your pyboard.




Source: General information about the pyboard écrit par/written by Damien P.George

Traduit par Meurisse D. pour MCHobby.be - Translated by Meurisse D. for MCHobby.be

Traduit avec l'autorisation de micropython.org - Translated with the authorisation of micropython.org

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.