Skip to content

Conversation

@ikmdani
Copy link
Contributor

@ikmdani ikmdani commented Aug 10, 2021

This commit adds internal pullup on DP line for usb enumeration
in nucleo_l152re platform. This platform as such does not have
usb connector (device).

This has been tested with example in https://github.com/ARMmbed/
mbed-os/blob/master/drivers/usb/include/usb/USBMouse.h#L58-L76

and mbed_app.json file

"target_overrides": {
"*": {
"platform.stdio-baud-rate": 115200,
"platform.all-stats-enabled": true,
"mbed-trace.enable": "0"
},
"NUCLEO_L152RE": {
"target.device_has_add": ["USBDEVICE"]
}
}
}

Signed-off-by: Krishna Mohan Dani [email protected]

Summary of changes

Impact of changes

Migration actions required

Documentation


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers


This commit adds internal pullup on DP line for usb enumeration
in nucleo_l152re platform. This platform as such does not have
usb connector (device).

This has been tested with example in https://github.com/ARMmbed/
mbed-os/blob/master/drivers/usb/include/usb/USBMouse.h#L58-L76

and mbed_app.json file

"target_overrides": {
        "*": {
            "platform.stdio-baud-rate": 115200,
            "platform.all-stats-enabled": true,
            "mbed-trace.enable": "0"
        },
        "NUCLEO_L152RE": {
            "target.device_has_add": ["USBDEVICE"]
        }
    }
}

Signed-off-by: Krishna Mohan Dani <[email protected]>
@ciarmcom ciarmcom requested review from a team August 10, 2021 12:30
@ciarmcom
Copy link
Member

@ikmdani, thank you for your changes.
@ARMmbed/team-st-mcd @ARMmbed/mbed-os-maintainers please review.

@ikmdani
Copy link
Contributor Author

ikmdani commented Aug 10, 2021

@jeromecoutant @fpistm for your review.

@mergify mergify bot added needs: CI and removed needs: review labels Aug 11, 2021
@ciarmcom
Copy link
Member

This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-maintainers, please start CI to get the PR merged.

@ciarmcom ciarmcom added the stale Stale Pull Request label Aug 12, 2021
@0xc0170 0xc0170 removed the stale Stale Pull Request label Aug 12, 2021
@0xc0170
Copy link
Contributor

0xc0170 commented Aug 12, 2021

CI started

@ciarmcom ciarmcom added the stale Stale Pull Request label Aug 12, 2021
@mbed-ci
Copy link

mbed-ci commented Aug 12, 2021

Jenkins CI Test : ✔️ SUCCESS

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️

@0xc0170 0xc0170 added ready for merge and removed needs: CI stale Stale Pull Request labels Aug 12, 2021
@0xc0170 0xc0170 merged commit 4dd08c4 into ARMmbed:master Aug 12, 2021
@mergify mergify bot added release version missing When PR does not contain release version, bot should label it and we fix it afterwards and removed ready for merge labels Aug 12, 2021
@mergify
Copy link

mergify bot commented Aug 12, 2021

This PR does not contain release version label after merging.

@ikmdani ikmdani deleted the stm32l1_usb_enable_pullups branch August 13, 2021 07:23
@jeromecoutant
Copy link
Collaborator

@0xc0170 6.14.0 label is missing I think ?

@0xc0170 0xc0170 added release-type: patch Indentifies a PR as containing just a patch release-version: 6.14.0 and removed release version missing When PR does not contain release version, bot should label it and we fix it afterwards labels Aug 23, 2021
@mbedmain mbedmain removed the release-type: patch Indentifies a PR as containing just a patch label Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants