Skip to main content

How to build

Setup Mongoose OS

The Mongoose OS setup Instructions are available in quick start guide.

  1. Setup Mongoose OS according to the Host operating system.
  2. The application was originally built using mos version 2.14.0. After mos is installed, switch to this version.
mos update 2.14.0
  1. Doing Local build on Linux requires docker to be installed. Please refer to the installation Instructions on docker website.

Building Application:

To build the application, clone the repo and run this terminal command inside repo/firmware/:

For local build:

$ sudo mos build --local --platform esp32

This will fetch the mos sources and build the application. First build will take time as it fetches all the required libraries.

The final application will be available inside build folder named fw.zip.

For online build:

$ sudo mos build