A playground for using Elixir on a Raspberry Pi with Nerves
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
rel
test
.gitignore
README.md
mix.exs
mix.lock

README.md

HelloNerves

Targets

Nerves applications are configured that they can produce images for target hardware by setting NERVES_TARGET. By default, if MIX_TARGET is not set, Nerves defaults to building a host target. This is useful for executing logic tests, running utilities, and debugging. For more information about targets: https://hexdocs.pm/nerves/targets.html#content

Getting Started

To start your Nerves app:

  • export NERVES_TARGET=my_target or prefix every command with NERVES_TARGET=my_target, Example: NERVES_TARGET=rpi3
  • Install dependencies with mix deps.get
  • Create firmware with mix firmware
  • Burn to an SD card with mix firmware.burn

Learn more