diff --git a/Cargo.lock b/Cargo.lock index f3e1e0d..f80d7d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -107,6 +107,22 @@ dependencies = [ "volatile-register", ] +[[package]] +name = "libboard_zynq_us" +version = "0.0.0" +dependencies = [ + "bit_field", + "embedded-hal", + "libasync", + "libboard_zynq", + "libregister", + "log", + "nb 0.1.3", + "smoltcp", + "void", + "volatile-register", +] + [[package]] name = "libconfig" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 8f18210..8f2f11b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ members = [ "libconfig", "experiments", "szl", + "libboard_zynq_us", ] [profile.release] diff --git a/libboard_zynq_us/Cargo.toml b/libboard_zynq_us/Cargo.toml new file mode 100644 index 0000000..44bec21 --- /dev/null +++ b/libboard_zynq_us/Cargo.toml @@ -0,0 +1,28 @@ +[package] +name = "libboard_zynq_us" +description = "Drivers for peripherals in the Zynq UltraScale+ PS" +version = "0.0.0" +authors = ["M-Labs"] +edition = "2018" + +[features] +target_zcu111 = [] +ipv6 = [ "smoltcp/proto-ipv6" ] +default = [ "target_zcu111" ] + +[dependencies] +volatile-register = "0.2" +bit_field = "0.10" +embedded-hal = "0.2" +nb = "0.1" +void = { version = "1", default-features = false } +log = "0.4" +libregister = { path = "../libregister" } +# libcortex_a9 = { path = "../libcortex_a9" } +libasync = { path = "../libasync" } +libboard_zynq = { path = "../libboard_zynq" } + +[dependencies.smoltcp] +version = "0.7" +features = ["ethernet", "proto-ipv4", "socket-tcp"] +default-features = false