Comments (4)
@fhunleth Is it doable to standardize on nerves_livebook
's firmware provision options?
https://github.com/livebook-dev/nerves_livebook#firmware-provisioning-options
from nerves_examples.
The Nerves Livebook firmware provisioning is needed since you download images rather than build firmware yourself. All of the Nerves examples are built, so there are more options available and hardcoding network options may arguably be the most instructive to people learning Nerves. I lean towards less code in the examples if possible so that the key thing they show isn't obscured.
I'm also hesitant to promote the Nerves Livebook route. It was convenient, but there's work for every key/value that you export. What I'd really like is a generic way to update the application environment. Perhaps a ConfigProvider that reads from Nerves.Runtime.KV so any application environment key can be overridden. I think there are edge cases that need to be thought through on this especially on how to recover from bad settings.
from nerves_examples.
Ah I see. Thanks for your explanation!
from nerves_examples.
Maybe we can just use this pattern for all the examples, until we have plans for the ConfigProvider thing? https://github.com/nerves-project/nerves_examples/blob/main/hello_phoenix/firmware/config/target.exs#L75-L88
And if it is OK to be the default, maybe we could let the hex nerves.new
generates that?
from nerves_examples.
Related Issues (20)
- Fix the `hello_network` docs about how to use WiFi HOT 3
- Phoenix Jason library configuration for Phoenix 1.4.3 with nerves HOT 5
- Unable to get "hello_wifi" working HOT 6
- Raspberry pi zero w hangs on boot for multiple projects HOT 3
- Update examples to match Nerves new project generator HOT 4
- Add OSD32MP1 to example targets
- Add local database creation and use to hello_phoenix HOT 2
- hello_phoenix does not compile the UI in host mode
- rpi3 firmware builds fail on x86_64 macOS HOT 2
- Add character LCD example. HOT 3
- Combine `hello_network` and `hello_wifi` and add distribution HOT 1
- Get IP from hello_phoenix HOT 7
- hello_phoenix compile fails HOT 8
- Rename repository nerves_examples HOT 2
- Update `vm.args` and `config.exs` to match the latest project templates HOT 2
- Move neopixel example out? HOT 3
- hello_network wireless issue
- Add Erlang example HOT 2
- hello_network fresh build console stuck on the error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerves_examples.