Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: allow bidirectional usb endpoint numbers#5014

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mikesmitty wants to merge1 commit intotinygo-org:dev
base:dev
Choose a base branch
Loading
frommikesmitty:ms/allow-endpoint-number-sharing

Conversation

@mikesmitty
Copy link
Contributor

@mikesmittymikesmitty commentedAug 25, 2025
edited
Loading

This one is still a bit fresh, will update once it's had a bit more time to cook

@mikesmittymikesmittyforce-pushed thems/allow-endpoint-number-sharing branch from3288f5e to0f3d0c3CompareAugust 27, 2025 00:40
@mikesmitty
Copy link
ContributorAuthor

Ok, all ready for review now. I don't have any atsamd21 boards, but I've tested USB CDC on an atsamd51, nrf52840, and a pico-w as well as USB mass storage on the pico-w and everything looks good to me

Copy link
Member

@aykevlaykevl left a comment

Choose a reason for hiding this comment

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

One suggestion, didn't review the code in depth but I see nothing weird at a quick glance.

@aykevl
Copy link
Member

Did a quick test on a Circuit Playground Express (atsamd21) and it seems to be working fine!

@deadprogramdeadprogram changed the base branch fromrelease todevSeptember 12, 2025 12:18
@deadprogram
Copy link
Member

@mikesmitty I just switched the branch for this todev. No merge conflicts. Do you want to squash any of these commits?

Anyone else have any comments on this PR?

@mikesmitty
Copy link
ContributorAuthor

Sure, I'll squash them all

deadprogram reacted with thumbs up emoji

@mikesmittymikesmittyforce-pushed thems/allow-endpoint-number-sharing branch fromba24793 to0066bb3CompareSeptember 12, 2025 13:44
@deadprogram
Copy link
Member

Before merge, just want to confirm with@sago35 that this does not affect any TinyGo Keeb code. ⌨️

@sago35
Copy link
Member

I’ll make sure to review it early next week.

mikesmitty reacted with thumbs up emoji

Copy link
Member

@sago35sago35 left a comment

Choose a reason for hiding this comment

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

Some parts of my TinyGo Keeb code didn’t work, but that turned out to be an issue on my end.
So overall, everything looks really good.

There are just a few parts that may need slight changes, and a couple of things I'd like to understand the reasoning behind.

Comment on lines +206 to +210
var (
EndpointMIDIIN=&EndpointEP4IN
EndpointMIDIOUT=&EndpointEP3OUT
)

Copy link
Member

Choose a reason for hiding this comment

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

I think it would be better to move it tosrc/machine/usb/descriptor/endpoint.go.

Comment on lines +185 to +186
}
if (epFlags&sam.USB_DEVICE_EPINTFLAG_TRCPT1)>0 {
Copy link
Member

Choose a reason for hiding this comment

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

What effect does this change have?
Depending on the nature of the change, it might be better to split it into a separate PR.

Comment on lines +188 to +189
}
if (epFlags&sam.USB_DEVICE_ENDPOINT_EPINTFLAG_TRCPT1)>0 {
Copy link
Member

Choose a reason for hiding this comment

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

What effect does this change have?
Depending on the nature of the change, it might be better to split it into a separate PR.

Comment on lines +181 to +182
}
ifoutDataDone {
Copy link
Member

Choose a reason for hiding this comment

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

What effect does this change have?
Depending on the nature of the change, it might be better to split it into a separate PR.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@aykevlaykevlaykevl left review comments

@sago35sago35sago35 left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@mikesmitty@aykevl@deadprogram@sago35

[8]ページ先頭

©2009-2025 Movatter.jp