Browse files

Working Nerves Message Board

  • Loading branch information...
Steven Fuchs
Steven Fuchs committed Jan 9, 2019
1 parent 24ccc64 commit 01b171fb8acd83601118711858635b87b186eddc
Showing with 553 additions and 7 deletions.
  1. +25 −5 fw/config/config.exs
  2. +95 −0 fw/config/config.txt
  3. +395 −0 fw/config/fwup.conf
  4. +2 −1 fw/mix.exs
  5. +32 −0 fw/rel/config.exs
  6. +3 −0 fw/rel/plugins/.gitignore
  7. +1 −1 fw/rel/vm.args
@@ -8,7 +8,9 @@ use Mix.Config
# Customize non-Elixir parts of the firmware. See
# for details.

config :nerves, :firmware, rootfs_overlay: "rootfs_overlay"
config :nerves, :firmware,
rootfs_overlay: "rootfs_overlay",
fwup_conf: "config/fwup.conf"

# Use shoehorn to start the main application. See the shoehorn
# docs for separating out critical OTP applications such as those
@@ -42,15 +44,33 @@ config :nerves_firmware_ssh,

# Setting the node_name will enable Erlang Distribution.
# Only enable this for prod if you understand the risks.
node_name = if Mix.env() != :prod, do: "fw"
# node_name = if Mix.env() != :prod, do: "fw"

node_name = "msgboard"
config :clixir, application: :msg_board

config :msg_board, :dimensions,
width: 800,
height: 480

config :nerves_init_gadget,
ifname: "usb0",
address_method: :dhcpd,
mdns_domain: "nerves.local",
ifname: "wlan0",
ipv4_address_method: :dhcp,
address_method: :dhcp,
mdns_domain: "msgboard.local",
node_name: node_name,
node_host: :mdns_domain

config :nerves_network, :default,
wlan0: [
ssid: System.get_env("NERVES_NETWORK_SSID"),
psk: System.get_env("NERVES_NETWORK_PSK"),
key_mgmt: :"WPA-PSK"
eth0: [
ipv4_address_method: :dhcp

# Import target specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
# Uncomment to use target specific configurations
@@ -0,0 +1,95 @@
# Default Nerves RPi0 config.txt
# It's possible to override this file by using a custom fwup.conf
# configuration to pull in a replacement.
# Useful links:


# Disable the boot rainbow

# This, along with the Raspberry Pi "x" firmware is needed for the camera
# to work. The Raspberry Pi "x" firmware is selected via the Buildroot
# configuration. See Target packages->Hardware handling->Firmware.

# Enable I2C, SPI, and audio

# Comment this in or modify to enable OneWire
# NOTE: check that the overlay that you specify is in the boot partition or
# this won't work.

# Enable the UART (/dev/ttyAMA0) on the RPi0.

# The active LED is active low instead of active high like other Raspberry Pis

# The default is to blink the LED on MicroSD card accesses, but this isn't
# that useful since Nerves has very few accesses. Switch it to a heartbeat
# so that it's easy to see if the processor hangs.

# To turn the LED completely off comment out the previous line and uncomment
# the next.

# uncomment if you get no picture on HDMI for a default "safe" mode

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border

# uncomment to force a console size. By default it will be display's size minus
# overscan.

# uncomment if hdmi display is not detected and composite is being output

# uncomment to force a specific HDMI mode (here we are forcing 800x480!)
hdmi_cvt=800 480 60 6 0 0 0


# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display

# uncomment for composite PAL

#uncomment to overclock the arm. 700 MHz is the default.

# for more options see
Oops, something went wrong.

0 comments on commit 01b171f

Please sign in to comment.