Skip to content

Commit

Permalink
Switch to STM32F103, dual FUSB302B hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckeogh committed May 4, 2024
1 parent ded8ddd commit 579019e
Show file tree
Hide file tree
Showing 14 changed files with 263 additions and 551 deletions.
8 changes: 4 additions & 4 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build]
target = "thumbv6m-none-eabi"
target = "thumbv7m-none-eabi"

[target.thumbv6m-none-eabi]
runner = "probe-rs run --chip STM32F030F4Px"
[target.thumbv7m-none-eabi]
runner = "probe-rs run --always-print-stacktrace --chip STM32F103C8"

[env]
DEFMT_LOG = "error"
DEFMT_LOG = "trace"
157 changes: 93 additions & 64 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["zy12pdn", "fusb302b", "usb-pd"]
members = ["pd-interceptor", "fusb302b", "usb-pd"]
resolver = "2"

[profile.release]
Expand Down
4 changes: 2 additions & 2 deletions fusb302b/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ keywords = ["nostd", "usb-pd", "driver", "embedded", "fusb302b"]
byteorder = { version = "1.5.0", default-features = false }
embedded-hal-async = "1.0.0"
heapless = { version = "0.8.0", features = ["defmt-03"] }
defmt = "0.3.5"
defmt = "0.3.6"
paste = "1.0.14"
proc-bitfield = "0.3.1"
proc-bitfield = "0.4.0"
embassy-time = "0.3.0"

usb-pd = { path = "../usb-pd" }
Loading

0 comments on commit 579019e

Please sign in to comment.