fhunleth

fhunleth

Co-author of Nerves

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.14.3.

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

fhunleth

Co-author of Nerves

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

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

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

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

The disk image it creates includes the complete BEAM runtime, so nothing is required on the device itself.

Last Post!

mintymac

mintymac

Thank you for all the hard work! I’m looking forward to lone star elixir conf and getting more into this.

Where Next?

Popular in News & Updates Top

fhunleth
We recently released Nerves 1.5.0 and corresponding updates to the Nerves new project generator, nerves_bootstrap and our official system...
New
sorentwo
Many months ago when I originally announced Oban I mentioned that a LiveView powered UI would be available for it soon. Well, the “soon” ...
New
hugobarauna
This post announces the Livebook desktop app, a way to install Livebook on your machine without the requirement to have Elixir installed ...
New
hugobarauna
Livebook v0.7 is out! This is a major release coming with significant features in the following areas: secret management visual represe...
New
zachdaniel
The second video from the Ash Primers series is out! https://www.youtube.com/watch?v=GtsL_lIis4Q This one is about the migration generato...
New
DominikWolek
We are launching a cloud-based video streaming platform, which will allow you to use Membrane without all the hassle of maintaining your ...
New
sorenone
The title doesn’t relay the depth of this announcement, but it is short, balanced, and looked good to us. From open sourcing multiple pac...
New

Other popular topics Top

lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31494 112
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement