Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 33 additions & 53 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,61 +1,41 @@
[workspace]
resolver = "2"

members = ["boards/*", "common/*", "apps/sergw"]
members = ["apps/sergw", "boards/*", "common/*"]

# Specify which members to build by default. Some libraries, such as messages, contain dev-dependencies that will give
# compile errors if built directly.
default-members = ["boards/*"]

[workspace.dependencies.chrono]
git = "https://github.com/uorocketry/chrono"
default-features = false

[workspace.dependencies.cortex-m]
version = "0.7.6"
features = ["critical-section-single-core"]

[workspace.dependencies.prost]
version = "0.14.1"
features = ["derive"]
default-features = false

[workspace.dependencies.cortex-m-rt]
version = "0.7.1"

[workspace.dependencies.defmt]
version = "0.3.2"

[workspace.dependencies.defmt-rtt]
version = "0.4"

[workspace.dependencies.embedded-alloc]
version = "0.6.0"

[workspace.dependencies.enum_dispatch]
version = "0.3.11"

[workspace.dependencies.heapless]
version = "0.9.1"

[workspace.dependencies.messages]
path = "./common/messages"

[workspace.dependencies.nb]
version = "1.1.0"

[workspace.dependencies.panic-probe]
version = "0.3"
features = ["print-defmt"]

[workspace.dependencies.serde]
version = "1.0.150"
default-features = false
features = ["derive"]

[workspace.dependencies.serde-csv-core]
version = "0.3.2"
features = ["defmt"]

[workspace.dependencies.smlang]
version = "0.8.0"
# Here we put together any dependencies that are used basically everywhere, and allow for more consistency between packages, and a smoother dependency upgrade experience
# Only minimal feature flags are enabled here, due to the additive nature of inheriting workspace dependencies (can only add feature flags when inheriting, not remove any)
# NOTE: defmt compatibility feature flags are enabled when available here, unsure how desirable this is
[workspace.dependencies]
chrono = { git = "https://github.com/uorocketry/chrono", default-features = false }
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7.1"
critical-section = "1.1"
csv = { path = './common/csv' }
Copy link

Copilot AI Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent quote style: the path for csv uses single quotes ('./common/csv') while the path for messages on line 35 uses double quotes ("./common/messages"). For consistency within the workspace dependencies, both should use the same quote style. Recommend using double quotes for both.

Suggested change
csv = { path = './common/csv' }
csv = { path = "./common/csv" }

Copilot uses AI. Check for mistakes.
defmt = "0.3.2"
defmt-rtt = "0.4"
embassy-embedded-hal = { version = "0.3.0", features = ["defmt"] }
embassy-executor = { version = "0.7.0", features = ["defmt"] }
embassy-futures = { version = "0.1.0", features = ["defmt"] }
embassy-net = { version = "0.7.0", features = ["defmt"] }
embassy-stm32 = { version = "0.2.0", features = ["defmt"] }
embassy-sync = { version = "0.6.2", features = ["defmt"] }
embassy-time = { version = "0.4.0", features = [
"defmt",
"defmt-timestamp-uptime",
] }
embassy-usb = { version = "0.4.0", features = ["defmt"] }
embedded-alloc = "0.6.0"
enum_dispatch = "0.3.11"
heapless = "0.9.1"
messages = { path = "./common/messages" }
nb = "1.1.0"
panic-probe = { version = "0.3", features = ["print-defmt"] }
prost = { version = "0.14.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.150", features = ["derive"], default-features = false }
serde-csv-core = { version = "0.3.2", features = ["defmt"] }
smlang = "0.8.0"
2 changes: 1 addition & 1 deletion apps/sergw/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ edition = "2021"

[dependencies]
clap = { version = "4.5.16", features = ["derive"] }
ctrlc = "3.4"
serialport = "4"
ctrlc = "3.4"
27 changes: 10 additions & 17 deletions boards/argus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,47 +16,40 @@ calibration = []
chrono = { workspace = true }
cortex-m = { workspace = true }
cortex-m-rt = { workspace = true }
critical-section = "1.1"
csv = { path = "../../common/csv" }
critical-section = { workspace = true }
csv = { workspace = true }
defmt = { workspace = true }
defmt-rtt = { workspace = true }
derive_more = { version = "2.0.1", default-features = false, features = [
"full",
] }
embassy-embedded-hal = { version = "0.3.0" }
embassy-executor = { version = "0.7.0", features = [
embassy-embedded-hal = { workspace = true }
embassy-executor = { workspace = true, features = [
"nightly",
"task-arena-size-10240",
"arch-cortex-m",
"executor-thread",
"executor-interrupt",
"defmt",
] }
embassy-futures = { version = "0.1.0" }
embassy-net = { version = "0.7.0", features = [
"defmt",
embassy-futures = { workspace = true }
embassy-net = { workspace = true, features = [
"tcp",
"dhcpv4",
"medium-ethernet",
"proto-ipv6",
"dns",
] }
embassy-stm32 = { version = "0.2.0", features = [
"defmt",
embassy-stm32 = { workspace = true, features = [
"stm32h733vg",
"time-driver-tim2",
"exti",
"memory-x",
"unstable-pac",
"chrono",
] }
embassy-sync = { version = "0.6.2", features = ["defmt"] }
embassy-time = { version = "0.4.0", features = [
"defmt",
"defmt-timestamp-uptime",
"tick-hz-32_768",
] }
embassy-usb = { version = "0.4.0", features = ["defmt"] }
embassy-sync = { workspace = true }
embassy-time = { workspace = true, features = ["tick-hz-32_768"] }
embassy-usb = { workspace = true }
embedded-alloc = { workspace = true }
embedded-hal = { version = "1.0.0", features = ["defmt-03"] }
embedded-hal-async = { version = "1.0" }
Expand Down
Loading