talira

Build and deploy embedded systems with Elixir

open sourceApache-2.0free

Nerves is an open source platform for building and deploying production embedded systems with Elixir and the BEAM virtual machine. It builds lean, immutable firmware images on Linux and Buildroot, starting around 20 to 30 MB, that run on common hardware, and handles networking, discovery, I/O and firmware updates so a team can focus on its application. Prebuilt images with Livebook let you try it on real hardware without a build, and the rest of the Elixir ecosystem (Phoenix, Nx, Livebook) works in Nerves projects.

Problems it solves

  • build firmware for a Raspberry Pi-class device in Elixir instead of maintaining a Linux image by hand
  • ship reliable, fault-tolerant software to embedded devices and update it in the field
  • run an Elixir application on embedded hardware

Features

  • Builds immutable firmware images from Elixir apps on Linux and Buildroot
  • Runs out of the box on common hardware, with ports to other devices through Buildroot
  • Firmware sizes from about 20 to 30 MB
  • Network, discovery, I/O and firmware updates handled for you
  • Prebuilt Livebook firmware to try it without building
  • SBOM information through the Buildroot integration
  • nerves.system.lint Mix task that checks a custom system's nerves_defconfig
  • Nerves-managed cross-compiler toolchains built with Crosstool-NG, packaged as Hex packages