mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 12:50:53 +00:00
Remove unused dependencies (#2306)
This commit is contained in:
parent
3a9abca148
commit
81f93698b0
@ -24,7 +24,6 @@ portable-atomic = "1.9.0"
|
||||
static_cell = "2.1.0"
|
||||
|
||||
[build-dependencies]
|
||||
cfg-if = "1.0.0"
|
||||
esp-build = { version = "0.1.0", path = "../esp-build" }
|
||||
esp-metadata = { version = "0.3.0", path = "../esp-metadata" }
|
||||
|
||||
|
@ -23,7 +23,6 @@ esp-hal = { version = "0.20.0", path = "../esp-hal" }
|
||||
esp-wifi-sys = { version = "0.5.0", git = "https://github.com/esp-rs/esp-wifi-sys", rev = "30d43461335cf5f58317dfc78a5397f48dae2e27" }
|
||||
heapless = "0.8.0"
|
||||
ieee802154 = "0.6.1"
|
||||
vcell = "0.1.3"
|
||||
cfg-if = "1.0.0"
|
||||
|
||||
defmt = { version = "0.3.8", optional = true }
|
||||
|
@ -35,7 +35,6 @@ esp32c6-lp = { version = "0.3.0", features = ["critical-section"], option
|
||||
esp32s2-ulp = { version = "0.3.0", features = ["critical-section"], optional = true }
|
||||
esp32s3-ulp = { version = "0.3.0", features = ["critical-section"], optional = true }
|
||||
nb = { version = "1.1.0", optional = true }
|
||||
paste = { version = "1.0.15", optional = true }
|
||||
procmacros = { version = "0.13.0", package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
|
||||
riscv = { version = "0.11.1", features = ["critical-section-single-hart"] }
|
||||
|
||||
@ -57,7 +56,7 @@ debug = [
|
||||
|
||||
# Chip Support Feature Flags
|
||||
# Target the ESP32-C6.
|
||||
esp32c6 = ["dep:esp32c6-lp", "procmacros/is-lp-core", "dep:nb", "dep:paste"]
|
||||
esp32c6 = ["dep:esp32c6-lp", "procmacros/is-lp-core", "dep:nb"]
|
||||
# Target the ESP32-S2.
|
||||
esp32s2 = ["dep:esp32s2-ulp", "procmacros/is-ulp-core"]
|
||||
# Target the ESP32-S3.
|
||||
|
@ -18,7 +18,6 @@ log = { version = "0.4.22", optional = true }
|
||||
document-features = "0.2.10"
|
||||
esp-alloc = { version = "0.4.0", path = "../esp-alloc", optional = true }
|
||||
esp-hal = { version = "0.20.0", path = "../esp-hal", default-features = false }
|
||||
esp-hal-embassy = { version = "0.3.0", path = "../esp-hal-embassy", default-features = false, optional = true }
|
||||
smoltcp = { version = "0.11.0", default-features = false, features = [
|
||||
"medium-ethernet",
|
||||
"socket-raw",
|
||||
@ -36,20 +35,12 @@ num-traits = { version = "0.2.19", default-features = false }
|
||||
no-std-net = { version = "0.6.0", optional = true }
|
||||
esp-wifi-sys = { version = "0.5.0", git = "https://github.com/esp-rs/esp-wifi-sys", rev = "30d43461335cf5f58317dfc78a5397f48dae2e27" }
|
||||
embassy-sync = { version = "0.6.0", optional = true }
|
||||
embassy-futures = { version = "0.1.1", optional = true }
|
||||
embassy-net-driver = { version = "0.2.0", optional = true }
|
||||
toml-cfg = "0.2.0"
|
||||
libm = "0.2.8"
|
||||
cfg-if = "1.0.0"
|
||||
portable-atomic = { version = "1.9.0", default-features = false }
|
||||
portable_atomic_enum = { version = "0.3.1", features = ["portable-atomic"] }
|
||||
|
||||
futures-util = { version = "0.3.31", default-features = false, features = [
|
||||
"portable-atomic",
|
||||
] }
|
||||
atomic-waker = { version = "1.1.2", default-features = false, features = [
|
||||
"portable-atomic",
|
||||
] }
|
||||
bt-hci = { version = "0.1.1", optional = true }
|
||||
esp-config = { version = "0.1.0", path = "../esp-config" }
|
||||
|
||||
@ -71,52 +62,43 @@ esp-alloc = ["dep:esp-alloc"]
|
||||
# Target the ESP32-C2.
|
||||
esp32c2 = [
|
||||
"esp-hal/esp32c2",
|
||||
"esp-hal-embassy?/esp32c2",
|
||||
"esp-wifi-sys/esp32c2",
|
||||
]
|
||||
# Target the ESP32-C3.
|
||||
esp32c3 = [
|
||||
"esp-hal/esp32c3",
|
||||
"esp-hal-embassy?/esp32c3",
|
||||
"esp-wifi-sys/esp32c3",
|
||||
]
|
||||
# Target the ESP32-C6.
|
||||
esp32c6 = [
|
||||
"esp-hal/esp32c6",
|
||||
"esp-hal-embassy?/esp32c6",
|
||||
"esp-wifi-sys/esp32c6",
|
||||
]
|
||||
# Target the ESP32-H2.
|
||||
esp32h2 = [
|
||||
"esp-hal/esp32h2",
|
||||
"esp-hal-embassy?/esp32h2",
|
||||
"esp-wifi-sys/esp32h2",
|
||||
]
|
||||
# Target the ESP32.
|
||||
esp32 = [
|
||||
"esp-hal/esp32",
|
||||
"esp-hal-embassy?/esp32",
|
||||
"esp-wifi-sys/esp32",
|
||||
]
|
||||
# Target the ESP32-S2.
|
||||
esp32s2 = [
|
||||
"esp-hal/esp32s2",
|
||||
"esp-hal-embassy?/esp32s2",
|
||||
"esp-wifi-sys/esp32s2",
|
||||
]
|
||||
# Target the ESP32-S3.
|
||||
esp32s3 = [
|
||||
"esp-hal/esp32s3",
|
||||
"esp-hal-embassy?/esp32s3",
|
||||
"esp-wifi-sys/esp32s3",
|
||||
]
|
||||
|
||||
## Enable Async support
|
||||
async = [
|
||||
"dep:embassy-sync",
|
||||
"dep:embassy-futures",
|
||||
"dep:embedded-io-async",
|
||||
"dep:esp-hal-embassy",
|
||||
"dep:bt-hci",
|
||||
]
|
||||
|
||||
|
@ -6,27 +6,20 @@ license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
aes = "0.8.4"
|
||||
aligned = { version = "0.4.2", optional = true }
|
||||
bleps = { git = "https://github.com/bjoernQ/bleps", package = "bleps", rev = "a5148d8ae679e021b78f53fd33afb8bb35d0b62e", features = [ "macros", "async"] }
|
||||
bt-hci = "0.1.1"
|
||||
cfg-if = "1.0.0"
|
||||
critical-section = "1.1.3"
|
||||
crypto-bigint = { version = "0.5.5", default-features = false }
|
||||
elliptic-curve = { version = "0.13.8", default-features = false, features = ["sec1"] }
|
||||
embassy-executor = { version = "0.6.0", features = ["task-arena-size-12288"] }
|
||||
embassy-futures = "0.1.1"
|
||||
embassy-net = { version = "0.4.0", features = [ "tcp", "udp", "dhcpv4", "medium-ethernet"] }
|
||||
embassy-sync = "0.6.0"
|
||||
embassy-time = "0.3.2"
|
||||
embassy-time-driver = { version = "0.1.0", optional = true }
|
||||
embassy-usb = { version = "0.2.0", default-features = false }
|
||||
embedded-can = "0.4.1"
|
||||
embedded-graphics = "0.8.1"
|
||||
embedded-hal = "1.0.0"
|
||||
embedded-hal-02 = { version = "0.2.7", package = "embedded-hal", features = ["unproven"] }
|
||||
embedded-hal-async = "1.0.0"
|
||||
embedded-hal-bus = "0.2.0"
|
||||
embedded-io = { version = "0.6.1", default-features = false }
|
||||
embedded-io-async = "0.6.1"
|
||||
embedded-storage = "0.3.1"
|
||||
@ -40,18 +33,14 @@ esp-storage = { path = "../esp-storage", optional = true }
|
||||
esp-wifi = { path = "../esp-wifi", optional = true }
|
||||
fugit = "0.3.7"
|
||||
heapless = "0.8.0"
|
||||
hex-literal = "0.4.1"
|
||||
hmac = { version = "0.12.1", default-features = false }
|
||||
ieee80211 = { version = "0.4.0", default-features = false }
|
||||
ieee802154 = "0.6.1"
|
||||
lis3dh-async = "0.9.3"
|
||||
log = "0.4.22"
|
||||
nb = "1.1.0"
|
||||
p192 = { version = "0.13.0", default-features = false, features = ["arithmetic"] }
|
||||
p256 = { version = "0.13.2", default-features = false, features = ["arithmetic"] }
|
||||
portable-atomic = { version = "1.9.0", default-features = false }
|
||||
sha2 = { version = "0.10.8", default-features = false }
|
||||
smart-leds = "0.4.0"
|
||||
smoltcp = { version = "0.11.0", default-features = false, features = [ "medium-ethernet", "socket-raw"] }
|
||||
ssd1306 = "0.8.4"
|
||||
static_cell = { version = "2.1.0", features = ["nightly"] }
|
||||
|
Loading…
x
Reference in New Issue
Block a user