Skip to content
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

Allow USBDevice::connect() to be non-blocking #169

Merged

Conversation

oliviermartin
Copy link
Contributor

It is required if USB is not the primary use of the device (eg: use
of USB mass storage to transfer pictures from the camera (the
device) to the host once in a while).

It is required if USB is not the primary use of the device (eg: use
of USB mass storage to transfer pictures from the camera (the
device) to the host once in a while).
@mbednotifications
Copy link

One comment to this - we have hacked this to be the case in our project in
order to be able to run on battery connection for the KL25Z. However,
every time you then try to send something via USB Serial and there is no
cable connected - the system halts because of some code that may need
redesign in the sending of characters.

Did that get fixed btw? - then we need to do a new pull.

On Tue, Feb 18, 2014 at 1:05 AM, Olivier Martin notifications@git.luolix.topwrote:

It is required if USB is not the primary use of the device (eg: use
of USB mass storage to transfer pictures from the camera (the

device) to the host once in a while).

You can merge this Pull Request by running

git pull https://github.com/oliviermartin/mbed om/usb-device-connect-non-blocking

Or view, comment on, or merge it at:

#169
Commit Summary

  • Allow USBDevice::connect() to be non-blocking.

File Changes

Patch Links:

Reply to this email directly or view it on GitHubhttps://github.com//pull/169
.

You received this message because you are subscribed to the Google Groups
"mbed-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to mbed-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

@larsgk
Copy link

larsgk commented Feb 18, 2014

Please see my comments in #53

emilmont added a commit that referenced this pull request Feb 18, 2014
…blocking

Allow USBDevice::connect() to be non-blocking
@emilmont emilmont merged commit 3c8f1c0 into ARMmbed:master Feb 18, 2014
@omdathetkan
Copy link
Contributor

Great improvement!! This was bugging me for a while already...

bridadan pushed a commit that referenced this pull request Jun 21, 2016
Update mbed library to bring in fixes
ccli8 pushed a commit to ccli8/mbed-os that referenced this pull request Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants