Skip to content

Commit

Permalink
Merge pull request #813 from quartiq/feature/serial-settings-crate
Browse files Browse the repository at this point in the history
Moving serial settings to a separate crate
  • Loading branch information
jordens authored Nov 21, 2023
2 parents e7149cd + 3ab4fff commit 19c6fa6
Show file tree
Hide file tree
Showing 11 changed files with 734 additions and 390 deletions.
114 changes: 90 additions & 24 deletions Cargo.lock

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

15 changes: 10 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ features = []
default-target = "thumbv7em-none-eabihf"

[workspace]
members = ["ad9959"]
members = ["ad9959", "serial-settings"]

[dependencies]
embedded-io = "0.5"
embedded-storage = "0.3"
menu = "0.3"
cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
cortex-m-rt = { version = "0.7", features = ["device"] }
log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
Expand All @@ -49,6 +49,7 @@ num_enum = { version = "0.7.1", default-features = false }
paste = "1"
idsp = "0.13"
ad9959 = { path = "ad9959", version = "0.2.1" }
serial-settings = {path = "serial-settings"}
mcp230xx = "1.0"
mutex-trait = "0.2"
fugit = "0.3"
Expand All @@ -62,9 +63,8 @@ enum-iterator = "1.4.1"
rand_xorshift = "0.3.0"
rand_core = "0.6.4"
minimq = "0.8.0"
# patch with https://github.com/rust-embedded-community/usb-device/pull/129
usb-device = "0.2.9"
usbd-serial = "0.1.1"
usb-device = "0.3.0"
usbd-serial = "0.2"
# Keep this synced with the miniconf version in py/setup.py
miniconf = "0.9.0"
smoltcp-nal = { version = "0.4.1", features = ["shared-stack"]}
Expand All @@ -73,8 +73,13 @@ postcard = "1"

[dependencies.stm32h7xx-hal]
version = "0.15.1"
git = "https://github.com/quartiq/stm32h7xx-hal"
branch = "feature/usb-updates"
features = ["stm32h743v", "rt", "ethernet", "xspi", "usb_hs"]

[patch.crates-io.usbd-serial]
git = "https://github.com/rust-embedded-community/usbd-serial"

[features]
nightly = [ ]
pounder_v1_0 = [ ]
Expand Down
12 changes: 12 additions & 0 deletions serial-settings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "serial-settings"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
miniconf = "0.9"
menu = {version = "0.4", features = ["echo"]}
heapless = "0.8"
embedded-io = "0.6"
Loading

0 comments on commit 19c6fa6

Please sign in to comment.