Skip to content

Build source code

Dilshan R Jayakody edited this page Mar 16, 2021 · 1 revision

Building the terminal application

Before building the terminal application, make sure that the following libraries installed in the development environment:

  • The GNU Readline
  • libudev

If the above packages are not installed, issue the following commands to install the required libraries:

  sudo apt-get install libudev-dev
  sudo apt-get install libreadline-dev

Next, issue the make command to build the terminal application.

Build and flash the firmware

To build and flash the firmware install the following packages into the development environment:

  • AVR GCC
  • AVRDUDE

To compile and build the firmware issue the make command.

To flash the firmware issue the following commands in the given order:

  make
  make fuse
  make flash