Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 3 : Ligne 3 :  
== Système de fichier local et carte SD ==
 
== Système de fichier local et carte SD ==
 
{{traduction}}
 
{{traduction}}
{{bloc-etroit|text=There is a small internal filesystem (a drive) on the pyboard, called {{fname|/flash}}, which is stored within the microcontroller’s flash memory. If a micro SD card is inserted into the slot, it is available as {{fname|/sd}}.
+
{{bloc-etroit|text=Il existe un petit system de fichier interne (un lecteur ''drive'' en anglais) sur le pyboard. Ce système de fichier s'appelle {{fname|/flash}} et est stocké dans la mémoire flash du microcontrôleur. Si une carte micro SD est insérée dans le connecteurs, son système de fichier sera accessible en tant que {{fname|/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.
+
Lorsque la carte PyBoard démarre, le microcontroleur doit choisir le système de fichier sur lequel il démarre. S'il n'y a pas de carte SD alors le microcontroleur utilisera le système de fichier interne {{fname|/flash}} comme système de fichier de boot. Sinon le microcontroleur utilisera la carte SD {{fname|/sd}}.
   −
(Note that on older versions of the board, /flash is called 0:/ and /sd is called 1:/).
+
Le système de fichier de boot/démarrage est utilisé pour deux choses:
 +
# C'est le système de fichier sur lequel les fichier {{fname|boot.py}} et {{fname|main.py}} sont recherchés
 +
# Et c'est le système de fichier disponible lorsque vous branchez PyBoard sur un PC via le cable USB.}}
   −
The boot filesystem is used for 2 things: it is the filesystem from which the {{fname|boot.py}} and {{fname|main.py}} files are searched for, and it is the filesystem which is made available on your PC over the USB cable.}}
+
Le système de fichier est rendu disponible sur votre PC comme un lecteur flash USB. Vous pouvez sauver des fichiers sur le lecteur et editer/modifier les fichiers {{fname|boot.py}} et {{fname|main.py}}.
   −
The filesystem will be available as a USB flash drive on your PC. You can save files to the drive, and edit {{fname|boot.py}} and {{fname|main.py}}.
+
{{ambox-stop|text=Souvenez-vous d'éjecter le lecteur USB avant de faire un reset du PyBoard (démonter avec unmount sous Linux).
   −
Remember to eject (on Linux, unmount) the USB drive before you reset your pyboard.
+
== Boot Modes  ==
 +
"Boot modes" que nous traduirons par modes de démarrage.
   −
== Boot Modes ==
+
Lorsque vous mettez sous tension, ou pressez le bouton Reset, la carte PyBoard démarre en '''mode standard''':
Boot modes que nous traduirons par mode de démarrage.
+
# Le fichier {{fname|boot.py}} sera exécuté en premier
 
+
# L'USB est configuré ensuite,  
If you power up normally, or press the reset button, the pyboard will boot into standard mode: the {{fname|boot.py}} file will be executed first, then the USB will be configured, then {{fname|main.py}} will run.
+
# finalement {{fname|main.py}} sera exécuté.
    
You can override this boot sequence by holding down the user switch as the board is booting up. Hold down user switch and press reset, and then as you continue to hold the user switch, the LEDs will count in binary. When the LEDs have reached the mode you want, let go of the user switch, the LEDs for the selected mode will flash quickly, and the board will boot.
 
You can override this boot sequence by holding down the user switch as the board is booting up. Hold down user switch and press reset, and then as you continue to hold the user switch, the LEDs will count in binary. When the LEDs have reached the mode you want, let go of the user switch, the LEDs for the selected mode will flash quickly, and the board will boot.
29 917

modifications

Menu de navigation