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

libraries/USBSerial: Allow the USB connection to be non-blocking #180

Merged
merged 1 commit into from
Feb 20, 2014

Conversation

oliviermartin
Copy link
Contributor

Prior to this change the connection was waiting for a USB cable to be plugged in.

Note: The default behaviour is still with the connection blocking.

…e being plugged in

Prior to this change the connection was waiting for a USB cable to be plugged in.
emilmont added a commit that referenced this pull request Feb 20, 2014
libraries/USBSerial: Allow the USB connection to be non-blocking
@emilmont emilmont merged commit 8719388 into ARMmbed:master Feb 20, 2014
ccli8 pushed a commit to ccli8/mbed-os that referenced this pull request Aug 13, 2024
* Make it so that SPI::select() works correctly with async stuff

* Add more overloads for SPI functions, make sure that SPI::abort_transfer() correctly toggles CS

* SPI: Implement reference counting so that DMA channels get freed properly

* Fix initialization of SPI peripheral structures

* Update docs a bit

* Use a mutex to protect SPI::_peripherals instead of a critical section, because spi_free() may not be ISR safe

* Style fixes
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.

2 participants