changed
CHANGELOG.md
|
@@ -1,5 +1,10 @@
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+ ## v0.1.3
|
4
|
+
|
5
|
+ * Updates
|
6
|
+ * Added Raspberry Pi 3B+ (Thanks @axelson)
|
7
|
+
|
3
8
|
## v0.1.2
|
4
9
|
|
5
10
|
* Updates
|
changed
README.md
|
@@ -23,8 +23,10 @@ Build and then run `Pinout.print()` at the IEx prompt.
|
23
23
|
|
24
24
|
To add support for a new board, do the following:
|
25
25
|
|
26
|
- 1. Copy `/sys/firmware/devicetree/model` off the new board and add it under the
|
27
|
- `test/fixtures` directory like other boards.
|
26
|
+ 1. Copy `/sys/firmware/devicetree/base` directory off the new board and add it
|
27
|
+ under the `test/fixture` directory like other boards.
|
28
|
+ a. This can be accomplished with a command like
|
29
|
+ `scp -R nerves.local:/sys/firmware/devicetree/base .`
|
28
30
|
2. Find a board in `lib/pinout/db/boards.ex` that's similar to the new one and
|
29
31
|
use it as a template for the new board.
|
30
32
|
3. If the new board has a new pinout, add the pinout information to
|
changed
hex_metadata.config
|
@@ -13,4 +13,4 @@
|
13
13
|
{<<"links">>,[{<<"GitHub">>,<<"https://github.com/cavocado/pinout">>}]}.
|
14
14
|
{<<"name">>,<<"pinout">>}.
|
15
15
|
{<<"requirements">>,[]}.
|
16
|
- {<<"version">>,<<"0.1.2">>}.
|
16
|
+ {<<"version">>,<<"0.1.3">>}.
|
changed
lib/pinout.ex
|
@@ -103,9 +103,9 @@ defmodule Pinout do
|
103
103
|
iex> Pinout.known_boards()
|
104
104
|
["BeagleBone Black", "BeagleBone Black Wireless", "BeagleBone Blue",
|
105
105
|
"BeagleBone Green Wireless", "GRiSP2", "MangoPi MQ-Pro", "NPi i.MX6 ULL",
|
106
|
- "PocketBeagle", "Raspberry Pi 2B", "Raspberry Pi 3B", "Raspberry Pi 400",
|
107
|
- "Raspberry Pi 4B", "Raspberry Pi T-Cobbler", "Raspberry Pi Zero 2 W",
|
108
|
- "Raspberry Pi Zero W"]
|
106
|
+ "PocketBeagle", "Raspberry Pi 2B", "Raspberry Pi 3B", "Raspberry Pi 3B+",
|
107
|
+ "Raspberry Pi 400", "Raspberry Pi 4B", "Raspberry Pi T-Cobbler",
|
108
|
+ "Raspberry Pi Zero 2 W", "Raspberry Pi Zero W"]
|
109
109
|
|
110
110
|
"""
|
111
111
|
@spec known_boards() :: [String.t()]
|
changed
lib/pinout/db/boards.ex
|
@@ -21,6 +21,12 @@ defmodule Pinout.DB.Boards do
|
21
21
|
connectors_key: :rpi,
|
22
22
|
board_name: "Raspberry Pi 3B"
|
23
23
|
},
|
24
|
+ %Pinout.Board{
|
25
|
+ model_name: "Raspberry Pi 3 Model B Plus Rev 1.3",
|
26
|
+ art_template: :large_rpi,
|
27
|
+ connectors_key: :rpi,
|
28
|
+ board_name: "Raspberry Pi 3B+"
|
29
|
+ },
|
24
30
|
%Pinout.Board{
|
25
31
|
model_name: "Raspberry Pi 4 Model B Rev 1.1",
|
26
32
|
art_template: :large_rpi,
|
changed
mix.exs
|
@@ -1,7 +1,7 @@
|
1
1
|
defmodule Pinout.MixProject do
|
2
2
|
use Mix.Project
|
3
3
|
|
4
|
- @version "0.1.2"
|
4
|
+ @version "0.1.3"
|
5
5
|
@source_url "https://github.com/cavocado/pinout"
|
6
6
|
|
7
7
|
def project do
|