[package] name = "wiredsensor-fw" description = "RP2040 firmware for an RS485 temperature/humidity slave with an SHT31" version.workspace = true edition.workspace = true license.workspace = true [[bin]] name = "wiredsensor-fw" test = false bench = false [dependencies] wiredsensor-core = { workspace = true, features = ["defmt"] } # Concurrency framework. `thumbv6-backend` selects the Cortex-M0+ critical # section and priority implementation. rtic = { version = "2.3", features = ["thumbv6-backend"] } rtic-monotonics = { version = "2.2", features = ["rp2040"] } rp2040-hal = { version = "0.12", features = ["rt", "critical-section-impl"] } rp2040-boot2 = "0.3" cortex-m = "0.7" cortex-m-rt = "0.7" # Cortex-M0+ has no atomic compare-exchange instruction, so the polyfill has to # be told to emulate one with a critical section. RTIC's executor needs CAS, and # without this the build fails with a bare "requires atomic CAS" error. portable-atomic = { version = "1", features = ["critical-section"] } embedded-hal = "1.0" fugit = "0.3" defmt = { workspace = true } defmt-rtt = "1.0" panic-probe = { version = "1.0", features = ["print-defmt"] }