Initial install guide

This commit is contained in:
leo 2023-10-28 17:53:00 +02:00
parent b26745aa1b
commit 5fcd041350
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB
15 changed files with 38 additions and 0 deletions

2
.gitignore vendored
View File

@ -3,6 +3,8 @@ Medias/node_modules
Medias/*.c
Medias/*.json
**/.obsidian
Debug/
Release/

BIN
docs/Git_search.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

BIN
docs/Marketplace.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

36
docs/Upload.md Normal file
View File

@ -0,0 +1,36 @@
Procédure de mise à jour du logiciel embarqué, en utilisant l'environnement STM32CubeIDE à partir du code disponible sur git.
# Résumé
1. Installer STM32CubeIDE
2. Installer le plugin EGit
3. Télécharger le projet à partir du dépot
4. Envoyer le projet sur la carte
## 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 :
1. Help > Eclipse Marketplace ![[Marketplace.png]]
2. Chercher "git" ![[Git_search.png]]
3. Choisir "EGit - Git integration for Eclipse" et cliquer "install"
4. Dans le choix des option voulues ne garder que celles nécessaires ![[egit_install.png]]
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 :
1. File > Import Project
2. Un menu "select" apparaît
Git > Projects from Git > Next ![[import_project.png]]
4. Dans le menu "Select repository source"
sélectionner "Clone URI" ![[repo_src_sel.png]]
5. Dans le menu "Source Git Repository"
Entrer l'adresse du dépôt (https://git.leserveurdansmongrenier.uk/leo/PSE-firmware.git) dans le champ "URI" ![[repo_src.png]]
6. Dans le menu "Branch selection"
Choisir la branche "master" ![[branch.png]]
7. Dans le menu "Local Destination"
Modifier au besoin l'emplacement de sauvegarde du dépôt
> ⚠ Penser à bien sélectionner l'option "clone submodules" pour télécharger en même temps tout les éléments. ![[local_dest.png]]
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 le option par défaut ![[final_import.png]]

BIN
docs/branch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

BIN
docs/clone_process.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

BIN
docs/egit_install.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

BIN
docs/final_import.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
docs/import_project.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
docs/import_type.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

BIN
docs/install_status.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
docs/local_dest.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
docs/repo_src.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

BIN
docs/repo_src_sel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB