diff --git a/Platform.io-cli.md b/Platform.io-cli.md index 1fc1f57..df28c11 100644 --- a/Platform.io-cli.md +++ b/Platform.io-cli.md @@ -94,7 +94,25 @@ Après cette commande, redémarrer votre ordinateur. ## [Création d'un projet avec un ESP32](https://github.com/platformio/platform-espressif32/tree/master/examples/espidf-arduino-blink) +Pour commencer il faut télécharger le dossier suivant qui va servir pour exemple : [Télécharger](https://github.com/platformio/platform-espressif32/archive/develop.zip) +Une fois télécharger, nous allons dézip le dossier : + +``` +cd Téléchargement +unzip platform-espressif32-develop.zip +``` + +Ensuite, nous allons dans l'exemple pour allumer une led : +``` +cd Téléchargements/platform-espressif32-develop/examples/espidf-arduino-blink +``` +Ensuite, il suffit dans lancer quelques commandes : +``` +pio init # si besoin +pio run +pio run --target upload +``` ## Commandes utiles