Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add rpi5 support to hello_snmp_agent #518

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hello_snmp_agent/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ config :nerves, source_date_epoch: "1634820789"
config :logger, backends: [RingLogger]

config :hello_snmp_agent, HelloSnmpAgent.Agent,
dir: './priv/',
dir: ~c"./priv/",
versions: [:v1, :v2, :v3],
port: "SNMP_PORT" |> System.get_env("161") |> String.to_integer(),
transports: ["127.0.0.1"],
Expand Down
2 changes: 1 addition & 1 deletion hello_snmp_agent/config/target.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Config

config :hello_snmp_agent, HelloSnmpAgent.Agent, dir: '/root/'
config :hello_snmp_agent, HelloSnmpAgent.Agent, dir: ~c"/root/"

# Use shoehorn to start the main application. See the shoehorn
# docs for separating out critical OTP applications such as those
Expand Down
2 changes: 2 additions & 0 deletions hello_snmp_agent/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ defmodule HelloSnmpAgent.MixProject do
:rpi3,
:rpi3a,
:rpi4,
:rpi5,
:bbb,
:osd32mp1,
:x86_64,
Expand Down Expand Up @@ -65,6 +66,7 @@ defmodule HelloSnmpAgent.MixProject do
{:nerves_system_rpi3, "~> 1.17", runtime: false, targets: :rpi3},
{:nerves_system_rpi3a, "~> 1.17", runtime: false, targets: :rpi3a},
{:nerves_system_rpi4, "~> 1.17", runtime: false, targets: :rpi4},
{:nerves_system_rpi5, "~> 0.3", runtime: false, targets: :rpi5},
{:nerves_system_bbb, "~> 2.12", runtime: false, targets: :bbb},
{:nerves_system_osd32mp1, "~> 0.8", runtime: false, targets: :osd32mp1},
{:nerves_system_x86_64, "~> 1.17", runtime: false, targets: :x86_64},
Expand Down
1 change: 1 addition & 0 deletions hello_snmp_agent/mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"nerves_system_rpi3": {:hex, :nerves_system_rpi3, "1.28.1", "59c61c34251a9c532d8e8f234c93806950583fb2327e01f47654241da645c16f", [:mix], [{:nerves, "~> 1.11", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.28.3", [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", "5768c89133de98f47ed3b46aaef2e904698b4c3f44d4f32a82ecf36e76566575"},
"nerves_system_rpi3a": {:hex, :nerves_system_rpi3a, "1.28.1", "68667699d28e66bd4bdbfec24892a2a073cde84db3806b099df27c6789255553", [:mix], [{:nerves, "~> 1.11", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.28.3", [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", "867bda012e93d01eb5e0e70d367df5597a69983a6b374d02807c0359f4b7dd06"},
"nerves_system_rpi4": {:hex, :nerves_system_rpi4, "1.28.1", "93bcd3171fe8889ecfe013931ad4df334f6ea191ccda40d25954d7724b6688ef", [:mix], [{:nerves, "~> 1.11", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.28.3", [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", "51de19e8e9692f7b6bd6d9b8758f7afe807531995cf4eaf8d55f35f4430a43b3"},
"nerves_system_rpi5": {:hex, :nerves_system_rpi5, "0.3.1", "be01aa70001fa85a8bc6ba1141679e9b38a365e6c671fd28067487b7726cd494", [:mix], [{:nerves, "~> 1.11", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.28.3", [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", "649abf1fa1229ff9a41aec7c94c1a15f2cbaf745d02ea828cbeb983574d9614f"},
"nerves_system_x86_64": {:hex, :nerves_system_x86_64, "1.28.1", "fdcc854dfde48d7e3a55f8988c58b62d116fde5575c39ffcc25d1dd300d9b937", [:mix], [{:nerves, "~> 1.11", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.28.3", [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", "c38b8a45cec6cf0bbfb9ca7b33717a0d1adaa435ad0ace435871e831ae38f67f"},
"nerves_time": {:hex, :nerves_time, "0.4.8", "50523376d487dfaea9bde973b9160a2ce811ade3ba2533776ef5c2ff4d80c277", [: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", "84479a25b725c24d1b758eaef3450043868591c8102c0ca1d7cc051a6402dd03"},
"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"},
Expand Down