Skip to content

Develop on Cloud JAM with Visual Studio Code and Platformio

Matteo Fumagalli edited this page Jun 27, 2017 · 4 revisions

Platformio IDE allows you to develop on Cloud-JAM using Visual Studio Code and many other IDEs

1. Requirements

2. Dowload the example

git clone https://github.com/rushup/Cloud-JAM-Platformio.git

and open the downloaded folder with Visual Studio Code.

Now Platformio will install the toolchain and all the libraries, it will take a while.

The project has different entry points configurable in main.h

3. Update and debug options

To configure the project open the platformio.ini file:

upload_port = H:/  #TO CHANGE WITH THE LABEL OF THE BOARD

monitor_port = COM5 #SERIAL PORT USED TO DEBUG

monitor_baud = 9600

4. Run the sample

Click the build button:

  • PlatformIO: Build
  • PlatformIO: Upload
  • PlatformIO: Clean
  • PlatformIO: Run Other Tasks
  • Initialize new PlatformIO Project or Update existing...
  • Library Manager
  • Serial Port Monitor
  • PIO Terminal

Visit here for additional informations of the IDE.

5. Framework information

The downloaded project use the mbed framework, but you can also build your own project using STM32Cube or StdLib libraries.

Check here to have a documentation of the framework.