fhunleth

fhunleth

Co-author of Nerves

Nerves supports Erlang/OTP 26 and Elixir 1.15 now

It looks like it’s finally safe to announce that Nerves supports Erlang/OTP 26 and Elixir 1.15!

We’ve updated dozens of Nerves and closely related libraries over the past month. The Erlang and Elixir-specific updates include:

  • Runtime support for Erlang’s new TTY implementation
  • Interactive mode is no longer slow on Nerves. The Nerves default is still embedded, but it can finally be changed back for projects that want to use it. (José actually fixed this one, not us)
  • CA certificates included by default to support new Erlang SSL defaults.
  • Many, many deprecation and compile-time warning fixes

We also have Nerves system updates that are worth highlighting:

  • The Raspberry Pi 4 has been updated to support libcamera and all of the official Pi cameras
  • The GRiSP 2 port has better support for its Pmod interfaces
  • Buildroot has been upgraded from 2022.11 to 2023.02 and contains many security and bug fixes for Linux libraries

Here’s how to update an existing project:

  1. Install Elixir 1.15.1+ and OTP 26.0.2+
  2. Update the :nerves dependency to 1.10.3 or later
  3. Update your Nerves System to use :nerves_system_br v1.23.2. If using official Nerves systems, update them to the latest versions.
  4. Run mix hex.outdated --all and review library updates.
  5. Run mix firmware on your project and update rel/vm.args.eex based on an error that you’ll get at the end

For step 4, please check out the Changelog or use the hexdiff feature on hex.pm for comparing versions. Most libraries maintained by the Nerves core team have the Changelog ordered first so that when you look at the diff, you can see the notes at the top. It should be safe for casual Nerves users to blindly update, but we do try to add notes there for specific situations.

For those of you customizing Nerves systems on MacOS, the Nerves system shell is not working with OTP 26, and we’re unsure when a fix will be available. We recommend looking at the nerves_systems project. It requires running Linux. Running Linux on MacOS in a UTM VM works well.

Happy hardware hacking!

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
bartblast
Hi folks, For anyone following Hologram’s development or curious about running Elixir in the browser, I’ve created the Client Runtime Re...
New
martosaur
InstructorLite - v1.1.1 and v1.1.2 Pass Gemini token in request header rather than in request parameter (as is shown in API reference :...
New
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
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
Nerves v1.14.3 has been released. Changes Remove warning when using Elixir 1.20 Minor doc updates throughout
New
jjcarstens
Do you like Hacktoberfest? Also enjoy working with Nerves and want to contribute? Fantastic! :tada: :beers: Here are some potential sta...
New
jjcarstens
NervesPack 0.4.0 is a minor bump with a fairly big change. This update drops :nerves_firmware_ssh in favor of the newer and more focused...
New
bartblast
I’m excited to announce Hologram v0.5.0, a major evolution of the full-stack Elixir web framework! This release brings massive performanc...
New

Other popular topics Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
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
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
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
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
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
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement