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

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.

kpanic

kpanic

I just started with nerves and raspberry pi zero with nerves 1.3.x two days ago! Super smooth stuff! congrats!

Eiji

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

Where Next?

Popular in News & Updates Top

zachdaniel
Ash 3.1 Released! Major themes Generators! These are just the first entries into a powerful new suite of tools. Check out the generator d...
New
garrison
This is the first RFD (Request For Discussion) for Hobbes, a database/library written in Elixir. I am going to be exercising a little mo...
New
zachdaniel
Hey folks! I’ll be teasing some interesting bits going into Ash 3.0 while I work on it, and this is post #1! You can follow along with t...
New
jimsynz
As some of you know, I have been working on a tight integration between Ash and Reactor which has triggered a few small bug fixes in Spar...
New
fhunleth
We’ve released new versions of all of the officially maintained Nerves Systems. The official systems, nerves_system_rpi0, nerves_system_b...
New
zachdaniel
First two Ash cookbooks are live! We’re still refining the format, so please give us your feedback, good or bad! The first two are: optim...
New
jjcarstens
The Raspberry Pi is a very popular hardware platform for Nerves users and the official systems are getting an upgrade! :tada: :beers: Wh...
New
lud
Hello! Oaskit now has experimental support for extensions, limited on the operation only. You can add any key to the operation macro an...
New
fhunleth
We recently released Nerves 1.5.0 and corresponding updates to the Nerves new project generator, nerves_bootstrap and our official system...
New
mobileoverlord
Action Advised: NervesHub Sunset In 2018, NervesHub was launched to deliver first-class support for hardware deployments directly from th...
New

Other popular topics Top

9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New

We're in Beta

About us Mission Statement