[package] name = "pico-enviro-sensor" description = "Firmware for RPi Pico 2 W-based environment sensor" authors = ["Adam Macdonald"] homepage = "https://github.com/twokilohertz/pico-enviro-sensor" license = "MIT" version = "0.1.0" edition = "2021" [dependencies] # Embassy embassy-rp = { version = "0.4.0", features = [ "rp235xa", "binary-info", "critical-section-impl", "time-driver", ] } embassy-executor = { version = "0.7.0", features = [ "arch-cortex-m", "executor-thread", "executor-interrupt", "task-arena-size-65536", ] } embassy-time = "0.4.0" embassy-embedded-hal = "0.3.0" embassy-futures = "0.1.1" embassy-sync = "0.6.2" # TODO: Update when embassy-embedded-hal on crates.io is tracking 0.7.0 trouble-host = { version = "0.1.0", default-features = false, features = [ "peripheral", "gatt", "derive", ] } # System cortex-m-rt = "0.7.5" cortex-m = "0.7.7" critical-section = "1.2.0" cyw43 = { version = "0.3.0", features = ["bluetooth"] } cyw43-pio = "0.4.0" rtt-target = "0.6.1" # embedded-graphics embedded-graphics = "0.8.1" embedded-graphics-framebuf = "0.5.0" # Peripherals scd4x = { version = "0.4.0", features = ["scd41"] } ssd1351 = "0.5.0" display-interface-spi = "0.5.0" # Extra static_cell = "2.1.0" heapless = "0.8.0" circular-buffer = { version = "1.1.0", default-features = false } fixed = "1.29.0" [build-dependencies] reqwest = { version = "0.12.20", features = ["blocking"] } [features] # Skips downloading the Wi-Fi & Bluetooth chipset firmware, assumes that it is in `./cyw43-firmware` skip-cyw43-firmware = [] [profile.dev] opt-level = "s" # Super-optimised release build, maximum performance, minimal debuggability # Build with cargo build --profile dist [profile.dist] inherits = "release" opt-level = 3 strip = "symbols" lto = "fat" overflow-checks = false codegen-units = 1