pico_p1/Cargo.toml

97 lines
2.5 KiB
TOML

[package]
name = "rp"
version = "0.1.0"
edition = "2021"
[workspace]
members = ["bootloader"]
[dependencies]
cortex-m = { version = "0.7", features = ["inline-asm"] }
cortex-m-rt = "0.7"
defmt = "0.3"
defmt-rtt = "0.4"
embassy-executor = { version = "0.3", features = [
"arch-cortex-m",
"executor-thread",
"executor-interrupt",
"defmt",
"nightly",
"integrated-timers",
] }
embassy-rp = { version = "0.1", features = [
"defmt",
"unstable-traits",
"nightly",
"unstable-pac",
"time-driver",
"critical-section-impl",
] }
embassy-time = { version = "0.1", features = [
"defmt",
"unstable-traits",
"defmt-timestamp-uptime",
"nightly",
] }
embassy-usb = { version = "0.1", features = ["defmt"] }
embassy-net = { version = "0.1", features = [
"tcp",
"dhcpv4",
"nightly",
"medium-ethernet",
"defmt",
] }
embassy-sync = { version = "0.2", features = ["defmt"] }
embassy-futures = { version = "0.1", features = ["defmt"] }
cyw43 = { git = "https://github.com/embassy-rs/embassy", features = [
"defmt",
"firmware-logs",
] }
cyw43-pio = { git = "https://github.com/embassy-rs/embassy", features = [
"defmt",
] }
panic-probe = { version = "0.3", features = ["print-defmt"] }
log = "0.4"
static_cell = { version = "1.1", features = ["nightly"] }
heapless = { version = "0.7.16", features = ["defmt"] }
embedded-io-async = { version = "0.5", features = ["defmt-03"] }
crc16 = "0.4"
dsmr5 = "0.3"
rust-mqtt = { version = "0.1.5", features = [
"defmt",
"no_std",
"tls",
], default-features = false }
rand = { version = "0.8.5", features = [
"nightly",
"small_rng",
"std_rng",
], default-features = false }
serde-json-core = "0.5.1"
cfg-if = "1.0.0"
[patch.crates-io]
embassy-executor = { git = "https://github.com/embassy-rs/embassy" }
embassy-rp = { git = "https://github.com/embassy-rs/embassy" }
embassy-time = { git = "https://github.com/embassy-rs/embassy" }
embassy-usb = { git = "https://github.com/embassy-rs/embassy" }
embassy-net = { git = "https://github.com/embassy-rs/embassy" }
embassy-sync = { git = "https://github.com/embassy-rs/embassy" }
embassy-futures = { git = "https://github.com/embassy-rs/embassy" }
embassy-boot-rp = { git = "https://github.com/embassy-rs/embassy" }
rust-mqtt = { path = "../rust-mqtt" }
[build-dependencies]
dotenvy = "0.15"
[features]
# With this feature enabled the cyw43 fiwmares are not included in the build and need to be manually flashed
# This helps speed up development
exclude_firmwares = []
[profile.release]
debug = true
opt-level = 's'