Skip to content

Commit 003a4a1

Browse files
committed
Add RPi Zero 2W (64-bits) and RPi 5
1 parent adde175 commit 003a4a1

File tree

5 files changed

+61
-0
lines changed

5 files changed

+61
-0
lines changed

.circleci/config.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,20 @@ jobs:
148148
MIX_TARGET: osd32mp1
149149
<<: *build
150150

151+
build_rpi5:
152+
<<: *defaults
153+
environment:
154+
<<: *elixir_version
155+
MIX_TARGET: rpi5
156+
<<: *build
157+
158+
build_rpi0_2:
159+
<<: *defaults
160+
environment:
161+
<<: *elixir_version
162+
MIX_TARGET: rpi0_2
163+
<<: *build
164+
151165
build_rpi4:
152166
<<: *defaults
153167
environment:
@@ -238,6 +252,16 @@ jobs:
238252
command: echo "osd32mp1" > .target
239253
- restore_cache:
240254
key: nerves/deploy/{{ checksum ".target" }}-{{ .Revision }}-{{ .Environment.CIRCLE_TAG }}
255+
- run:
256+
name: rpi5
257+
command: echo "rpi5" > .target
258+
- restore_cache:
259+
key: nerves/deploy/{{ checksum ".target" }}-{{ .Revision }}-{{ .Environment.CIRCLE_TAG }}
260+
- run:
261+
name: rpi0_2
262+
command: echo "rpi0_2" > .target
263+
- restore_cache:
264+
key: nerves/deploy/{{ checksum ".target" }}-{{ .Revision }}-{{ .Environment.CIRCLE_TAG }}
241265
- run:
242266
name: rpi4
243267
command: echo "rpi4" > .target
@@ -313,6 +337,16 @@ workflows:
313337
filters:
314338
tags:
315339
only: /.*/
340+
- build_rpi0_2:
341+
context: org-global
342+
filters:
343+
tags:
344+
only: /.*/
345+
- build_rpi5:
346+
context: org-global
347+
filters:
348+
tags:
349+
only: /.*/
316350
- build_rpi4:
317351
context: org-global
318352
filters:
@@ -372,12 +406,14 @@ workflows:
372406
context: org-global
373407
requires:
374408
- build_osd32mp1
409+
- build_rpi5
375410
- build_rpi4
376411
- build_rpi3a
377412
- build_rpi3
378413
- build_rpi2
379414
- build_rpi
380415
- build_rpi0
416+
- build_rpi0_2
381417
- build_bbb
382418
- build_npi_imx6ull
383419
- build_grisp2

config/rpi0_2.exs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import Config
2+
3+
# Configure the network using vintage_net
4+
# See https://github.com/nerves-networking/vintage_net for more information
5+
config :vintage_net,
6+
config: [
7+
{"usb0", %{type: VintageNetDirect}},
8+
{"wlan0", %{type: VintageNetWiFi}}
9+
]

config/rpi5.exs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import Config
2+
3+
# Configure the network using vintage_net
4+
# See https://github.com/nerves-networking/vintage_net for more information
5+
config :vintage_net,
6+
config: [
7+
{"usb0", %{type: VintageNetDirect}},
8+
{"eth0", %{type: VintageNetEthernet, ipv4: %{method: :dhcp}}},
9+
{"wlan0", %{type: VintageNetWiFi}}
10+
]

mix.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ defmodule CircuitsQuickstart.MixProject do
66
@all_targets [
77
:rpi,
88
:rpi0,
9+
:rpi0_2,
910
:rpi2,
1011
:rpi3,
1112
:rpi3a,
1213
:rpi4,
14+
:rpi5,
1315
:bbb,
1416
:osd32mp1,
1517
:x86_64,
@@ -62,10 +64,12 @@ defmodule CircuitsQuickstart.MixProject do
6264
# Dependencies for specific targets
6365
{:nerves_system_rpi, "~> 1.24", runtime: false, targets: :rpi},
6466
{:nerves_system_rpi0, "~> 1.24", runtime: false, targets: :rpi0},
67+
{:nerves_system_rpi0_2, "~> 1.24", runtime: false, targets: :rpi0_2},
6568
{:nerves_system_rpi2, "~> 1.24", runtime: false, targets: :rpi2},
6669
{:nerves_system_rpi3, "~> 1.24", runtime: false, targets: :rpi3},
6770
{:nerves_system_rpi3a, "~> 1.24", runtime: false, targets: :rpi3a},
6871
{:nerves_system_rpi4, "~> 1.24", runtime: false, targets: :rpi4},
72+
{:nerves_system_rpi5, "~> 0.0.1", runtime: false, targets: :rpi5},
6973
{:nerves_system_bbb, "~> 2.18", runtime: false, targets: :bbb},
7074
{:nerves_system_osd32mp1, "~> 0.14", runtime: false, targets: :osd32mp1},
7175
{:nerves_system_x86_64, "~> 1.24", runtime: false, targets: :x86_64},

mix.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@
2525
"nerves_system_osd32mp1": {:hex, :nerves_system_osd32mp1, "0.16.0", "8c9e59d7e5cd5201d3334f022f01a238bdc6589b1c9fbf2feed5c5e7926035d9", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 13.2.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "56aaafb47c50bc2aa4e15bdf674e386f0dfbd8d5c56005d8569476a84b059e14"},
2626
"nerves_system_rpi": {:hex, :nerves_system_rpi, "1.25.0", "cc766ce9a09ff5cff5dfbab2a7531a899653d69a002f31679611545f0db6c10a", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv6_nerves_linux_gnueabihf, "~> 13.2.0", [hex: :nerves_toolchain_armv6_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "90ca84d05aab9195275890fd5e344a652df60b4254f2eed1c4117631fe2326ef"},
2727
"nerves_system_rpi0": {:hex, :nerves_system_rpi0, "1.25.0", "7ce790c62557954e996b0a8d9fd770b12d6bc8040597319f378f33dbc08f8e65", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv6_nerves_linux_gnueabihf, "~> 13.2.0", [hex: :nerves_toolchain_armv6_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "2a1d15a57fdf5ba6f55c3b9ad0d3c293d1a589d1cd452efc5c154d5abe720c68"},
28+
"nerves_system_rpi0_2": {:hex, :nerves_system_rpi0_2, "1.25.0", "882587c49d2ff9b8283687e9f4defe86496672ef74b2ac368b532e7d051b6bf1", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_aarch64_nerves_linux_gnu, "~> 13.2.0", [hex: :nerves_toolchain_aarch64_nerves_linux_gnu, repo: "hexpm", optional: false]}], "hexpm", "33477997ceb0ce558b8040a00847aad18bf1bfc1ebb82d2602a378258c56f641"},
2829
"nerves_system_rpi2": {:hex, :nerves_system_rpi2, "1.25.0", "9360f9d201f930c46139668e0af0cac167d09af7ce86b01ec35cb5792d0b7e13", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 13.2.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "01f843b05a5051d93225629cbab85e7b310769a8d3b5ee81fc720bed44cbb8a9"},
2930
"nerves_system_rpi3": {:hex, :nerves_system_rpi3, "1.25.0", "734c899b178cfe2abee751e273c2ef656146ae9038116758551a687e21e4a1ae", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 13.2.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "7c8dfdee27c639362e9069f4edf48dd8c671b811e865d566d6e8b44ebb1b6dbe"},
3031
"nerves_system_rpi3a": {:hex, :nerves_system_rpi3a, "1.25.0", "58e35d10a22927b68639c26b34fd8c1bc34d07039aaf6f5faf3674f4c5eecb36", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 13.2.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "6178b9e7466ea7574d003afc2750823aeff977488e1c64375c1f3a1c865093bd"},
3132
"nerves_system_rpi4": {:hex, :nerves_system_rpi4, "1.25.0", "7fabe79f1b2ce8dbf2ad9df6387e18f0cf89457b4aa30429fa7e90a3f634d83d", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_aarch64_nerves_linux_gnu, "~> 13.2.0", [hex: :nerves_toolchain_aarch64_nerves_linux_gnu, repo: "hexpm", optional: false]}], "hexpm", "d65aa73753cca2341c651d3b477240dec782006f65bdafe197b5f3dfd40ca4d7"},
33+
"nerves_system_rpi5": {:hex, :nerves_system_rpi5, "0.0.1", "32e90f8b62e75b64fafda4dc12a9993fc5ed0a80bf4f1a08b2e3a56f5ba5c6ec", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_aarch64_nerves_linux_gnu, "~> 13.2.0", [hex: :nerves_toolchain_aarch64_nerves_linux_gnu, repo: "hexpm", optional: false]}], "hexpm", "b7858638973485a6f4017c759bfa9b7b4b5948b6ba2ab032a9c94b29d33cfbee"},
3234
"nerves_system_x86_64": {:hex, :nerves_system_x86_64, "1.25.0", "447921bd85aff1d0f5be472f18513cfba9a70941f7366536aa059ffd9a42984e", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.25.2", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_x86_64_nerves_linux_musl, "~> 13.2.0", [hex: :nerves_toolchain_x86_64_nerves_linux_musl, repo: "hexpm", optional: false]}], "hexpm", "a11df6fede0db96f2877f9587e771346c0db7d0457c90c7633a804fc6a0032d1"},
3335
"nerves_time": {:hex, :nerves_time, "0.4.6", "f02e5e866149f3884a4b125104a5b677f7e61d271c1f7d87bc989197dc02dae5", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:muontrap, "~> 0.5 or ~> 1.0", [hex: :muontrap, repo: "hexpm", optional: false]}], "hexpm", "1fecb9e9dd098c0e93d35205a79e604831779f2d2313cfe7c31d181678e26ce6"},
3436
"nerves_toolchain_aarch64_nerves_linux_gnu": {:hex, :nerves_toolchain_aarch64_nerves_linux_gnu, "13.2.0", "68fcd2c21c86cceb9545948fae052d72f88b7c7c10205b252dac88559e2a3369", [:mix], [{:nerves, "~> 1.4", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_toolchain_ctng, "~> 1.10.0", [hex: :nerves_toolchain_ctng, repo: "hexpm", optional: false]}], "hexpm", "f92212606919a062f975e7bd82ed8a1b95bd4864abb3444cd0d5d0e610e94cc5"},

0 commit comments

Comments
 (0)