Trying to install FarmBot OS onto the microSD card?

Please see the consumer software documentation for help.

Building FarmBot OS from source

This project is written in the programming language Elixir and built using the Nerves Project framework.

Before you begin

You will need a x64 bit non Windows machine to build FarmBot OS from source. We suggest the latest OSX or Ubuntu LTS.

Cloning

Farmbot OS now bundles and builds the Arduino Firmware. This is bundled as a git submodule. To initialize the repository you can choose to do one of: git clone https://github.com/FarmBot/farmbot_os.git --recursive or

git clone https://github.com/FarmBot/farmbot_os.git
git submodule update --init --recursive

Install dependencies

If you have the above set up you will need some software dependencies:

  • Erlang
  • Elixir
    • Nerves Bootstrapper found here
  • GNU Make + GCC
  • git
  • Arduino. You can do one of:
    • Set the ARDUINO_INSTALL_DIR environment variable
    • execute .circleci/setup_arduino.sh

Optional dependencies

  • python
  • opencv-python

Following this guide will get you mostly setup.

What’s next?