Skip to content

Commit

Permalink
add support for PSU firmware update (#1934)
Browse files Browse the repository at this point in the history
This adds support for the PSC to perform automatic and autonomous
updates of the PSU firmware on the MWOCP68-3600 series via a new task,
psu_update.
  • Loading branch information
bcantrill authored Nov 25, 2024
1 parent 00ac97a commit 3319357
Show file tree
Hide file tree
Showing 10 changed files with 871 additions and 9 deletions.
27 changes: 24 additions & 3 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ path = "lib/counters"

[workspace.dependencies]
anyhow = { version = "1.0.31", default-features = false, features = ["std"] }
array-init = { version = "2.1.0" }
arrayvec = { version = "0.7.4", default-features = false }
atty = { version = "0.2", default-features = false }
bitfield = { version = "0.13", default-features = false }
Expand Down
9 changes: 8 additions & 1 deletion app/psc/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fwid = true

[kernel]
name = "psc"
requires = {flash = 32868, ram = 5216}
requires = {flash = 32868, ram = 6000}
features = ["dump"]

[caboose]
Expand Down Expand Up @@ -298,6 +298,13 @@ max-sizes = {flash = 16384, ram = 2048 }
start = true
task-slots = ["i2c_driver", "sensor"]

[tasks.psu_update]
name = "drv-psc-psu-update"
priority = 4
max-sizes = {flash = 65536, ram = 8192 }
start = true
task-slots = ["i2c_driver"]

[tasks.dump_agent]
name = "task-dump-agent"
priority = 5
Expand Down
Loading

0 comments on commit 3319357

Please sign in to comment.