Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP PR] How to Deploy New Firmware issue #3 #4

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

nelsonic
Copy link
Member

@nelsonic nelsonic commented Jul 7, 2020

I'm busy learning and documenting how to deploy new firmware to Raspberry Pi 3/4/Zero
so that we can update our code once the devices are in "production".

Will assign the PR for review once I think it's finished. 👍

@nelsonic nelsonic self-assigned this Jul 7, 2020

# https://elixirschool.com/en/lessons/advanced/nerves/#setting-up-networking
# Statically assign an address
config :nerves_network, :default,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be in config/target.exs so it only gets configured on the target device?

Also, I think nerves doesn't use nerves_network anymore and has switched to vintage_net, which means the config will be slightly different.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it seems the there's a default vintage_net config in config/target.exs.

I don't know why they changed it, nerves_network seems a lot simpler.

For reference, this is how I setup VintageNet on a previous project: https://github.com/th0mas/Fancy-Lights/blob/master/fancy_lights_firmware/config/target.exs#L44

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@th0mas thanks for sharing direct link to your working code. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants