How to install Platform IO

From Banana Pi Wiki
Revision as of 02:05, 10 July 2019 by Sinovoip (talk | contribs)
Jump to: navigation, search

How to install platformIO and create a new project on platformIO.

Install Vscode

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).

download vscode: https://code.visualstudio.com/

it is easy to install ,So we won't go into detail here

Install the platformIO plug-in on vscode

1.First open the vscode extension list and click on the fifth icon in the left list

Vscode 1.jpeg

2.After searching for platformIO in the search bar, click the first platformIO IDE in the list below

Vscode 2.jpeg

3.Click install on the plug-in interface

Vscode 3.jpeg

4.The installation process will be very long, about 40 minutes, wait patiently. When a notification is given that Python2.7 cannot be found, we will ignore it because it will be automatically installed during PlatformIO installation.

Vscode 4.png