Firmware for the b-parasite board, but in Rust.
at main 2.5 kB view raw
1[package] 2name = "sachy-parasite" 3description = "Firmware for the b-parasite board, but in Rust!" 4authors = ["Sachy.dev <sachymetsu@tutamail.com>"] 5repository = "https://tangled.org/sachy.dev/sachy-parasite" 6license = "MIT OR Apache-2.0" 7version = "0.1.0" 8edition = "2024" 9 10[[bin]] 11name = "sachy-parasite" 12test = false 13bench = false 14 15[profile.dev] 16debug = true 17lto = true 18opt-level = "z" 19incremental = true 20codegen-units = 1 21 22[profile.release] 23debug = false 24lto = true 25opt-level = "z" 26codegen-units = 1 27 28[features] 29defmt = ["dep:defmt"] 30defmt-rtt = ["dep:defmt-rtt"] 31panic-probe = ["dep:panic-probe"] 32default = ["debug"] 33debug = [ 34 "defmt", 35 "defmt-rtt", 36 "panic-probe", 37 "embassy-executor/defmt", 38 "embassy-sync/defmt", 39 "embassy-futures/defmt", 40 "embassy-time/defmt", 41 "embassy-time/defmt-timestamp-uptime", 42 "embassy-nrf/defmt", 43 "nrf-sdc/defmt", 44 "nrf-mpsl/defmt", 45 "sachy-shtc3/defmt", 46 "sachy-bthome/defmt", 47 "trouble-host/defmt", 48 "bt-hci/defmt", 49 "embedded-hal/defmt-03", 50 "embedded-io/defmt-03", 51 "sachy-fmt/defmt", 52] 53 54[dependencies] 55cortex-m = { version = "0.7.7", features = ["inline-asm"] } 56cortex-m-rt = "0.7.5" 57defmt = { version = "1.0.1", optional = true } 58defmt-rtt = { version = "1.0.0", optional = true } 59panic-halt = "1.0.0" 60panic-probe = { version = "1.0.0", features = ["print-defmt"], optional = true } 61static_cell = "2.1.0" 62 63embassy-executor = { version = "0.9", features = [ 64 "arch-cortex-m", 65 "executor-thread", 66 "executor-interrupt", 67 "nightly", 68] } 69embassy-futures = "0.1" 70embassy-nrf = { version = "0.8", features = [ 71 "nrf52840", 72 "gpiote", 73 "time-driver-rtc1", 74] } 75embassy-sync = "0.7" 76embassy-time = { version = "0.5" } 77embedded-hal = { version = "1.0.0" } 78embedded-hal-async = "1.0.0" 79embedded-io = "0.6" 80 81nrf-sdc = { git = "https://github.com/alexmoon/nrf-sdc", features = [ 82 "peripheral", 83 "nrf52840", 84] } 85nrf-mpsl = { git = "https://github.com/alexmoon/nrf-sdc", features = [ 86 "critical-section-impl", 87] } 88bt-hci = "0.6" 89trouble-host = { version = "0.5", features = [ 90 "derive", 91 "scan", 92] } 93 94sachy-fmt = { git = "https://tangled.org/sachy.dev/sachy-embed-core", package = "sachy-fmt" } 95sachy-battery = { git = "https://tangled.org/sachy.dev/sachy-embed-core", package = "sachy-battery" } 96sachy-bthome = { git = "https://tangled.org/sachy.dev/sachy-embed-core", package = "sachy-bthome" } 97sachy-shtc3 = { git = "https://tangled.org/sachy.dev/sachy-embed-core", package = "sachy-shtc3" }