Initial commit, logs all ADC when pinged by TCP

This commit is contained in:
JP Stringham
2026-02-04 09:22:40 -05:00
commit f9d62207b3
8 changed files with 2349 additions and 0 deletions

52
Cargo.toml Normal file
View File

@@ -0,0 +1,52 @@
[package]
name = "pico-w-remote-temp-logger"
version = "0.1.0"
edition = "2024"
[dependencies]
embassy-embedded-hal = { version = "0.5.0", path = "../embassy/embassy-embedded-hal", features = ["defmt"] }
embassy-sync = { version = "0.7.2", path = "../embassy/embassy-sync", features = ["defmt"] }
embassy-executor = { version = "0.9.0", path = "../embassy/embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] }
embassy-time = { version = "0.5.0", path = "../embassy/embassy-time", features = ["defmt", "defmt-timestamp-uptime"] }
embassy-rp = { version = "0.9.0", path = "../embassy/embassy-rp", features = ["defmt", "unstable-pac", "time-driver", "critical-section-impl", "rp2040"] }
embassy-usb = { version = "0.5.1", path = "../embassy/embassy-usb", features = ["defmt"] }
embassy-net = { version = "0.8.0", path = "../embassy/embassy-net", features = ["defmt", "icmp", "tcp", "udp", "raw", "dhcpv4", "medium-ethernet", "dns", "proto-ipv4", "proto-ipv6", "multicast"] }
embassy-net-wiznet = { version = "0.2.1", path = "../embassy/embassy-net-wiznet", features = ["defmt"] }
embassy-futures = { version = "0.1.2", path = "../embassy/embassy-futures" }
embassy-usb-logger = { version = "0.5.1", path = "../embassy/embassy-usb-logger" }
cyw43 = { version = "0.6.0", path = "../embassy/cyw43", features = ["defmt", "firmware-logs"] }
cyw43-pio = { version = "0.9.0", path = "../embassy/cyw43-pio", features = ["defmt"] }
defmt = "1.0"
defmt-rtt = "1.1"
fixed = "1.29.0"
fixed-macro = "1.2"
cortex-m = { version = "0.7.7", features = ["inline-asm"] }
cortex-m-rt = "0.7.5"
panic-probe = { version = "1.0", features = ["print-defmt"] }
futures = { version = "0.3.31", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] }
heapless = "0.9"
embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0" }
embedded-hal-async = "1.0.0"
embedded-hal-bus = { version = "0.3.0", features = ["async"] }
embedded-io-async = { version = "0.7.0", features = ["defmt"] }
#embedded-storage = { version = "0.3" }
static_cell = "2"
portable-atomic = { version = "1.13", features = ["critical-section"] }
log = "0.4"
pio-proc = "0.3"
pio = "0.3.0"
rand = { version = "0.9.2", default-features = false }
[profile.release]
debug = 2
# Below configs are here to mute the rust-analyzer error.
# "Can't find crate for 'test'" as this is a no_std project
[[bin]]
name = "pico-w-remote-temp-logger"
test = false
bench = false