Closed
Conversation
this is the proper type to encapsulate a byte when data is available or -1 when there is no data.
The reference to the upper USBDevice class is passed on the EPHandler constructor.
Now the release() function only performs the action that is called for, i.e. release the endpoint and let it receive data. All the buffers handling has been inlined in the callers, this also slightly improves performance because it allows to remove some redundant checks.
It makes no sense to have ::recv calling repeatedly ::read in this case.
This change improves read performance when massive data is sent via USB by exploiting the hardware capability to handle multi-packet transfers autonomously.
This bypass the generic (but inefficient) implementation of Stream::readBytes and uses an optimized version of readBytes than can do efficient multi-byte reads.
Timeout is checked on the next send attempt. Initial timeout is set to 70ms, after a time out occurs and the previous transfer is still not complete a send will report as failed. If a send times out, a ZLP will be in the send queue to check for future timeouts.
It’s no longer needed with the timeout mechanism in USBCore.
Removed DUE and added MKR1000
This pachs allows C++ global constructors to run after hardware initialization. This helps some libraries that setups hardware in class constructor to work properly. See also #169
This commit enables PWM on pin 11 instead of pin A4 on MKR1000 improving UNO pinout compatibility
Add support to link the ARM math (provided by CMSIS tools)
Add I2S support
Speeds up booting when sketch erases application flash on 1200bps touch reset.
Fixes some compile errors and warnings
Use new CMSIS and CMSIS-Atmel packages
Member
|
(we did this in a separate branch) |
PaintYourDragon
pushed a commit
that referenced
this pull request
May 18, 2021
Configure CI workflow to compile AceTime library example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
changes
this adds the latest commits from arduino/ArduinoCore-samd
testing
currently untested. do not merge.