Added Serial4 (USART2) and updated compiler #133
Closed
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.
Dear arduino team,
I have been working with the Arduino Due for some research projects and due to the lack of a Serial4 support and the latest compiler (10.3-2021-10) I have modified the sdk. In addition I added a callback for the USART/UART RX irq since I required to process information in real-time.
I kindly ask you to review the changes to check what could be deemed acceptable to add and what not. I know that updating the compiler might break some projects or bring strange behaviors due to unknown compiler bugs from the older versions. This is a risk but I think that as Arduino is a prototyping environment it should use the latest tools.
Regards,
Victor