-
Notifications
You must be signed in to change notification settings - Fork 3k
Reorganize vendor specific USB Device/Host code into targets folders #4277
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
Conversation
@screamerbg Please re-organize Nuvoton USB device/host files as below: |
Any update? |
@ccli8 The USB related files cannot reside under mbed-os/targets due to USB being unsupported feature in mbed OS. As I mentioned in a different thread, we are currently in a process of consolidating the differences of the USB Device on mbed.org and here in mbed-os on Github, after which we will start mirroring the mbed-os/unsupported/USBDevice to USBDevice on mbed.org and provide a way for regular updates of USBDevice. Currently if USBDevice files are in mbed-os/targets/, then they won't be backwards compatible with the USBDevice library on mbed.org as it exists today. E.g. All USBDevice support files live under mbed-os/features/unsupported/USBDevice, not under mbed-os/targets. Note that once USBDevice is officially introduced in mbed OS 5, then:
|
@screamerbg Thanks for comment. |
@ccli8 @cyliangtw @adustm @jeromecoutant @jessexm @jamike @TomoYamanaka @mmahadevan108 Could you please approve the pull request if you're happy with it? (you've been assigned as approver for this PR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@screamerbg
As you decide to move USB files to mbed-os/targets
, please note to move Nuvoton USB files to
mbed-os/targets/TARGET_NUVOTON/TARGET_NUC472
and mbed-os/targets/TARGET_NUVOTON/TARGET_M451
.
#4291 is fixing issue for USBHOST on target STM : This patch keeps the USBHALHost file for target STM still in the directory USBDevice , instead of beeing placed in USBHOST directory as done in #4291. |
@0xc0170 is that a "please rebase"? |
Yes @screamerbg Please rebase this PR so that we can re-run testing and merge it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for this late reply.
LGTM.
But, I have one question.
Can I think that the folder structures of USB Host and USB Device for mbed classic will not change?
@screamerbg LGTM |
@mmahadevan108 , can you please take a look at this : #4250 . Thanks! |
@screamerbg bump... |
@screamerbg bump |
@sg- Rebased |
@jeromecoutant @jessexm @mmahadevan108 @jamike Could you review? |
Hi |
What would be the reason? can we do it as 2 step process? First this one then the latter one |
OK, no problem |
@screamerbg Are you still waiting on some more reviews? |
@0xc0170 can you stop accepting PRs that create merge issues with this?? |
@screamerbg @0xc0170 I broke this one recently. I'm going to rebase it to remove the conflicts I introduced. |
Alrighty. Rebase done. I'm going to merge this when the three CI's return back success. |
…bed-os/targets/ design pattern
@screamerbg Travis passed! LGTM! |
@0xc0170 Care to merge? I'll merge it in a bit if you don't. |
@screamerbg It's in! |
But you have removed #4400.... :-( |
Description
Reorganize vendor specific USB Device and USB Host code into targets folders, following the mbed-os/targets/ design pattern.
Status
READY
Migrations
NO
Related PRs
A continuation of #4248
Todos
@ashok-rao Will test this PR against physical targets from each vendor.