fhunleth
Nerves 1.4.0 released!
We recently released Nerves 1.4.0 and an update to the Nerves new project generator, nerves_bootstrap. The biggest change is support for Elixir 1.8’s Mix target feature. This feature not only cleans up a Nerves project’s mix.exs file, it also makes switching between compiling for your device and testing on your laptop easier. Dependencies are versioned together now rather than in multiple files where library versions could diverge between targets and your host.
If you have an existing Nerves project, you can upgrade to Nerves 1.4.0 without making any changes to your mix.exs. It will still work, but without the new mix target support. When you’re ready, update instructions are at Updating Projects — nerves v1.9.1.
After you update, be aware that the build output directory has changed. You may need to update any scripts that publish the firmware bundle file (.fw file). For example, the nerves_firmware_ssh library’s upload script needed to change due to this. Be sure to update that library when you update.
Most Liked
fhunleth
Thanks for reporting this. I hope that you’ve found the installation page and that it helped. So that you know, I’ve made several PRs based on your post. Several of them have made it into the online docs and one is working it’s way into nerves_bootstrap to improve the error message. I appreciate getting feedback on this and I’m sure it will help someone else in the future.
benwilson512
Using nerves does not require having Elixir installed on the raspberry pi at all. Nor does nerves use Ubuntu on the raspberry pi.
Nerves builds custom firmware that runs an erlang release and a minimalist buildroot linux installation. It does not do any compilation on the raspberry pi, consequently it doesn’t need Elixir or Erlang installed. The entire built image is only ~20mb.
benwilson512
The disk image it creates includes the complete BEAM runtime, so nothing is required on the device itself.
kpanic
I just started with nerves and raspberry pi zero with nerves 1.3.x two days ago! Super smooth stuff! congrats!
Eiji
While we only officially support commonly available hardware, the community has added support for other boards. See Nerves Systems on hex.pm
Source: https://hexdocs.pm/nerves/targets.html#supported-targets-and-systems
Nerves Systems on hex.pm link seems to be broken. I got No Results Found with such text in search input: depends%3Anerves_system_br.
Looks like that link is wrongly escaped:
https://hex.pm/packages?search=depends%253Anerves_system_br
it should be:
https://hex.pm/packages?search=depends%3Anerves_system_br







