-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sam] Add SAMx7x U(S)ART support, fix data reception
SAMx7x devices feature both UART and USART peripherals with the same id. The driver will provide `:platform:uart:*` modules for UART instances and `:platform:usart:*` modules for USART instances. Fixes receiving data by enabling the RX interrupt. **WARNING**, this is a breaking change. For the sake of consistency, also SAMG devices, which have had a USART peripheral provided as `UartX` with module `:platform:uart:*`, will use the USART naming. Furthermore, the clock source has to be specified as `U(s)art*` in `SystemClock` to allow to configure it to sources different to `Mclk`.
- Loading branch information
1 parent
5c174b2
commit a5716d3
Showing
7 changed files
with
203 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.