diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-09-22 09:14:21 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-09-22 09:14:31 -0400 |
| commit | 945052f34bb1f01f0ba0cb861350a885d8d82f43 (patch) | |
| tree | 1d818cd9dd13875df4043a8270331364e71f32fb /Cargo.toml | |
| parent | ff3606c0d2d3f510ee6bca040e77de92ca5be529 (diff) | |
theoretically working firmware
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 49 |
1 files changed, 44 insertions, 5 deletions
@@ -11,21 +11,60 @@ homepage = "https://blog.npry.dev/resenv/ocularium" repository = "https://pub.npry.dev/ocularium" include = ["build.rs", "/src/", "Cargo.toml", "README.md", "LICENSE"] +[features] +disable_sd = [] + [dependencies] -molybdos = { git = "https://pub.npry.dev/molybdos", features = ["rp", "defmt", "rtt"] } veml7700_async = { git = "https://pub.npry.dev/veml7700_async" } drogue_bme680_async = { git = "https://pub.npry.dev/drogue_bme680_async" } lsm6dsm = { git = "https://pub.npry.dev/lsm6dsm" } -embedded_sdmmc_async = { git = "https://pub.npry.dev/embedded_sdmmc_async" } -embassy-executor.git = "https://github.com/embassy-rs/embassy" +embassy-executor = { git = "https://github.com/embassy-rs/embassy", features = ["executor-interrupt", "executor-thread", "arch-cortex-m", "nightly"] } +serde = { version = "1.0", default-features = false } +cortex-m-rt = { version = "0.7", default-features = false } + +[dependencies.molybdos] +git = "https://pub.npry.dev/molybdos" +features = [ + "rp", + "defmt", + "rtt", + "sd", + "runtime", + "postcard", + "serde", + "chrono", + "impl_alloc", +] [build-dependencies] -molybdos_build.git = "https://pub.npry.dev/molybdos" +molybdos_build = { git = "https://pub.npry.dev/molybdos" } [patch] "https://pub.npry.dev/molybdos".molybdos = { path = "../molybdos" } -"https://pub.npry.dev/molybdos".molybdos_build = { path = "../molybdos/molybdos_build" } "https://pub.npry.dev/veml7700_async".veml7700_async = { path = "../../fork/veml7700" } "https://pub.npry.dev/drogue_bme680_async".drogue_bme680_async = { path = "../../fork/drogue_bme680_async" } "https://pub.npry.dev/lsm6dsm".lsm6dsm = { path = "../lsm6dsm" } + +[patch."https://github.com/embassy-rs/embassy"] +embassy-sync = { git = "https://github.com/mammothbane/embassy" } +embassy-executor = { git = "https://github.com/mammothbane/embassy" } +embassy-time = { git = "https://github.com/mammothbane/embassy" } +embassy-time-driver = { git = "https://github.com/mammothbane/embassy" } +embassy-usb = { git = "https://github.com/mammothbane/embassy" } + +[profile.dev] +codegen-units = 1 +debug = true +debug-assertions = true +incremental = false +opt-level = 'z' +overflow-checks = true + +[profile.release] +codegen-units = 1 +debug = 2 +debug-assertions = false +lto = 'fat' +opt-level = 3 +overflow-checks = false |
