-
Notifications
You must be signed in to change notification settings - Fork 203
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
Combine samd11 and samd21 into common/thumbv6m using feature flags #424
Conversation
glaeqen
commented
Mar 29, 2021
•
edited
Loading
edited
- Remove reference to samd21 module from BSCs
- Combine samd11 and samd21 into common/thumbv6m using feature flags
This is also a breaking change to bsps as it shuffles around the exports and also as a result changes the documentation. If that is a change that is wanted, Im not sure why it would be included in this pr and not as its own separate change |
@jacobrosenthal I can put export shuffling in other PR if that's a problem. I decided not to because this PR will contain re-export changes either way but limited to removal of samxXX references. |
@jacobrosenthal I decreased the scope of this PR. |
To be clear I think what the public api looks like is a valuable conversation i just would expect some explanation what api is being refactored towards and why. I cant personally speak to what people want to collapse the features down to, others have been refactoring along these lines for a while now and I presume theyll weigh in |
I like these changes. I actually don't think it goes far enough. But I agree with @jacobrosenthal that I would like to see some conversation about the public API. Several changes have been moving in this general direction, but we haven't really decided on a vision for a refactored API. I would suggest getting rid of the I would also like to see a consistent naming scheme for By the way, thanks @vccggorski for getting rid of the last two chip specific directories. I did some similar refactoring a while back for the |
Note, @jacobrosenthal started some discussion on a similar topic in #357. |
I think that this comment of yours should definitely be a part of a thread #357. In my next PR (after getting that one merged in) I planned to change BSPs even further. At this point, the most reasonable option is to join my and @jacobrosenthal effort from December and continue the discussion there.
Also to @vcchtjader! :) He was doing the heavy lifting here
|
I would be fine with merging. The changes are technically breaking, but upgrading would be trivial. I think @jacobrosenthal might want to see a more complete vision for the end point though. I think I can summarize the proposed end point discussed so far as:
Am I missing anything? Is this a sufficiently detailed vision? If so, I say let's implement it. |
…tsamd-rs#424) * Combine samd11 and samd21 into common/thumbv6m using feature flags * Remove reference to samd21 module from BSCs Co-authored-by: Henrik Tjäder <[email protected]>