8000 components: fxo: update to new _static by bradjc · Pull Request #3237 · tock/tock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

components: fxo: update to new _static #3237

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

Merged
merged 1 commit into from
Oct 7, 2022
Merged

components: fxo: update to new _static #3237

merged 1 commit into from
Oct 7, 2022

Conversation

bradjc
Copy link
Contributor
@bradjc bradjc commented Sep 20, 2022

Pull Request Overview

This pull request updates the fxo accelerometer component to use new static format.

Also:

  • move buffer to component
  • remove imix component
  • update hail to use component

Testing Strategy

travis

TODO or Help Wanted

n/a

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

hudson-ayers
hudson-ayers previously approved these changes Sep 21, 2022
Copy link
Contributor
@hudson-ayers hudson-ayers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love getting rid of the remaining imix-specific components

@bradjc bradjc added the blocked Waiting on something, like a different PR or a dependency. label Sep 22, 2022
move buffer to component

remove imix component

update hail to use component
@bradjc bradjc removed the blocked Waiting on something, like a different PR or a dependency. label Sep 26, 2022
@github-actions github-actions bot removed the kernel label Sep 26, 2022
let fxo = kernel::static_buf!(capsules::fxos8700cq::Fxos8700cq<'static>);

(i2c_device, buffer, fxo)
};};
Copy link
Contributor
@twilfredo twilfredo Sep 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
};};
}};

Does this not generate a warning here? Similar to in #3245

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused what is causing the warning, or not causing the warning in the case of capsules. I've seen other PRs that add the semicolon to fix something, so I'm not really sure what the right thing to do is.

8000

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it might be for when the macro returns something, like in this case and in #3245 . But if there's no warnings I'm not sure either...🤔

@ppannuto ppannuto added the last-call Final review period for a pull request. label Oct 7, 2022
@ppannuto
Copy link
Member
ppannuto commented Oct 7, 2022

bors r+

@bors
Copy link
Contributor
bors bot commented Oct 7, 2022

@bors bors bot merged commit b90b65e into master Oct 7, 2022
@bors bors bot deleted the component-fxo branch October 7, 2022 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
last-call Final review period for a pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0