Firmware Setup Guide

Table of content

1. Install PlatformIO

  • It is suggested to use VS Code IDE for the development. Follow the guide in PlatformIO IDE for VSCode to install PlatformIO Extension with VS Code IDE.
  • If you are using another IDE, please check here for the installation instructions.

2. Install Arduino Framework

  • We are using atmelavr Plafrorm with Arduino framework. The first time you build the project, this will be downloaded automatically with the other required packages, tools, and libraries.

3. Prepare config.h

  • Once you set up the repository, you need to copy the ‘src/config/config_sample.h’ file and create ‘src/config/config.h’.
  • As for now, no any configurations need to be done.

4. Build and Upload

  • You can use the Build button in the IDE or use the below command in the terminal to build the firmware.
pio build
  • You can use the Upload button in the IDE or use the below command in the terminal to build the firmware and upload it to the development board.
  • Usually, PlatformIO will automatically identify the COM port that the robot is connected to.
  • You need to use an external USB to UART converter to upload the firmware into the Arduino Pro Mini boards.
pio run --target upload 
  • If you got any ‘sync’ related error while uploading, press the Reset button in the Pro-Mini development board and try again.