This commit is contained in:
leo 2023-11-06 16:33:12 +01:00
parent 266f44db1d
commit 354d291cd8
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB
5 changed files with 10 additions and 5 deletions

View File

@ -4,12 +4,12 @@ Procédure de mise à jour du logiciel embarqué, en utilisant l'environnement S
1. [Installer STM32CubeIDE](#installer-le-programme-stm32cubeide)
3. [Installer le plugin EGit](#installer-le-plugin-egit)
4. [Télécharger le projet à partir du dépot](#importer-le-projet)
5. Envoyer le projet sur la carte
5. [Envoyer le projet sur la carte](#téléverser-le-logiciel)
## Installer le programme STM32CubeIDE
# Installer le programme STM32CubeIDE
Le programme STM32CubeIDE est disponible (Win, Mac, Linux) gratuitement sur le site du fabricant (https://www.st.com/en/development-tools/stm32cubeide.html) moyennant la création d'un compte lui aussi gratuit.
## Installer le plugin EGit :
# Installer le plugin EGit :
1. Help > Eclipse Marketplace ![](Marketplace.png)
2. Chercher "git" ![](Git_search.png)
3. Choisir "EGit - Git integration for Eclipse" et cliquer "install"
@ -17,7 +17,7 @@ Le programme STM32CubeIDE est disponible (Win, Mac, Linux) gratuitement sur le s
5. L'installation peut prendre quelque minutes (indicateur en bas à droite ![](install_status.png))
6. Redémarrer le programme quand le dialogue apparaît : ![](restart_after_install.png)
## Importer le projet :
# Importer le projet :
1. File > Import Project
2. Un menu "select" apparaît
Git > Projects from Git > Next ![](import_project.png)
@ -33,4 +33,9 @@ Le programme STM32CubeIDE est disponible (Win, Mac, Linux) gratuitement sur le s
8. Le projet va maintenant être téléchargé, cette opération peut prendre plusieurs minutes. ![](clone_process.png)
9. Dans le menu "Select wizard to use for importing project"
Sélectionner "Import existing Eclipse project" ![](import_type.png)
10. Dans le menu "Import Project" garder les options par défaut ![](final_import.png)
10. Dans le menu "Import Project" garder les options par défaut ![](final_import.png)
# Téléverser le logiciel
1. Connecter l'interface STLink à la carte selon la définition des pins suivante : ![](carte_alfawise_ann_annotated.png)
2. Envoyer le logiciel : `Run` ![](run.png)
Le code est compilé puis envoyé sur le carte : la LED d'état du STLink clignote pendant l'envoi. Après quelques minutes la carte redémarre, le logiciel est maintenant mis à jour.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

BIN
docs/run.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
docs/run_conf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
docs/run_release.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB