A sample application for using the Scenic Driver for the 128x128, 1.44inch LCD display HAT for Raspberry Pi from Waveshare.
You have to run this with no-halt in dev or it will just blink past and close down.
export MIX_ENV=host
mix deps.get
mix run --no-halt
To start your Nerves app:
export MIX_TARGET=<TARGET>
or prefix every command withMIX_TARGET=<TARGET>
. For example,MIX_TARGET=rpi0
- Install dependencies with
mix deps.get
- Create firmware with
mix firmware
- Burn to an SD card with
mix firmware.burn
- Any subsequent updates can use
mix firmware.gen.script
and./upload.sh
(already provided in the repo)
- Official docs: https://hexdocs.pm/nerves/getting-started.html
- Official website: https://nerves-project.org/
- Forum: https://elixirforum.com/c/nerves-forum
- Discussion Slack elixir-lang #nerves (Invite)
- Source: https://github.com/nerves-project/nerves