Skip to content

Commit

Permalink
Migrate from RTIC to Embassy
Browse files Browse the repository at this point in the history
Unsuccessful due to compiled firmware exceeding the 16KB flash, attempted several optimizations without any luck.
  • Loading branch information
fmckeogh committed Jan 30, 2024
1 parent b977743 commit 7f69327
Show file tree
Hide file tree
Showing 16 changed files with 1,110 additions and 510 deletions.
560 changes: 390 additions & 170 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ members = ["zy12pdn", "fusb302b", "usb-pd"]
resolver = "2"

[profile.release]
opt-level = "z"
opt-level = "s"
lto = "fat"
codegen-units = 1
debug = 2
debug = true
incremental = false
panic = "abort"
8 changes: 4 additions & 4 deletions fusb302b/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ keywords = ["nostd", "usb-pd", "driver", "embedded", "fusb302b"]

[dependencies]
byteorder = { version = "1.5.0", default-features = false }
embedded-hal = "0.2.7"
heapless = { version = "0.7.16", features = ["defmt"] }
fugit = "0.3.7"
embedded-hal-async = "1.0.0"
heapless = { version = "0.8.0", features = ["defmt-03"] }
defmt = "0.3.5"
paste = "1.0.14"
proc-bitfield = "0.3.0"
proc-bitfield = "0.3.1"
embassy-time = "0.3.0"

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

0 comments on commit 7f69327

Please sign in to comment.