-
Notifications
You must be signed in to change notification settings - Fork 3k
Relocate USB target specific code to root targets
directory
#11142
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
Relocate USB target specific code to root targets
directory
#11142
Conversation
@hugueskamba, thank you for your changes. |
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.
@maclobdell @ARMmbed/team-cypress please review the relocation of USB files for Cypress targets
@hugueskamba the Freescale and NXP files are definitely moved to a wrong place as there's no other files in this directory. @maclobdell @ARMmbed/team-nxp please advice what's the best home for these files
@linlingao can you have a look at the implementation for Nordic please
@toyowata @ARMmbed/team-renesas could you please review the Renesas files
@MarceloSalazar @ARMmbed/team-st-mcd please review the STM files
@hugueskamba the TARGET_Template is a template or example of how to implement the USB support, can we move it to mbed-os/hal/usb/
For Nordic, I would move the files to targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840 |
@AGlass0fMilk looks like you need to review. |
|
Please review to help us progress with this targets USB files. |
Nordic files are now moved to the more logical place. Thanks for the change. |
@AGlass0fMilk Last chance to review. |
If the build still works then it’s fine w/ me. Looks to be more logical (rather than having a |
b250717
to
ccb4d64
Compare
Force pushed (https://github.com/ARMmbed/mbed-os/compare/b250717ea2ad0942cd043d2c84a45ea8544ff6ce..ccb4d64d3783c7c646309096fe49f6e6a17e2a5e) to fix merge conflicts. |
This was not yet done as I can see in the files |
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.
Besides the template, the rest looks fine to me
Moving USB template files to |
Hi @fkjagodzinski, you might want to be aware of this change as well. The test files been moved already. |
The Cypress Targets has a consistent names for the driver files implementation, for instance cy_gpio_api.c. The proposal is to rename usb files as follow: cy_usb_phy_hw.h and cy_usb_phy.cpp. |
|
Cannot reproduce travis-ci/events failure with
@0xc0170 Do you have any suggestion? |
All target specific source and header files should be in the `targets` directory located at the root of the Mbed OS repository.
9dc1d24
to
3d6fb15
Compare
The force-push rebased from master to restart the CI as the cause of the failure is unknown. |
Ci started |
What about the |
Test run: FAILEDSummary: 5 of 11 test jobs failed Failed test jobs:
|
I'll restart Ci once approved after the latest change |
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
All target specific source and header files should be in the
targets
directory located at the root of the Mbed OS repository.
@bulislaw, please add the relevant partners as reviewers. Thank you
Pull request type
Reviewers
@evedon @bulislaw