-
Notifications
You must be signed in to change notification settings - Fork 0
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
- Install Visual Studio Code
- Install Python 2.7
- Install Platformio IDE plugin
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
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
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.
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.