Closed aseigo closed 1 year ago
Other potentially useful information: I'm using the 0.3.1 release from hex.pm and an on Linux.
Hi @aseigo,
Could you look at your project's mix.exs
and check that :mangopi_mq_pro
is listed in @all_target
? Like this: https://github.com/elixir-circuits/circuits_quickstart/blob/e76b5b69c7356d2003887e55e13cea9c74e658b4/mix.exs#L18
What I'm thinking is that the :nerves_runtime
dependency in your mix.exs
is only listed for @all_targets
, so it's not included. This is the default, so it would make sense.
One last thing, I'm assuming that you added :nerves_system_mangopi_mq_pro
to your deps like this: https://github.com/elixir-circuits/circuits_quickstart/blob/e76b5b69c7356d2003887e55e13cea9c74e658b4/mix.exs#L74.
If that doesn't work, could you take a quick skim of the circuits_quickstart mix.exs
and see if any other differences pop out when you compare it to your project's mix.exs
?
And yes, there's got to be a way to make that error message better. I'll think about that.
Could you look at your project's mix.exs and check that :mangopi_mq_pro is listed in @all_target
This was it! Thanks! I somehow missed that part in the README.md
, and as this is my first nerves project on hardware that isn't one of the "regular suspects" I hadn't touched that before. Thanks for the swift and accurate response! :)
Installed following the instructions in the README.md, and building a RPI image with
mix firmware
works, however if I try to build a mangopi pro image, this is the result:Erlang and Elixir versions:
Unfortunately, I don't know enough about the internals of Nerves to start debugging this. Any pointers, or requests for additional information, etc? Thanks!