Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh-10 rework pin controller #2

Merged
merged 6 commits into from
Jul 10, 2023
Merged

Gh-10 rework pin controller #2

merged 6 commits into from
Jul 10, 2023

Conversation

svenrademakers
Copy link
Collaborator

@svenrademakers svenrademakers commented Jul 4, 2023

Rework that was done during debugging of #49. Mainly moved around code + small changes.

  • Cut off power-related logic from pin_controller into a power_controller.
  • Did an attempt to clean up the USB-controlling interface. @ruslashev could you double check this? see bmc_application.rs:229

This commit cannot be used with the new Device tree of #49. My hypnosis is that there is an issue with the gpio aggregator, or buffered file writes, so for now i commit the user space changes that work on the current device tree.

@svenrademakers svenrademakers force-pushed the feature/gpio_updates branch 3 times, most recently from 928c214 to 993ae1f Compare July 7, 2023 11:48
@svenrademakers
Copy link
Collaborator Author

Fixed remaining issues with regard to the new DT. see turing-machines/BMC-Firmware#49
The code should now be compatible

src/middleware/pin_controller.rs Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
src/middleware/helpers.rs Outdated Show resolved Hide resolved
src/middleware/helpers.rs Show resolved Hide resolved
src/app/bmc_application.rs Show resolved Hide resolved
src/app/bmc_application.rs Show resolved Hide resolved
src/middleware/gpio_definitions.rs Show resolved Hide resolved
Rework to accomodate changes in the linux subsystem by #49.
Took the opportunity to go over the code once more and clean up the
public methods of pin_controller and bmc_application.
the branch contains breaking changes because the library expect a new
Linux device tree for the TP2. see #10 in BMC-Firmware repo
@svenrademakers svenrademakers merged commit b0357fe into master Jul 10, 2023
2 checks passed
@svenrademakers svenrademakers deleted the feature/gpio_updates branch July 10, 2023 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants