From a0498330ef7d035890ab1b3632d789ee3c9fccdf Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Sat, 5 Oct 2024 17:54:31 -0400 Subject: dummy fw bme bringup --- Cargo.toml | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 35a20f3..fd542ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,18 +1,17 @@ [package] name = "ocularium" -version = "0.1.0-alpha0" -edition = "2021" description = "firmware for tiny kite-borne sensor node" -authors = [ - "Nathan Perry " -] -license = "MIT" -homepage = "https://blog.npry.dev/resenv/ocularium" -repository = "https://pub.npry.dev/ocularium" include = ["build.rs", "/src/", "Cargo.toml", "README.md", "LICENSE"] +version.workspace = true +edition.workspace = true +authors.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true [workspace] members = [ + "common", "host" ] @@ -20,19 +19,35 @@ exclude = [ "pio_i2s" ] +[workspace.package] +version = "0.1.0-alpha0" +edition = "2021" +authors = [ + "Nathan Perry " +] +license = "MIT" +homepage = "https://blog.npry.dev/resenv/ocularium" +repository = "https://pub.npry.dev/ocularium" + +[workspace.dependencies] +serde = { version = "1.0", default-features = false } + [features] disable_sd = [] +disable_i2s = [] [dependencies] 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" } -serde = { version = "1.0", default-features = false } +serde = { workspace = true, default-features = false, features = ["derive", "alloc"] } embassy-executor = { git = "https://github.com/embassy-rs/embassy", features = ["executor-interrupt", "executor-thread", "arch-cortex-m", "nightly"] } cortex-m-rt = { version = "0.7", default-features = false } +ocularium_common = { path = "common" } + pio = "0.2" [dependencies.molybdos] @@ -46,6 +61,7 @@ features = [ "postcard", "serde", "chrono", + "alloc", "impl_alloc", ] -- cgit v1.3.1