Skip to content

Commit e933515

Browse files
ConnorRigbyGregMefford
authored andcommitted
Update Custom System docs
The Elixir 1.8 docs were accidentally applied to the incorrect file in the docs.
1 parent cf4f983 commit e933515

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/Systems.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Make sure not to forget the `-b` flag. Cloning/Forking directly from master is n
258258
considered stable.
259259

260260
```bash
261-
git clone https://github.com/nerves-project/nerves_system_rpi3.git custom_rpi3 -b v1.2.1
261+
git clone https://github.com/nerves-project/nerves_system_rpi3.git custom_rpi3 -b v1.7.3
262262
```
263263

264264
The name of the system directory is up to you, but we will call it `custom_rpi3`
@@ -306,11 +306,6 @@ end
306306
defmodule CustomRpi3.MixProject do
307307
use Mix.Project
308308

309-
@all_targets [:rpi, :rpi0, :rpi2, :rpi3, :rpi3a, :bbb, :x86_64, :custom_rpi3]
310-
# =^^^^^^^^^^=
311-
312-
# ...
313-
314309
def project do
315310
[
316311
app: @app,
@@ -342,8 +337,13 @@ project directory, like so:
342337
└── your_project
343338
```
344339

340+
345341
```elixir
346-
# your_project/mix.exs
342+
#=vvv= Update your_project/mix.exs to accept your new :custom_rpi3 target
343+
344+
# ...
345+
@all_targets [:rpi, :rpi0, :rpi2, :rpi3, :rpi3a, :bbb, :x86_64, :custom_rpi3]
346+
# =^^^^^^^^^^=
347347

348348
defp deps do
349349
[

0 commit comments

Comments
 (0)