Implemented v2.5 changes
authorSven Rademakers <sven.rademakers@gmail.com>
Fri, 16 Feb 2024 11:34:14 +0000 (11:34 +0000)
committerSven Rademakers <sven.rademakers@gmail.com>
Fri, 16 Feb 2024 15:21:07 +0000 (15:21 +0000)
commitcf7cc76c33fd4e6e78bc0555c309e56140814e57
treee589eb2639aea2ff1fa22e9222ab9fc1c612badb
parent06d2f2a0095df26aa962d2e4b5882e471820d371
Implemented v2.5 changes

Changes to the `PinController` and `PowerController`.

* The `bmcd` remains fully compatible with v2.4 and v2.5 hardware.
* The additional Node1 USB source switching for v2.5 is
not yet implemented. The switches are currently configured so that: USB0 is routed to the
usb hub and usb2 is routed to the USB-A port.
* The actual location of gpio pins inside gpiod is still tentative at
  this point for TPv2.5.
src/api/legacy.rs
src/app/bmc_application.rs
src/hal.rs
src/hal/gpio_definitions.rs
src/hal/pin_controller.rs
src/hal/power_controller.rs