Ligne 249 : |
Ligne 249 : |
| rshell repl ~ pyb.bootloader() ~ | | rshell repl ~ pyb.bootloader() ~ |
| | | |
− | == Système de fichier de RShell == | + | == Le système de fichier de RShell == |
− | {{traduction}}
| + | RShell est capable de se connecter sur plusieurs cartes en même temps. Il utilise des noms différents pour identifier chaque carte PyBoard. |
| | | |
− | rshell can be connected to multiple pyboards simultaneously. If the
| + | Si la carte embarque un module board (un fichier nommé {{fname|board.py}} comme sur la carte PyBoard) et qu'il contient un attribut appelé {{fname|name}} alors la carte utilisera ce nom! |
− | board module exists on the pyboard (i.e. a file named board.py somewhere | |
− | in the module search path) and it contains an attribute called name then
| |
− | the pyboard will use that name. If the board module can't be imported
| |
− | then the board will be named, pyboard or wipy. Names will have -1 (or
| |
− | some other number) to make the board name unique.
| |
| | | |
− | You can access the internal flash on the first board connected using
| + | Si le module {{fname|board}} ne peut pas être importé alors la carte sera nommée "pyboard" ou "wipy". Le nom sera accompagné de -1 (ou un autre nombre) de façon à avoir un nom unique pour chaque carte. |
− | /flash and the sd card on the first board connected can be accessed
| |
− | using /sd.
| |
| | | |
− | For all other connected pyboards, you can use /board-name/flash or
| + | Vous pouvez avoir accès à la mémoire flash interne de la première carte connectée en utilisant le {{fname|/flash}} et à la carte SD de la première carte connectée en utilisant {{fname|/sd}}. |
− | /board-name/sd (you can see the board names using the boards command).
| |
| | | |
− | The boards command will show all of the connected pyboards, along with all of
| + | Pour toutes les autres cartes connectées sur RShell, vous pouvez utiliser {{fname|/nom-de-carte/flash}} ou {{fname|/nom-de-carte/sd}} |
− | the directories which map onto that pyboard.
| + | |
| + | Vous pouvez utiliser la commande {{fname|boards}} pour identifier tous les cartes connectées et leur ''nom-de-carte''. |
| + | |
| + | La commande {{fname|boards}} présente toutes les carte connectés avec le répertoire d'accès (port série) correspondant à la carte. |
| | | |
| == Commandes == | | == Commandes == |