-
Notifications
You must be signed in to change notification settings - Fork 14
Development Tools
Philippe Boulet edited this page Nov 7, 2019
·
28 revisions
PlatformIO is an open source ecosystem for IoT development. You need to install it as a plugin from a supported Integrated Development Environment (IDE). Next sections will describe how to install the PlatformIO plugin from Atom or Visual Studio Code. They are the most popular IDE and are both free to download and great for development. Chose the IDE you prefer.
- Get the Atom IDE from : https://atom.io/
- Go to the top menu and click Atom->Preferences->Install.
- Search and install package platformio-ide.
- Atom restart might be required before you can continue.
- Once installed you may have to install some additional packages that will be automatically suggested.
- Click on the PlatformIO Home button (little house icon).
- Click on Platforms Button.
- Install the Espressif 32 platform.
That's it! You have everything you need. Read the next sections below.
- Get the Visual Studio Code IDE from : https://code.visualstudio.com/download
- Click on the Configuration icon on the bottom left.
- Click on Manage Extensions.
- Install the PlatformIO IDE extension.
- Once installed you may have to install some additional packages that will be automatically suggested.
- Click on the PlatformIO Home button (little house icon on the bottom toolbar).
- Click on Platforms Button.
- Install the Espressif 32 platform.
That's it! You have everything you need. Read the next sections below.
- Go to your development directory (Ex: dev, work, etc.)
- URL: https://github.com/introlab/OpenIMU-MiniLogger.git
- Use the master branch for stable code :
git clone -b master https://github.com/introlab/OpenIMU-MiniLogger.git
Using PlatformIO in your favorite IDE :
- Open the directory :OpenIMU-MiniLogger/Firmware-IDF directory.
- Build the project using the build button (checkmark icon)
- Make sure the OpenIMU-Minilogger hardware is connected to your USB port.
- Click on Build to build the project.
- Put the device on.
- Click on Upload to upload the project to the board.
- Make sure the led is flashing and the home screen appears.
- Follow the Standard Build & Upload procedure.
- Make sure you have installed the FTDI driver (if required)
- Make sure the OpenIMU-Minilogger hardware is connected to your USB port.
- Click on the Build button.
- Click on the Upload button.
- Enjoy!
- Make sure RTS and DTR are off.
- Use 115200 baud rate. Terminal Command : -> pio device monitor --baud 115200 --dtr 0 --rts 0 (--port COM5)
Provided by IntRoLab, Université de Sherbrooke, Québec, Canada.