nerves-project

Running mix deps.get throws :erlang.binary_to_atom argument error

狂风中的少年 提交于 2021-01-29 09:31:58
问题 I'm building a Nerves project and am attempting to verify my custom firmware will be built with the main Nerves application following the instructions here. I've set up a UI project with Phoenix and have the custom image in its own directory under a project directory. The main Nerves project is here and the custom firmware is here I've set my MIX_TARGET equal to the custom image name (rpi0_wiringPi) and when running: mix deps.get I get the error * (ArgumentError) argument error :erlang.binary

Nerves Project Circuits SPI Clock not initialised

我与影子孤独终老i 提交于 2021-01-05 07:23:07
问题 I cannot get the SPI to work. I am trying to interface an IC mcp2515. It is an SPI to CAN interface. I probed the CE pins (GPIO 8 and GPIO 7) and SCLK (GPIO 11) with the oscilloscope but got nothing. these are deps defp deps do [ {:nerves, "~> 1.6.3", runtime: false}, {:shoehorn, "~> 0.6.0"}, {:ring_logger, "~> 0.8.1"}, {:toolshed, "~> 0.2.13"}, {:vintage_net_wizard, "~> 0.4.0"}, {:circuits_uart, "~> 1.4"}, {:circuits_gpio, "~> 0.4.6"}, {:nerves_leds, "~> 0.8.1"}, {:circuits_spi, "~> 0.1.5"},

Nerves Project Circuits SPI Clock not initialised

笑着哭i 提交于 2021-01-05 07:23:04
问题 I cannot get the SPI to work. I am trying to interface an IC mcp2515. It is an SPI to CAN interface. I probed the CE pins (GPIO 8 and GPIO 7) and SCLK (GPIO 11) with the oscilloscope but got nothing. these are deps defp deps do [ {:nerves, "~> 1.6.3", runtime: false}, {:shoehorn, "~> 0.6.0"}, {:ring_logger, "~> 0.8.1"}, {:toolshed, "~> 0.2.13"}, {:vintage_net_wizard, "~> 0.4.0"}, {:circuits_uart, "~> 1.4"}, {:circuits_gpio, "~> 0.4.6"}, {:nerves_leds, "~> 0.8.1"}, {:circuits_spi, "~> 0.1.5"},