Please see the main Nerves installation docs if you haven't used Nerves before.
Nerves can work with quite a few Elixir and Erlang versions, but we recommend using the following versions for the examples. These are used on our CI and should be easier for us to support.
- Elixir 1.17.3 or later
- Erlang OTP 27.1.2 or later
See the EmbeddedElixir post on using ASDF-VM
This repository contains several Nerves example projects as sub-directories. Most of these projects should work on all of the Nerves supported targets.
For detailed information on how to build an example, see the README.md
in each
application's root directory.
blinky
hello_erlang
hello_gpio
hello_lfe
hello_live_view
poncho_phoenix
hello_scenic
hello_snmp_agent
hello_snmp_manager
hello_sqlite
hello_wifi
hello_zig
minimal
The Nerves community has additional projects that may be useful. Here are a few:
- Nerves Livebook - Learn Nerves using the new Elixir Livebook application
- Elixir Circuits - Experiment with hardware I/O with a pre-built firmware image
- NervesKey Quickstart - Basic provisioning of an IoT authentication device
If you are having trouble, let us know. The Nerves community can be found on Elixir Forum and the #nerves channel on the Elixir Slack.