From f4482fe36cd462f3e710c4b17570bb885a502824 Mon Sep 17 00:00:00 2001 From: bastien Date: Tue, 23 May 2023 15:07:26 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Platform.io=20cli'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Platform.io-cli.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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