chore: loosen circuits dependencies. #65

Merged
james merged 1 commit from chore/loosen-circuits-deps into main 2024-04-24 13:12:56 +12:00

View file

@ -55,13 +55,13 @@ defmodule Wafer.MixProject do
devtest = [only: ~w[dev test]a, runtime: false] devtest = [only: ~w[dev test]a, runtime: false]
[ [
{:circuits_gpio, "~> 2.0", optional: true}, {:circuits_gpio, "< 3.0.0", optional: true},
if System.get_env("CI_I2C_1_X") == "true" do if System.get_env("CI_I2C_1_X") == "true" do
{:circuits_i2c, "~> 2.0", optional: true} {:circuits_i2c, "~> 2.0", optional: true}
else else
{:circuits_i2c, "< 3.0.0", optional: true} {:circuits_i2c, "< 3.0.0", optional: true}
end, end,
{:circuits_spi, "~> 2.0 or ~> 1.3", optional: true}, {:circuits_spi, "< 3.0.0", optional: true},
{:elixir_ale, "~> 1.2", optional: true}, {:elixir_ale, "~> 1.2", optional: true},
# Dev/test # Dev/test