{"id":327,"date":"2020-03-22T14:13:52","date_gmt":"2020-03-22T14:13:52","guid":{"rendered":"https:\/\/marcjuneau.ca\/?p=327"},"modified":"2020-03-22T23:26:05","modified_gmt":"2020-03-22T23:26:05","slug":"installation-de-platformio-pour-arduino-esp32-et-stm32","status":"publish","type":"post","link":"https:\/\/marcjuneau.ca\/?p=327","title":{"rendered":"Installation de PlatformIO pour Arduino, ESP32 et STM32"},"content":{"rendered":"\n<p>Cet article vous montre comment installer PlatformIO pour \u00e9diter, programmer et d\u00e9boguer les Arduino, ESP32, SMT32 et plus. <!--more--><\/p>\n<p>Les avantages d&rsquo;utiliser\u00a0 PlatformIO plut\u00f4t qu&rsquo;Arduino IDE sont multiples :<\/p>\n<ul>\n<li>Compl\u00e9tion du code<\/li>\n<li>Analyse du style et de la syntaxe du code<\/li>\n<li>Supporte plus de 750 cartes microcontr\u00f4leurs\u00a0<\/li>\n<li>Permet de faire le d\u00e9bogage<\/li>\n<li>Configuration facile de l&rsquo;environnement<\/li>\n<\/ul>\n<p>Pour plus de d\u00e9tails, visitez le site :<a href=\"https:\/\/platformio.org\/platformio-ide\">https:\/\/platformio.org\/platformio-ide<\/a><\/p>\n<p><iframe loading=\"lazy\" title=\"Installation de PlatformIO sous Visual Studio Code\" width=\"1333\" height=\"1000\" src=\"https:\/\/www.youtube.com\/embed\/1bIQAHWXdfo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<h4>1 &#8211; Installation de Microsoft Visual Studio Code<\/h4>\n<p>PlatformIO peut s&rsquo;int\u00e9grer dans plusieurs suite de d\u00e9veloppement. Elle est d\u00e9velopp\u00e9e sous VSCode, une suite de d\u00e9veloppement gratuite et open source de Microsoft. C&rsquo;est donc dans celle-ci que nous l&rsquo;installerons.<\/p>\n<p>La premi\u00e8re \u00e9tape est donc de t\u00e9l\u00e9charger la version la plus r\u00e9cente directement sur le site :\u00a0<a href=\"https:\/\/code.visualstudio.com\/download\">https:\/\/code.visualstudio.com\/download<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-329\" src=\"https:\/\/marcjuneau.ca\/wp-content\/uploads\/2020\/03\/Image2-1.png\" alt=\"\" width=\"870\" height=\"720\" srcset=\"https:\/\/marcjuneau.ca\/wp-content\/uploads\/2020\/03\/Image2-1.png 870w, https:\/\/marcjuneau.ca\/wp-content\/uploads\/2020\/03\/Image2-1-300x248.png 300w, https:\/\/marcjuneau.ca\/wp-content\/uploads\/2020\/03\/Image2-1-768x636.png 768w, https:\/\/marcjuneau.ca\/wp-content\/uploads\/2020\/03\/Image2-1-465x385.png 465w, https:\/\/marcjuneau.ca\/wp-content\/uploads\/2020\/03\/Image2-1-604x500.png 604w\" sizes=\"auto, (max-width: 870px) 100vw, 870px\" \/><\/p>\n<h4>2 &#8211; Installation de Python 2.7.X<\/h4>\n<p>Il faut ensuite installer python, car PlatformIO utilise celui-ci. Au moment de r\u00e9diger cet article, les versions 3.X.X causent des probl\u00e8mes. C&rsquo;est donc la version 2.7.x qui est pr\u00e9f\u00e9rable d&rsquo;installer.<\/p>\n<p>T\u00e9l\u00e9chargez python ici : <a href=\"https:\/\/www.python.org\/downloads\/windows\/\">https:\/\/www.python.org\/downloads\/windows\/<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-330\" src=\"https:\/\/marcjuneau.ca\/wp-content\/uploads\/2020\/03\/Image3-e1584885418190.png\" alt=\"\" width=\"595\" height=\"468\" \/><\/p>\n<h4>3 &#8211; Installation de PlatformIO dans VSCode<\/h4>\n<p>Apr\u00e8s l&rsquo;ouverture de VSCode :<\/p>\n<ol>\n<li>Cliquez sur Extensions<\/li>\n<li>Tapez PlatformIO dans la zone de recherche<\/li>\n<li>Cliquez sur <strong>Install<\/strong><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-332\" src=\"https:\/\/marcjuneau.ca\/wp-content\/uploads\/2020\/03\/Image4-e1584886208859.png\" alt=\"\" width=\"600\" height=\"297\" \/><\/p>\n<p>Red\u00e9marrez afin que les chemins se mettent \u00e0 jour, et voil\u00e0!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cet article vous montre comment installer PlatformIO pour \u00e9diter, programmer et d\u00e9boguer les Arduino, ESP32, SMT32 et plus.<span class=\"more-link\"><a href=\"https:\/\/marcjuneau.ca\/?p=327\">Continue Reading<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":328,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,21,10],"tags":[],"class_list":["entry","author-mjuneau","has-more-link","post-327","post","type-post","status-publish","format-standard","has-post-thumbnail","category-arduino","category-esp32-installation-esp32_cat","category-stm32"],"_links":{"self":[{"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=\/wp\/v2\/posts\/327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=327"}],"version-history":[{"count":2,"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=\/wp\/v2\/posts\/327\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=\/wp\/v2\/posts\/327\/revisions\/333"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=\/wp\/v2\/media\/328"}],"wp:attachment":[{"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marcjuneau.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}