Pinout detects popular embedded devices and prints out pinout diagrams.
Add pinout
to your project's dependency list:
def deps do
[
{:pinout, "~> 0.1"}
]
end
Build and then run Pinout.print()
at the IEx prompt.
Nerves Livebook project allows you to try out the Nerves project on real hardware without needing to build a project from scratch.
Within minutes, you'll have a Raspberry Pi or Beaglebone running Nerves. You'll be able to run code in Livebook and work through Nerves tutorials from the comfort of your browser.
To add support for a new board, do the following:
- Copy
/sys/firmware/devicetree/base
directory off the new board and add it under thetest/fixture
directory like other boards. a. This can be accomplished with a command likescp -R nerves.local:/sys/firmware/devicetree/base .
- Find a board in
lib/pinout/db/boards.ex
that's similar to the new one and use it as a template for the new board. - If the new board has a new pinout, add the pinout information to
lib/pinout/db/connectors.ex
- Finally, if the board needs new artwork, add the new ASCII art to
lib/pinout/art.ex
- Send a PR! :)
Copyright (C) 2022 Alexa Hunleth
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at [http:https://www.apache.org/licenses/LICENSE-2.0](http:https://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.