add crate for ultrascale+ drivers

This commit is contained in:
Brad Bondurant 2022-11-15 16:05:29 -05:00
parent 3a6517b8db
commit 508fac66e8
3 changed files with 45 additions and 0 deletions

16
Cargo.lock generated
View File

@ -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"

View File

@ -8,6 +8,7 @@ members = [
"libconfig",
"experiments",
"szl",
"libboard_zynq_us",
]
[profile.release]

View File

@ -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