sparrell / BlinkyHaHa

Demo code for talk on IoT Safety. Blinky - the "Hello World" of IoT. HaHa - the "Hello World" of OpenC2
MIT License
1 stars 0 forks source link

warnings on compile #3

Open sparrell opened 4 years ago

sparrell commented 4 years ago

warnings when creating upddates

firmware $ mix firmware ["/Users/duncan/.ssh/n2_rsa.pub"]

Nerves environment MIX_TARGET: rpi0 MIX_ENV: dev

==> ui Compiling 2 files (.ex) warning: Firmware.Worker.purple/0 is undefined (module Firmware.Worker is not available or is yet to be defined) lib/ui_web/controllers/oc2_controller.ex:358: UiWeb.OC2Controller.set_matrix_purple/1

stellarviolin commented 4 years ago

Hi Duncan,

After reviewing the compiler warning, I have a suggestion based on the user manual for Nerves. Try re-compiling with the --verbose option to get additional information.

Here is a snippet from the user manual: mix firmware Build a firmware image for the selected target platform.

This task builds the project, combines the generated OTP release with a Nerves system image, and creates a .fw file that may be written to an SDCard or sent to a device.

Command line options --verbose - produce detailed output about release assembly

Enjoy your week, Bob