[package] name = "sachy-parasite" description = "Firmware for the b-parasite board, but in Rust!" authors = ["Sachy.dev "] repository = "https://tangled.org/sachy.dev/sachy-parasite" license = "MIT OR Apache-2.0" version = "0.1.0" edition = "2024" [[bin]] name = "sachy-parasite" test = false bench = false [profile.dev] debug = true lto = true opt-level = "z" incremental = true codegen-units = 1 [profile.release] debug = false lto = true opt-level = "z" codegen-units = 1 [features] defmt = ["dep:defmt"] defmt-rtt = ["dep:defmt-rtt"] panic-probe = ["dep:panic-probe"] default = ["debug"] debug = [ "defmt", "defmt-rtt", "panic-probe", "embassy-executor/defmt", "embassy-sync/defmt", "embassy-futures/defmt", "embassy-time/defmt", "embassy-time/defmt-timestamp-uptime", "embassy-nrf/defmt", "nrf-sdc/defmt", "nrf-mpsl/defmt", "sachy-shtc3/defmt", "sachy-bthome/defmt", "trouble-host/defmt", "bt-hci/defmt", "embedded-hal/defmt-03", "embedded-io/defmt-03", "sachy-fmt/defmt", ] [dependencies] cortex-m = { version = "0.7.7", features = ["inline-asm"] } cortex-m-rt = "0.7.5" defmt = { version = "1.0.1", optional = true } defmt-rtt = { version = "1.0.0", optional = true } panic-halt = "1.0.0" panic-probe = { version = "1.0.0", features = ["print-defmt"], optional = true } static_cell = "2.1.0" embassy-executor = { version = "0.9", features = [ "arch-cortex-m", "executor-thread", "executor-interrupt", "nightly", ] } embassy-futures = "0.1" embassy-nrf = { version = "0.8", features = [ "nrf52840", "gpiote", "time-driver-rtc1", ] } embassy-sync = "0.7" embassy-time = { version = "0.5" } embedded-hal = { version = "1.0.0" } embedded-hal-async = "1.0.0" embedded-io = "0.6" nrf-sdc = { git = "https://github.com/alexmoon/nrf-sdc", features = [ "peripheral", "nrf52840", ] } nrf-mpsl = { git = "https://github.com/alexmoon/nrf-sdc", features = [ "critical-section-impl", ] } bt-hci = "0.6" trouble-host = { version = "0.5", features = [ "derive", "scan", ] } sachy-fmt = { git = "https://tangled.org/sachy.dev/sachy-embed-core", package = "sachy-fmt" } sachy-battery = { git = "https://tangled.org/sachy.dev/sachy-embed-core", package = "sachy-battery" } sachy-bthome = { git = "https://tangled.org/sachy.dev/sachy-embed-core", package = "sachy-bthome" } sachy-shtc3 = { git = "https://tangled.org/sachy.dev/sachy-embed-core", package = "sachy-shtc3" }