added rp2040 stuff

This commit is contained in:
Jacob Weaver
2024-12-16 15:55:03 -06:00
parent 282531ee81
commit 70e6bae41a
8 changed files with 116 additions and 7 deletions
+4 -1
View File
@@ -7,9 +7,10 @@ edition = "2021"
path = "src/hs.rs"
[features]
default = []
default = ["rp2040"]
std = ["dep:sysinfo"]
nix = ["dep:watchdog-device"]
rp2040 = ["dep:rp2040-hal", "dep:rp2040-pac"]
[dependencies]
rfe = { path = "../../rfe" }
@@ -21,3 +22,5 @@ sysinfo = { version = "0.32.0", default-features = false, optional = true, featu
"disk",
"system",
] }
rp2040-hal = { workspace = true, optional = true }
rp2040-pac = { workspace = true, optional = true }