Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Update docs and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mattludwigs committed May 1, 2021
1 parent b1a8fad commit 1495b0a
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 41 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

Character device GPIO library for Elixir.

WARNING: This is under active development and not all features or bugs are worked
out yet, if you want to use GPIOs in Elixir please see [circuits_gpio](https://github.com/elixir-circuits/circuits_gpio).

Since Linux 4.8 the `sysfs` interface is deprecated in preference of the
character device GPIO API.

Expand Down
7 changes: 0 additions & 7 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ config :example,

![Circuit Example rpi0](assets/cdev_example_rpi0.png)

## Notes

In the latest Nerves system the character device driver will not work, so this
example ensures that we use the `1.13` series systems to make sure the Linux
headers support the GPIO character driver. Once the Nerves systems update to a
capable Linux header version this project will be updated.

## Targets

Nerves applications produce images for hardware targets based on the
Expand Down
18 changes: 9 additions & 9 deletions example/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ defmodule Example.MixProject do
{:circuits_cdev, path: "../", targets: @all_targets},

# Dependencies for specific targets
{:nerves_system_rpi, "~> 1.13.0", runtime: false, targets: :rpi},
{:nerves_system_rpi0, "~> 1.13.0", runtime: false, targets: :rpi0},
{:nerves_system_rpi2, "~> 1.13.0", runtime: false, targets: :rpi2},
{:nerves_system_rpi3, "~> 1.13.0", runtime: false, targets: :rpi3},
{:nerves_system_rpi3a, "~> 1.13.0", runtime: false, targets: :rpi3a},
{:nerves_system_rpi4, "~> 1.13.0", runtime: false, targets: :rpi4},
{:nerves_system_bbb, "~> 2.8.3", runtime: false, targets: :bbb},
{:nerves_system_osd32mp1, "~> 0.4", runtime: false, targets: :osd32mp1},
{:nerves_system_x86_64, "~> 1.13.0", runtime: false, targets: :x86_64}
{:nerves_system_rpi, "~> 1.15", runtime: false, targets: :rpi},
{:nerves_system_rpi0, "~> 1.15", runtime: false, targets: :rpi0},
{:nerves_system_rpi2, "~> 1.15", runtime: false, targets: :rpi2},
{:nerves_system_rpi3, "~> 1.15", runtime: false, targets: :rpi3},
{:nerves_system_rpi3a, "~> 1.15", runtime: false, targets: :rpi3a},
{:nerves_system_rpi4, "~> 1.15", runtime: false, targets: :rpi4},
{:nerves_system_bbb, "~> 2.10", runtime: false, targets: :bbb},
{:nerves_system_osd32mp1, "~> 0.6", runtime: false, targets: :osd32mp1},
{:nerves_system_x86_64, "~> 1.15.0", runtime: false, targets: :x86_64}
]
end

Expand Down
Loading

0 comments on commit 1495b0a

Please # to comment.