1. Home
  2. Docs
  3. Getting Started
  4. Development Environments
  5. Setup PlatformIO for rhomb.io

Setup PlatformIO for rhomb.io

This article shows how to getting started and set up PlatformIO, the tool we use to develop our firmware in Visual Studio Code, an open source code editor compatible with Linux, Mac and Windows.

First of all you have to install the PlatformIO extension. Go to the left tools panel and search the extensions tool (Ctrl+Shift+X), write in the searching bar “PlatformIO IDE”, and then click on install.

Installing PlatformIO extension on VSCode – Image Copyright PlatformIO Docs

Once the installation of the PlatformIO extension has just finished, you could see a new button on the bottom-left corner with a “House” symbol, the PlatformIO Home. You can also access to the home menu with the left tool panel doing click on the “alien” logo and then click on the “Home” option. A new window from where you can start a new project.

PlatformIO Home – Image Copyright PlatformIO Docs

To start developing code, you have to create a project where all the files will be. Click on “New Project” and then a menu will appear.

Project wizard menu – Image Copyright PlatformIO Docs

You have to make sure you have chosen the correct board, in this example, we are using the “Arduino Zero” and we have chosen the framework of Arduino. If you are going to use our pinmap library, the framework must be “Arduino”. On the next step, you will have to choose the location of the project.

When all the before steps are made, a file with the name “platformio.ini” will be generated . This file could be modified and is where your configuration will be stored, so if you want to change the environment, you can do it there adjusting the parameters.

platformio.ini – Image Copyright PlatformIO Docs
Was this article helpful to you? Yes No

How can we help?