-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: master
Are you sure you want to change the base?
Conversation
|
||
# https://elixirschool.com/en/lessons/advanced/nerves/#setting-up-networking | ||
# Statically assign an address | ||
config :nerves_network, :default, |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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. 🚀
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. 👍